<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0"
					xmlns:content="http://purl.org/rss/1.0/modules/content/"
					xmlns:wfw="http://wellformedweb.org/CommentAPI/"
					xmlns:dc="http://purl.org/dc/elements/1.1/"
					xmlns:atom="http://www.w3.org/2005/Atom"
					xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
				  >
<channel>
<title><![CDATA[Latest issues]]></title>
<link>http://jasperforge.org/projects/JasperReports/tracker</link>
<description><![CDATA[Forge latest issues]]></description>
<image><title><![CDATA[Latest issues]]></title>
<link>http://jasperforge.org/projects/JasperReports/tracker</link>
<url>http://jasperforge.org/themes/jasper/images/tools/logo.gif</url>
</image>
<language></language>
<pubDate>Sat, 11 Feb 2012 15:34:34 +0000</pubDate>
<item>
<title><![CDATA[I need your help]]></title>
<link>http://jasperforge.org/plugins/mantis/view.php?id=5635</link>
<pubDate>Fri, 10 Feb 2012 05:49:41 +0000</pubDate>
<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>
<guid isPermaLink="true" >http://jasperforge.org/plugins/mantis/view.php?id=5635</guid>
</item>
<item>
<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>
<pubDate>Tue, 07 Feb 2012 11:38:19 +0000</pubDate>
<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>
<guid isPermaLink="true" >http://jasperforge.org/plugins/mantis/view.php?id=5628</guid>
</item>
<item>
<title><![CDATA[HTML component and PDF file size]]></title>
<link>http://jasperforge.org/plugins/mantis/view.php?id=5622</link>
<pubDate>Thu, 02 Feb 2012 15:06:57 +0000</pubDate>
<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>
<guid isPermaLink="true" >http://jasperforge.org/plugins/mantis/view.php?id=5622</guid>
</item>
<item>
<title><![CDATA[text wrapping issue in pdf export]]></title>
<link>http://jasperforge.org/plugins/mantis/view.php?id=5620</link>
<pubDate>Thu, 02 Feb 2012 13:59:33 +0000</pubDate>
<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>
<guid isPermaLink="true" >http://jasperforge.org/plugins/mantis/view.php?id=5620</guid>
</item>
<item>
<title><![CDATA[Diagonal lines with different directions are not rendered correctly]]></title>
<link>http://jasperforge.org/plugins/mantis/view.php?id=5618</link>
<pubDate>Tue, 31 Jan 2012 10:00:19 +0000</pubDate>
<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>
<guid isPermaLink="true" >http://jasperforge.org/plugins/mantis/view.php?id=5618</guid>
</item>
<item>
<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>
<pubDate>Mon, 30 Jan 2012 19:12:46 +0000</pubDate>
<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>
<guid isPermaLink="true" >http://jasperforge.org/plugins/mantis/view.php?id=5616</guid>
</item>
<item>
<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>
<pubDate>Mon, 30 Jan 2012 11:10:15 +0000</pubDate>
<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>
<guid isPermaLink="true" >http://jasperforge.org/plugins/mantis/view.php?id=5615</guid>
</item>
<item>
<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>
<pubDate>Wed, 25 Jan 2012 08:18:06 +0000</pubDate>
<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>
<guid isPermaLink="true" >http://jasperforge.org/plugins/mantis/view.php?id=5611</guid>
</item>
<item>
<title><![CDATA[Conditional Styles are not evaluated correctly]]></title>
<link>http://jasperforge.org/plugins/mantis/view.php?id=5609</link>
<pubDate>Sat, 21 Jan 2012 07:42:59 +0000</pubDate>
<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>
<guid isPermaLink="true" >http://jasperforge.org/plugins/mantis/view.php?id=5609</guid>
</item>
<item>
<title><![CDATA[HtmlComponent does not split the detail band]]></title>
<link>http://jasperforge.org/plugins/mantis/view.php?id=5604</link>
<pubDate>Wed, 18 Jan 2012 13:59:27 +0000</pubDate>
<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>
<guid isPermaLink="true" >http://jasperforge.org/plugins/mantis/view.php?id=5604</guid>
</item>
</channel>
</rss>
