As of May 31, 2023, we have updated our Code of Conduct.

Questions tagged [jasper-reports]

JasperReports is an open source reporting tool that can be used in all Java applications from desktop to web applications. This tag should always be applied to all question related to this framework, if the question is also related to usage of a specific IDE (jaspersoft-studio or ireport) add the correct one. Only if your question contains back-end code in java/php etc you need to add those as additional tags.

Filter by
Sorted by
Tagged with
0 votes
0 answers
8 views

generate an excel file with xlsx entension from angular and spring boot project [duplicate]

I want to print excel and pdf report from angular / spring boot and I use jasper report 6.12.2. I have successfully done this task but I have a problem with excel file generated, I want to add a name ...
franco's user avatar
  • 1,807
-1 votes
0 answers
27 views

How to display the ArrayList in a PDF report. The report template was compiled at JasperStudio

Such a problem. Compiled a report template on JasperStudio. Everything is displayed well, except for the ArrayList - it is not displayed at all (blank). Help, can anyone come across such a situation. ...
Yevgeniy's user avatar
0 votes
0 answers
22 views

Weblogic 12c does not allow to use net.sf.jasperreports-jasperreports dependency greater than 6.18.1

I am using Weblogic 12c to deploy web application which is developed in Spring Boot 2.7.12 where to generate pdf I am trying to use latest (below) maven dependancy. <dependency> <groupId&...
Darshan Mandaliya's user avatar
-1 votes
0 answers
24 views

jasperReport subreport is not displayed

i am trying to print a subreport inside the main report. The main report is this one <?xml version="1.0" encoding="UTF-8"?> <!-- Created with Jaspersoft Studio version 6....
beris's user avatar
  • 19
0 votes
0 answers
40 views

Cannot load from short array because "sun.awt.FontConfiguration.head" is null thrown with Java 17 and Jasper 6.20.0

We upgrading the our application to Java 17 (from Java 8) and Jasper to 6.20.0 (from 6.0.3). During this upgrade Jasper reports getting failed with the two exceptions. The fonts is already exported ...
Madhawa's user avatar
-1 votes
0 answers
20 views

How to arrange a legend in 2 rows and 2 columns in Jasper studio

I have plotted a graph (HTML5 chart) between 4 measures. Sales A Profit A Sales B Profit B But when I plot the HTML5 chart in Jasper studio, the legend of the graph is being displayed as "Sales ...
Premvardhan Chanda's user avatar
1 vote
0 answers
17 views

DynamicReports - pageBreak

I am trying to use DynamicReport to make pdfs reports from database. But, I need help to make page breaks when size of columns over than pagesize. On this example, I get error "columnHeader ...
Marcio Jota Coelho's user avatar
-1 votes
0 answers
23 views

single jrxml file using two JSON Objects/ JSON File [duplicate]

I have two rest APIs, from which I am getting 2 JSON Objects(contains nested JSON Array) . I need to generate a jrxml file using these 2 JSON Objects and generate a pdf file. I am able to generate ...
user2531602's user avatar
-1 votes
0 answers
29 views

Blank space instead of empty table in Jasper Report

I have a trouble. Here is 6 tables in JasperSoft report, and if we have data only in 1 and 6 tables, there is a white gap or blank space between filled tables. The problem area: How can I solve this ...
Хэрриган's user avatar
-2 votes
0 answers
25 views

Jasper Reports UTF-8 not showing all letters [duplicate]

While printing the reports for the Serbian (Latin) language (5 additional letters -> "č", "ć", "š", "đ", "ž") 3 of them can't be printed ("č&...
Developer's user avatar
-1 votes
0 answers
21 views

Jasper reports formatting data in tabular format [duplicate]

I'm getting issues when trying with table format. without tables this prints fine. Here is the code for report jrxml file: <?xml version="1.0" encoding="UTF-8"?> <...
darthwader's user avatar
0 votes
0 answers
48 views

