[#12901] - Style.jrtx not found under jasper 6.13.0 if in the same folder as jrxmls

Category:
Bug report
Priority:
High
Status:
New
Project: Severity:
Major
Resolution:
Open
Component: Reproducibility:
N/A
Assigned to:
0

The style.jrxml (Template) cannot be found, if is placed in the same folder where *.jrxml files are in it. The report itself is satisfied with that, but running the book leads to:
net.sf.jasperreports.engine.JRException: net.sf.jasperreports.engine.JRException: Byte data not found at: styles.jrtx.

The same example works correctly under version 6.11

AttachmentSize
Package icon test.zip2.99 KB
v 6.13.0
iman.gharib's picture
Joined: Nov 18 2015 - 3:46am
Last seen: 3 weeks 14 hours ago

3 Comments:

#1

How are you running the report? Can you post some code to run the report and reproduce the problem?

#2

Just open the zip file and in jasper click on preview. Running it from java side leads to the same problem too.

#3

By "in jasper click on preview" I assume you mean Jaspersoft Studio. If you have the Java code to run the report directly please share it as it would be more relevant in the context of the JasperReports Library project.

Also, the text element in Blank_A4.jrxml has style="Style2", but there is no style named Style2 in styles.jrtx. How is it supposed to work?

Feedback