<?xml version="1.0" encoding="utf-8"?>
<rdf:RDF
					 xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
					 xmlns="http://purl.org/rss/1.0/"
					 xmlns:dc="http://purl.org/dc/elements/1.1/"
					>
<channel rdf:about="http://jasperforge.org/projects/JasperReports/tracker"><title><![CDATA[Latest issues]]></title>
<link>http://jasperforge.org/projects/JasperReports/tracker</link>
<description><![CDATA[Forge latest issues]]></description>
<items>
<rdf:Seq>
<rdf:li resource="http://jasperforge.org/plugins/mantis/view.php?id=5635"/>
<rdf:li resource="http://jasperforge.org/plugins/mantis/view.php?id=5628"/>
<rdf:li resource="http://jasperforge.org/plugins/mantis/view.php?id=5622"/>
<rdf:li resource="http://jasperforge.org/plugins/mantis/view.php?id=5620"/>
<rdf:li resource="http://jasperforge.org/plugins/mantis/view.php?id=5618"/>
<rdf:li resource="http://jasperforge.org/plugins/mantis/view.php?id=5616"/>
<rdf:li resource="http://jasperforge.org/plugins/mantis/view.php?id=5615"/>
<rdf:li resource="http://jasperforge.org/plugins/mantis/view.php?id=5611"/>
<rdf:li resource="http://jasperforge.org/plugins/mantis/view.php?id=5609"/>
<rdf:li resource="http://jasperforge.org/plugins/mantis/view.php?id=5604"/>
</rdf:Seq>
</items>
</channel>
<item rdf:about="http://jasperforge.org/plugins/mantis/view.php?id=5635">
<title><![CDATA[I need your help]]></title>
<link>http://jasperforge.org/plugins/mantis/view.php?id=5635</link>
<dc:date>2012-02-10</dc:date>
<description><![CDATA[hello,
I meet a problem when I use jasperreports-4.5.0.

When I use this software to print, the preview window can be opened and display very well. But when I click the button , there is no reaction. So, we cannot print. Jasperreports-3.7.4 has no this problem if we don’t upgrade JAVA. But when we upgrade JAVA to the latest version, the same problem happens again. How to solve it? I need your help. Thank you!

 

Run Environment of System:

Tomcat: 6.0

Jdk: jdk1.6.0_05

 

key code:

Jsp:

<OBJECT classid="clsid:8AD9C840-044E-11D1-B3E9-00805F499D93" WIDTH = "100%" HEIGHT = "100%"  codebase="http://java.sun.com/products/plugin/1.1.2/jinstall-112-win32.cab#Version=1,1,2,0">

    <PARAM NAME="CODE" VALUE = "com.print.PrinterApplet.class" >

    <PARAM NAME="CODEBASE" VALUE="../printapplet" >

    <PARAM NAME = ARCHIVE VALUE = "myprint-applet.jar,jasperreports-applet-4.5.0.jar,commons-logging-1.0.4.jar,commons-collections-2.1.1.jar" >

    <PARAM NAME="type" VALUE="application/x-java-applet;version=1.2.2"> 

    <PARAM NAME="scriptable" VALUE="false">

    <PARAM NAME="REPORT_URL" VALUE="../servlets/jasperprint?id=<%=id%>&no=<%=no%>">

</OBJECT>

 

Servlet:

JasperReport jasperReport = (JasperReport) JRLoader.loadObject(reportFile.getPath());

jasperPrint = JasperFillManager.fillReport(jasperReport, parameters, new MyJsperDataSource(rs));

response.setContentType("application/octet-stream");

ServletOutputStream ouputStream = response.getOutputStream();

ObjectOutputStream oos = new ObjectOutputStream(ouputStream);

oos.writeObject(jasperPrint);

 

MyJsperDataSource implements JRDataSource:

public Object getFieldValue(JRField arg0) throws JRException {

    try {

      if (this.rs == null) {

        return "";

      }

      return this.rs.getString(arg0.getName()); 

} catch (Exception e) {

    }

    throw new JRException("getFieldValue Error:" + e.getMessage());

}

 

 

com.print.PrinterApplet, and com.print.JRViewerPlus, and com.print.ViewerFrame, The code of them is the same with PrinterApplet, and JRViewerPlus, and ViewerFrame under jasperreports-4.5.0demosampleswebappapplets.

 

Sorry, I am not good at English. But I think you can understand me. Thank you again!

 
]]></description>
</item>
<item rdf:about="http://jasperforge.org/plugins/mantis/view.php?id=5628">
<title><![CDATA[Error message "Invalid text height" shows no context, making debugging report very time-consuming.]]></title>
<link>http://jasperforge.org/plugins/mantis/view.php?id=5628</link>
<dc:date>2012-02-07</dc:date>
<description><![CDATA[File:
net/sf/jasperreports/engine/export/JRRtfExporter.java

Around line 720, it says:

throw new JRException("Invalid text height")

For someone trying to resolve this exception, it takes a lot of time to trial-and-error until you have found the element that causes the problem.

Suggested change:

throw new JRException("Invalid text height of text '" + text.getOriginalText() + "' with height " + textHeight + " in element with height " + height)

When you google on "Invalid text height" with JasperReports, you will see more users having problems analyzing this problem. Such as:

http://stackoverflow.com/questions/2576061/rtf-formatting-in-jasper-reports]]></description>
</item>
<item rdf:about="http://jasperforge.org/plugins/mantis/view.php?id=5622">
<title><![CDATA[HTML component and PDF file size]]></title>
<link>http://jasperforge.org/plugins/mantis/view.php?id=5622</link>
<dc:date>2012-02-02</dc:date>
<description><![CDATA[When using HTML component in a PDF report, the result is a very large PDF file.
(about 70M when using the html-component  , 2M without the use of the HTML component and with the same amount of text generated using static-text-fields)

]]></description>
</item>
<item rdf:about="http://jasperforge.org/plugins/mantis/view.php?id=5620">
<title><![CDATA[text wrapping issue in pdf export]]></title>
<link>http://jasperforge.org/plugins/mantis/view.php?id=5620</link>
<dc:date>2012-02-02</dc:date>
<description><![CDATA[A text field that contains "Static Text"
is now split as "Static" / "Text"

The width is 425, but seams that this value is ignored after jasperprint generation. After that it seems that the field follows the width of the text of jasperPrint file, and not the width defined in jrxml file.]]></description>
</item>
<item rdf:about="http://jasperforge.org/plugins/mantis/view.php?id=5618">
<title><![CDATA[Diagonal lines with different directions are not rendered correctly]]></title>
<link>http://jasperforge.org/plugins/mantis/view.php?id=5618</link>
<dc:date>2012-01-31</dc:date>
<description><![CDATA[Diagonal lines in the same group are rendered with the direction of the first line in the group.

I've attached a small sample created in iReport illustrating this problem.]]></description>
</item>
<item rdf:about="http://jasperforge.org/plugins/mantis/view.php?id=5616">
<title><![CDATA[Validation fails on valid queries (org.owasp.esapi in jasperserver 4.5)]]></title>
<link>http://jasperforge.org/plugins/mantis/view.php?id=5616</link>
<dc:date>2012-01-30</dc:date>
<description><![CDATA[Any report with a stored procedure throws error since upgrading from 4.2.1 to 4.5.0. The UI says "An error has occurred. Please contact your system administrator. (6632)"

Stored procedures are valid and arguably more secure however they do not match ^s*((?i)select)s+[^;]+$

Users need to be able to disable or edit such security measures. Apologize if this is already possible but I haven't found it documented.
]]></description>
</item>
<item rdf:about="http://jasperforge.org/plugins/mantis/view.php?id=5615">
<title><![CDATA[jasperreports and jfreechart problem after update from 3.0.1 to 4.0.2]]></title>
<link>http://jasperforge.org/plugins/mantis/view.php?id=5615</link>
<dc:date>2012-01-30</dc:date>
<description><![CDATA[In my project i have updated jasperreports(and other dependent libs) from 3.0.1 to 4.0.2. And jfreechart bar draws incorrectly . It's draws only last value. I make JRDataSource manually and this was working in jasperreports 3.0.1.  As a can see while debugging method getFieldValue is executed and its return wright values . But in output report a can see only the last bar . For example if a have  pair values(x-y) - 1-10, 2-20, 3-30, 4-40, in report i will only see 4 as x, and 40 as y, only one bar . If its not enough,  I can show example code and jrxml file to reproduce bug.  ]]></description>
</item>
<item rdf:about="http://jasperforge.org/plugins/mantis/view.php?id=5611">
<title><![CDATA[ireport 4.5.0 blocks with report template created by ireport 4.1.2]]></title>
<link>http://jasperforge.org/plugins/mantis/view.php?id=5611</link>
<dc:date>2012-01-25</dc:date>
<description><![CDATA[If I open all my report templates (all of them created by ireport 4.1.2 or earlшук) in ireport 4.5.0 then ireport eats all RAM and work very-very slow]]></description>
</item>
<item rdf:about="http://jasperforge.org/plugins/mantis/view.php?id=5609">
<title><![CDATA[Conditional Styles are not evaluated correctly]]></title>
<link>http://jasperforge.org/plugins/mantis/view.php?id=5609</link>
<dc:date>2012-01-21</dc:date>
<description><![CDATA[I have a report that contains multiple subreports, the report runs fine with 4.0.1 lib jar but fails with a ClassCastException.

    [java] SEVERE: Fill 1: exception
     [java] java.lang.ClassCastException: java.lang.Double cannot be cast to java.lang.Boolean
     [java] 	at net.sf.jasperreports.engine.fill.JRFillElementContainer.buildConsolidatedStyle(JRFillElementContainer.java:773)
     [java] 	at net.sf.jasperreports.engine.fill.JRFillElementContainer.evaluateConditionalStyle(JRFillElementContainer.java:730)
     [java] 	at net.sf.jasperreports.engine.fill.JRFillElementContainer.evaluateConditionalStyles(JRFillElementContainer.java:718)
     [java] 	at net.sf.jasperreports.engine.fill.JRFillBand.evaluate(JRFillBand.java:472)
     [java] 	at net.sf.jasperreports.engine.fill.JRVerticalFiller.fillColumnBand(JRVerticalFiller.java:2021)
     [java] 	at net.sf.jasperreports.engine.fill.JRVerticalFiller.fillDetail(JRVerticalFiller.java:755)
     [java] 	at net.sf.jasperreports.engine.fill.JRVerticalFiller.fillReportStart(JRVerticalFiller.java:265)
     [java] 	at net.sf.jasperreports.engine.fill.JRVerticalFiller.fillReport(JRVerticalFiller.java:128)
     [java] 	at net.sf.jasperreports.engine.fill.JRBaseFiller.fill(JRBaseFiller.java:836)
     [java] 	at net.sf.jasperreports.engine.fill.JRBaseFiller.fill(JRBaseFiller.java:746)
     [java] 	at net.sf.jasperreports.engine.fill.JRFillSubreport.fillSubreport(JRFillSubreport.java:640)
     [java] 	at net.sf.jasperreports.engine.fill.JRSubreportRunnable.run(JRSubreportRunnable.java:59)
     [java] 	at net.sf.jasperreports.engine.fill.JRThreadSubreportRunner.run(JRThreadSubreportRunner.java:205)
     [java] 	at java.lang.Thread.run(Thread.java:679)
     [java] java.lang.Double cannot be cast to java.lang.Boolean
     [java] java.lang.ClassCastException: java.lang.Double cannot be cast to java.lang.Boolean
     [java] 	at net.sf.jasperreports.engine.fill.JRFillElementContainer.buildConsolidatedStyle(JRFillElementContainer.java:773)
     [java] 	at net.sf.jasperreports.engine.fill.JRFillElementContainer.evaluateConditionalStyle(JRFillElementContainer.java:730)
     [java] 	at net.sf.jasperreports.engine.fill.JRFillElementContainer.evaluateConditionalStyles(JRFillElementContainer.java:718)
     [java] 	at net.sf.jasperreports.engine.fill.JRFillBand.evaluate(JRFillBand.java:472)
     [java] 	at net.sf.jasperreports.engine.fill.JRVerticalFiller.fillColumnBand(JRVerticalFiller.java:2021)
     [java] 	at net.sf.jasperreports.engine.fill.JRVerticalFiller.fillDetail(JRVerticalFiller.java:755)
     [java] 	at net.sf.jasperreports.engine.fill.JRVerticalFiller.fillReportStart(JRVerticalFiller.java:265)
     [java] 	at net.sf.jasperreports.engine.fill.JRVerticalFiller.fillReport(JRVerticalFiller.java:128)
     [java] 	at net.sf.jasperreports.engine.fill.JRBaseFiller.fill(JRBaseFiller.java:836)
     [java] 	at net.sf.jasperreports.engine.fill.JRBaseFiller.fill(JRBaseFiller.java:746)
     [java] 	at net.sf.jasperreports.engine.fill.JRFillSubreport.fillSubreport(JRFillSubreport.java:640)
     [java] 	at net.sf.jasperreports.engine.fill.JRSubreportRunnable.run(JRSubreportRunnable.java:59)
     [java] 	at net.sf.jasperreports.engine.fill.JRThreadSubreportRunner.run(JRThreadSubreportRunner.java:205)
     [java] 	at java.lang.Thread.run(Thread.java:679)]]></description>
</item>
<item rdf:about="http://jasperforge.org/plugins/mantis/view.php?id=5604">
<title><![CDATA[HtmlComponent does not split the detail band]]></title>
<link>http://jasperforge.org/plugins/mantis/view.php?id=5604</link>
<dc:date>2012-01-18</dc:date>
<description><![CDATA[When the html component is in the detail band and its content is greater than one page, the report generation hangs or prints without spliting the detail band.]]></description>
</item>
</rdf:RDF>