I am trying to add pdf font within jasper report in dynamic jasper but it is not recognised

I'm using dynamic jasper in a spring boot based project I want to add and use pdf font. resource/font/SomeFont/SomeFont.ttf Place the ttf file in the above path and add it to the resources/font/fonts....
PositiveM's user avatar
-1 votes
0 answers
19 views

How to change the path to multiple images in Jaspersoft Studio

I have to change the path of multiple images in different jasper reports, for example: Imagine I have 50 different jasper reports and 30 of them have an image element with the path "C:\path\to\...
ChandlerBing's user avatar
0 votes
1 answer
66 views

Error with Quarkus native and JasperReport

I'm trying to include JasperReports in a Quarkus native service (GraalVM 21.3). After discovering some classes in config files, I can compile and run the app in native mode. https://es.quarkus.io/...
Luisao's user avatar
  • 445
-1 votes
0 answers
20 views

Sort Fields and ORDER BY INET_ATON in Jaspersoft Studio

I have to sort a column (sequenceDisplay) containing multilevel listing, up to 4 decimal points such as sequenceDisplay 1 1.1 1.2 1.3 2 2.1 3 3.1.1 3.1.2.1 4 . . . 9.1 9.2 10 11 ...
pixiefairy's user avatar
-3 votes
0 answers
29 views

How to export a Jasper Report to CSV

The property net.sf.jasperreports.export.csv.focr.field.enclosure with value = true: <property name="net.sf.jasperreports.export.csv.focr.field.enclosure" value="true"/> ...
Francesco Scorza's user avatar
-1 votes
1 answer
25 views

JasperFillManager.fillReport - Table Component with JSON Data

I design the jasper (6.20.4) report (in studio IDE) using json data source and the report displays the data in a table.... However when i push the data to run inside the java application server, ...
Buddu Edgar's user avatar
0 votes
1 answer
56 views

Add image byte array in JRDesignImage

