<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
<title type="html" ><![CDATA[Latest issues]]></title>
<link href="http://jasperforge.org/projects/Jaspersoft/tracker" ></link>
<id>urn:uuid:e0cdad96-b271-117d-ae1d-82c6d4d47a40</id>
<updated>2012-02-11T16:07:53+00:00</updated>
<author><name></name>
</author>
<entry>
<title type="html" ><![CDATA[I need your help]]></title>
<link href="http://jasperforge.org/plugins/mantis/view.php?id=5635" ></link>
<id>urn:uuid:dc04d295-c2b2-7c25-3e12-194246bd77f2</id>
<updated>2012-02-10T05:49:41+00:00</updated>
<summary type="html" ><![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!

 
]]></summary>
</entry>
<entry>
<title type="html" ><![CDATA[Repository report output file read only permissions]]></title>
<link href="http://jasperforge.org/plugins/mantis/view.php?id=5634" ></link>
<id>urn:uuid:a9245db8-fa01-7748-e29f-4c8aaa01eda2</id>
<updated>2012-02-09T22:49:51+00:00</updated>
<summary type="html" ><![CDATA[After upgrading from Jasperserver 3.7.1 to 4.5 we noticed that now report output files from scheduled reports (PDFs, Excel files, etc) can no longer be opened by users who have read only rights to them.  Now if I want the user to be able to download/open the pdf file I have to give them at least read+write+delete rights.]]></summary>
</entry>
<entry>
<title type="html" ><![CDATA[An error has occurred. (6632) - SQL validation of stored procedure in 4.5 breaks all report queries?]]></title>
<link href="http://jasperforge.org/plugins/mantis/view.php?id=5633" ></link>
<id>urn:uuid:2b08eaac-64d1-7bab-b7e7-5218273dab45</id>
<updated>2012-02-09T13:50:46+00:00</updated>
<summary type="html" ><![CDATA[Reference to http://jasperforge.org/plugins/espforum/view.php?group_id=102&forumid=103&topicid=94923

This is a blocking issue to rollout Jasperserver 4.5]]></summary>
</entry>
<entry>
<title type="html" ><![CDATA[Getting selected Data Adapter]]></title>
<link href="http://jasperforge.org/plugins/mantis/view.php?id=5632" ></link>
<id>urn:uuid:981a7816-a827-12d8-79bb-6949b53a38b8</id>
<updated>2012-02-09T05:23:39+00:00</updated>
<summary type="html" ><![CDATA[My requirement is to generate report using Custom JRDataSource. I am using a text file for data to be displayed in the report and I have implemented Factory class and static method to retrive the JRDataSource.
I have created a Custom Data Adapter with my Factory class and static method which gives JRDataSource. 
Here the challenge is I have to get Selected Data Adapter name in my Factory class.

How to get the Selected Data Adapter when report is generated from Preview Tab and when My custom Data Source being used?
Basically I need to get the Selected Data Adapter name in my Factory class.

Please provide any pointers on this.

Thanks & Regards,
Srinivas

]]></summary>
</entry>
<entry>
<title type="html" ><![CDATA[ No such tuple [....] on axis 0.]]></title>
<link href="http://jasperforge.org/plugins/mantis/view.php?id=5631" ></link>
<id>urn:uuid:a2b17b21-551e-c034-30e6-4ca5bd59a5d8</id>
<updated>2012-02-08T21:42:41+00:00</updated>
<summary type="html" ><![CDATA[Adding a measure from an MDX query in Report query dialog box results in "No such tuple ([Measures].[Order Count] on axis 0."]]></summary>
</entry>
<entry>
<title type="html" ><![CDATA[variable doesn't get recalculated if the band is not shown]]></title>
<link href="http://jasperforge.org/plugins/mantis/view.php?id=5630" ></link>
<id>urn:uuid:96ecd6c4-2bb9-d08f-d99d-f46c38d0f2f7</id>
<updated>2012-02-08T16:04:50+00:00</updated>
<summary type="html" ><![CDATA[I have a subreport that sometimes returns NULL. in that case I don't show the report
I sum over this subreport
a value get counted twice.]]></summary>
</entry>
<entry>
<title type="html" ><![CDATA[Problem with closed Projects]]></title>
<link href="http://jasperforge.org/plugins/mantis/view.php?id=5629" ></link>
<id>urn:uuid:843dd247-5252-a78b-d044-b176af8f5cbc</id>
<updated>2012-02-08T09:58:14+00:00</updated>
<summary type="html" ><![CDATA[When I open a .jrxml File, I become the following error (in german):

Fehler aufgetreten
'Searching DataAdapters' hat ein Problem festgestellt.
Die Ressource '/SteelSeries' ist nicht offen.

'Searching DataAdapters has found a problem.
The resource '/SteelSeries' is not open.

/SteelSeries is a Java-Project that is closed.]]></summary>
</entry>
<entry>
<title type="html" ><![CDATA[Error message "Invalid text height" shows no context, making debugging report very time-consuming.]]></title>
<link href="http://jasperforge.org/plugins/mantis/view.php?id=5628" ></link>
<id>urn:uuid:249c8c62-b36a-423f-4a25-9ab41f36b92b</id>
<updated>2012-02-07T11:38:19+00:00</updated>
<summary type="html" ><![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]]></summary>
</entry>
<entry>
<title type="html" ><![CDATA[iReport JasperReport Server Repository Navigator: Allow copy+paste of JRXML files from one server to another]]></title>
<link href="http://jasperforge.org/plugins/mantis/view.php?id=5627" ></link>
<id>urn:uuid:71c390ca-b1be-ab5d-43de-199402982bab</id>
<updated>2012-02-06T19:08:53+00:00</updated>
<summary type="html" ><![CDATA[iReport JasperReport Server Repository Navigator: Allow copy+paste of JRXML files from one server to another

]]></summary>
</entry>
<entry>
<title type="html" ><![CDATA[Currency problems]]></title>
<link href="http://jasperforge.org/plugins/mantis/view.php?id=5626" ></link>
<id>urn:uuid:cf7c11cf-697d-0625-afdb-e5624d9093da</id>
<updated>2012-02-06T13:53:21+00:00</updated>
<summary type="html" ><![CDATA[I can't format numbers with currency format. When i select BigDecimals (at the field and textfield) and set the patern of textfield to #,##0.00;-#,##0.00 , the output values on reports is something like: 621.1200046539 . I'm using CSV files as a database for generating reports.
Checking the jrxml files, we see that are not being saved types of fields.]]></summary>
</entry>
</feed>