I have a byte array that represents an image. I need to use this byte array in reports generated through JasperReport API 6.20. Passing the image path is out of scope in this case. byte[] image = [0,0,...
João G. Hartmann's user avatar
0 votes
0 answers
30 views

How to print group header in every page even if no data in the details band?

I have a group header band, details band and group footer band. In the first page, the group header is printed and the first page is occupied with the data in the details band(the data in the details ...
orin's user avatar
  • 15
0 votes
0 answers
53 views

How to use a font from JasperSoft Studio when exporting to PDF enabling bold and italic styling?

In JasperReports, I design a report, fill it from fields using a custom data source and export to PDF. I would like to use a dynamic font given by a field from my custom data source. Referenced in the ...
Ardenian's user avatar
0 votes
0 answers
28 views

show/ hide detail on jasper report

i want to hide/show a table in a detail section depending on the length of the table, How can I do that ? how can i pass the length of the table to the global report parameter untill i can use it in a ...
Ghiboub Omar's user avatar
1 vote
1 answer
71 views

How to change the fontName of a text field in a report using a parameter or field without the help of conditional styles or markup?

I create a PDF report using JasperReports that contains multiple text fields. I receive a font name as a field from a custom data source. The text fields in my report should use this font. All my text ...
Ardenian's user avatar
0 votes
0 answers
31 views

XLS files not getting exported by using apache.poi and jaspereport showing java.lang.ClassNotFoundException: org.apache.poi.hssf.util.HSSFColor$WHITE [duplicate]

I’m using jasper report v. 6.17.0 to generate reports and apache poi - 4.1.2 , poi-ooxml- 4.1.2, ooxml-schemas- 1.4 and poi-ooxml-schemas- 4.1.2 In order to exports the generated reports in pdf, docs, ...
Ruch's user avatar
  • 91
0 votes
1 answer
62 views

Jasper Report Java : Avoid breaking words when wrapping

I have a Java project that compiles a Jasper XML on the fly and then exports to PDF. In one of the text field I need JasperReports not to cut the words, and rather to adapt the font size. The font ...
Vinz's user avatar
  • 199
0 votes
0 answers
66 views

.XLSX files which are generated using jasper report 6.17.0 are opening with error

I'm working on jasper reports and the .xlxs file that gets generated from the jasper gives this error We found a problem with some content in 'DetailedQuoteReport ISX003178-001.xlsx. Do you want us to ...
Ruch's user avatar
  • 91
3 votes
1 answer
952 views

JasperReports (6.20.1) dependency not satisfied in Java project : Failure to find com.github.librepdf:openpdf:jar:1.3.30.jaspersoft.1

When trying to import our Java Spring Maven project for generating Jasper reports in IntelliJ IDEA, we get the following error: Failure to find com.github.librepdf:openpdf:jar:1.3.30.jaspersoft.1 We'...
Flavian-Calinic Stuparu's user avatar
0 votes
0 answers
55 views

Jasper Reports - How to keep header and two consecutive detail bands on the same page?

How do I keep the the entire sub-report (see below) on a single page? The header consists of a single band and the detail section consists of two bands, the second of which contains a <...
mbmast's user avatar
  • 928
0 votes
0 answers
22 views

How to move field to the Left when other field at the left are blank [duplicate]

I have two frames in one frame and they are oriented horizontally(next to each other). I want to move the second field to the left, when the left field is empty or null. I have tried out using float ...
Paniz Gorji's user avatar
-2 votes
1 answer
79 views

Spring Boot Controller Jasper Report Blank PDF

@GetMapping(value = "/report/pdf/{id}", produces = MediaType.APPLICATION_PDF_VALUE) public ResponseEntity<byte[]> downloadInvoice(@PathVariable Long id,Model model) throws ...
Phortsophea MMO's user avatar
0 votes
0 answers
48 views

Rename excel sheets in Jasperstudio [duplicate]

I am using Jaspersoft Studio (community edition, version 6.20.0). I have a report book that contains multiple Jasper reports and I would like to rename the sheets when exporting them to excel, I have ...
Cheburashka's user avatar
0 votes
1 answer
180 views

How to make JasperReports work with Jakarta EE 9 or any workaround to make JasperReports (6.20.0 version) work with Jakarta EE 9?

I'm upgrading my maven application to use spring 6.x from 5.x. Spring 6.x is based on Jakarta EE so I've updated my dependencies accordingly. But with JasperReports I've defined a servlet in web.xml ...
A622's user avatar
  • 5
-1 votes
1 answer
57 views

How can I set column show once in detail band on jasper report?

I'm designing a jasper report. I tried to set the database data to the detail band but I want the left column just show once in the report, and merge vertical to one column. I want to design the ...
Austin7L's user avatar
0 votes
0 answers
38 views

unable to display both the data in the table and outside the table at the same time

i made a template in jasper studio that only has a tabe in the first place , i passed the data to this table with a java program using JrBeanCollectionDataSource ,everything worked fine ! but when i ...
Jihed Ben Zarb's user avatar
0 votes
0 answers
20 views

transform whole text to make a sum in JasperReport

In my report I try to count the number of dormant stops materializing in my database by the value yes/no. The trouble is I can’t in jasper tranform the text in integer. I tested in sum calculation ...
Yakapave's user avatar
0 votes
0 answers
92 views

Variable columns for days in month

I'm new in Jasper Reports and I need some help. To address my problem, I've created this example. Imagine I have a report that shows amount of sales for EACH DAY IN MONTH, GROUPED BY COUNTRY(it's ...
netslow's user avatar
0 votes
1 answer
53 views

Jaspertsoft List element repeats only the last element

I am using TIBCO Jaspersoft® Studio 6.19.0 - Visual Designer for JasperReports 6.19.0. I have a report with a list element and I am using JRBeanCollectionDataSource. I put the list in a detail band, ...
user1310305's user avatar
0 votes
0 answers
94 views

Why does Jasper set Helvetica font in exported PDF even though Arial font is set in Jasper report?

I use jasper reports 6.17.0. I have java application that uses jasper to export reports to PDF files. I set Arial font in my report but there is Helvetica font in exported PDF. I know how to fix it. ...
Mariusz's user avatar
  • 1,885
0 votes
0 answers
27 views

Write from right to left in JasperReport?

I am creating an A4 page with a "Text Field" block. How do I write text from right to left? Important: I use English text on one sheet, which should be written from left to right. And also ...
Blacit's user avatar
  • 203
0 votes
1 answer
88 views

Generating a text file with jasperReporting

this is my code java to generate a txt file with jasper : package sms; import module.User_Excel; import net.sf.jasperreports.engine.*; import net.sf.jasperreports.engine.data....
Salma Aboumzrag's user avatar
0 votes
1 answer
91 views

Jaspersoft jsonql iterate over list to get next element

I am using jaspersoft studio 6.6.0 for my report, and i have json as a datasource for my report, in my report there is a field to display next port name based on condition of current port, but i am ...
Meet Bhatt's user avatar
-2 votes
1 answer
55 views

How to set background color of a column in Jasper Report

<staticText> <reportElement x="100" y="0" width="100" height="25" backcolor="#A6A6A6" /> <box> ...
Salma Aboumzrag's user avatar
-1 votes
1 answer
38 views

Crystal reports uses PreviousValue What is the equivalent in Jasper reports?

Crystal reports uses PreviousValue (fld) What is the equivalent in Jasper reports? I have searched online for possible answers but as yet not found anything. Any help would be appreciated.
Perry's user avatar
  • 9
-1 votes
1 answer
43 views

How to change parameter value in query dialog Jaspersoft?

To run my report I need to set parameter $P{P_CLIENT_TYPE} to one of three strings: "Insured" , "Policy Holder" or "BOTH". I would like to use shorter versions: "INS&...
Trishka1111's user avatar
0 votes
1 answer
238 views

How to escape double quotes for jasper report?

I'm working on a piece of code, which prepares a CSV-String for jasper in java. Each time when csv-data contains double quotes i get error: net.sf.jasperreports.engine.JRException: Misplaced quote ...
Rafal Ziolkowski's user avatar
0 votes
1 answer
87 views

How to add non Latin letters in JasperReports?

I have a very basic Jasper Report as follows: <?xml version="1.0" encoding="UTF-8"?> <!-- Created with Jaspersoft Studio version 6.12.2.final using JasperReports ...
Thomas Carlton's user avatar
-1 votes
1 answer
165 views

Jasper Reports dynamic scheduled Date Time range parameters

We are encountering issues with Jasper Reports parameters - specifically, date & time where we have scheduled reports to query the data for some specific date range e.g. MONTH-3 until DAY-1. We ...
werd's user avatar
  • 648
-2 votes
1 answer
61 views

Support for RTL pdf reading on tables using JasperReports framework

I am tring to build an accessible for the hard of seeing pdf file using JasperReports java framework There is an option of adding accessable tags to tables, but it looks like the reading is done from ...
Yzs's user avatar
  • 9
0 votes
1 answer
87 views

Jasper produces report with only one page

I tried to fill a report with Java. My main report has some subreports with different levels. When I try to show my report, I see only the first page, I don't know where I'm wrong: Follow structure ...
Joe Taras's user avatar
  • 15.1k
0 votes
1 answer
227 views

Passing dataSet to SubReport in Jasper

I have a Student object contain a list of Courses and i need to display Student List with the list of courses of each student in a report. Student Class @Data @Builder @NoArgsConstructor @...
Pro Grammer's user avatar
0 votes
1 answer
53 views

Formatting numbers with NumberFormat and BigDecimal.movePointRight()

I have to format values from a database to display this values in a frontend. The database values looks like this: 0.0009 and the output have to look like this 0,09. ($F{Param1} == null) ? ""...
Alan_P's user avatar
  • 1

1
2 3 4 5
170