Jump to content
Changes to the Jaspersoft community edition download ×


  • Posts

  • Joined

  • Last visited

lena5il's Achievements


Apprentice (3/14)

  • Week One Done
  • One Month Later
  • One Year In
  • First Post Rare
  • Collaborator Rare

Recent Badges



  1. HI, I have had this problem when I tried to export my report to RTF format. I think there is some bug in the Jasperreports. The solution was to export it to pdf format, and in pdf it works well.
  2. Hello, I have the following problem: I use jasperreport-1.2.0 with j2sdk1.4.2_04 (on WIN server 2003). The same project runs ok with the same jars on another machine (WinXp). When I try to create a report on win server, I get the following exception: Exception in thread "main" java.lang.UnsupportedClassVersionError: HeaderCAF_1170929904496_715845 (Unsupported major.minor version 50.0) at java.lang.ClassLoader.defineClass0(Native Method) at java.lang.ClassLoader.defineClass(Unknown Source) at net.sf.jasperreports.engine.util.JRClassLoader.loadClass(JRClassLoader.java:245) at net.sf.jasperreports.engine.util.JRClassLoader.loadClassFromBytes(JRClassLoader.java:154) at net.sf.jasperreports.engine.design.JRAbstractJavaCompiler.loadEvaluator(JRAbstractJavaCompiler.java:77) at net.sf.jasperreports.engine.design.JRAbstractCompiler.loadEvaluator(JRAbstractCompiler.java:327) at net.sf.jasperreports.engine.design.JRDefaultCompiler.loadEvaluator(JRDefaultCompiler.java:195) at net.sf.jasperreports.engine.design.JRDefaultCompiler.loadEvaluator(JRDefaultCompiler.java:209) at net.sf.jasperreports.engine.fill.JRFillSubreport.evaluate(JRFillSubreport.java:321) at net.sf.jasperreports.engine.fill.JRFillElementContainer.evaluate(JRFillElementContainer.java:275) at net.sf.jasperreports.engine.fill.JRFillBand.evaluate(JRFillBand.java:399) at net.sf.jasperreports.engine.fill.JRVerticalFiller.fillColumnBand(JRVerticalFiller.java:1300) at net.sf.jasperreports.engine.fill.JRVerticalFiller.fillGroupHeader(JRVerticalFiller.java:542) at net.sf.jasperreports.engine.fill.JRVerticalFiller.fillGroupHeaders(JRVerticalFiller.java:480) at net.sf.jasperreports.engine.fill.JRVerticalFiller.fillReport(JRVerticalFiller.java:160) at net.sf.jasperreports.engine.fill.JRBaseFiller.fill(JRBaseFiller.java:730) at net.sf.jasperreports.engine.fill.JRBaseFiller.fill(JRBaseFiller.java:651) at net.sf.jasperreports.engine.fill.JRFiller.fillReport(JRFiller.java:89) at net.sf.jasperreports.engine.JasperFillManager.fillReport(JasperFillManager.java:601) The strange thing that I get this error not for all reports. Some of them run ok, and I don't understand what the difference between them. The source was compiled with j2re1.4.2_03 in eclipse. I hope someone can help me :blush: Regards, Elena Post edited by: lena5il, at: 2007/02/27 09:13
  3. Hello, I have a working application that is running on Tomcat-6 on WinXp. When I tryed to install it on another machine (Resin-2.1.16 on Win Server 2003), the part of the application which should create jasperreport doesn't work: it falls on the compilation of the jrxml file and I get the following exception: java.lang.NullPointerException [2007-02-25 09:04:05.414] at org.apache.commons.digester.Digester.getXMLReader(Digester.java:899) [2007-02-25 09:04:05.414] at org.apache.commons.digester.Digester.parse(Digester.java:1647) [2007-02-25 09:04:05.414] at net.sf.jasperreports.engine.xml.JRXmlLoader.loadXML(JRXmlLoader.java:238) [2007-02-25 09:04:05.414] at net.sf.jasperreports.engine.xml.JRXmlLoader.loadXML(JRXmlLoader.java:225) [2007-02-25 09:04:05.414] at net.sf.jasperreports.engine.xml.JRXmlLoader.load(JRXmlLoader.java:213) [2007-02-25 09:04:05.414] at net.sf.jasperreports.engine.xml.JRXmlLoader.load(JRXmlLoader.java:167) [2007-02-25 09:04:05.414] at net.sf.jasperreports.engine.xml.JRXmlLoader.load(JRXmlLoader.java:151) [2007-02-25 09:04:05.414] at net.sf.jasperreports.engine.JasperCompileManager.compileReportToFile(JasperCompileManager.java:81) [2007-02-25 09:04:05.414] at com.modelity.structures.jasperreports.StatusReportIntegration.createCAF(StatusReportIntegration.java:140) [2007-02-25 09:04:05.414] at com.modelity.structures.jasperreports.StatusReportIntegration.compileAndFillReports(StatusReportIntegration.java:120) [2007-02-25 09:04:05.414] at com.modelity.structures.jasperreports.StatusReportIntegration.<init>(StatusReportIntegration.java:38) [2007-02-25 09:04:05.414] at com.modelity.structures.jasperreports.ProductStatusBean.createProductStatusReport(ProductStatusBean.java:111) [2007-02-25 09:04:05.414] at com.modelity.structures.jasperreports.ProductStatusBean.setProductId(ProductStatusBean.java:30) [2007-02-25 09:04:05.414] at _jsp._statusreport__jsp._jspService(_statusreport__jsp.java:53) [2007-02-25 09:04:05.414] at com.caucho.jsp.JavaPage.service(JavaPage.java:75) [2007-02-25 09:04:05.414] at com.caucho.jsp.Page.subservice(Page.java:506) [2007-02-25 09:04:05.414] at com.caucho.server.http.FilterChainPage.doFilter(FilterChainPage.java:182) [2007-02-25 09:04:05.414] at com.caucho.server.http.Invocation.service(Invocation.java:315) [2007-02-25 09:04:05.414] at com.caucho.server.http.CacheInvocation.service(CacheInvocation.java:135) [2007-02-25 09:04:05.414] at com.caucho.server.http.HttpRequest.handleRequest(HttpRequest.java:253) [2007-02-25 09:04:05.414] at com.caucho.server.http.HttpRequest.handleConnection(HttpRequest.java:171) [2007-02-25 09:04:05.414] at com.caucho.server.TcpConnection.run(TcpConnection.java:139) [2007-02-25 09:04:05.414] at java.lang.Thread.run(Thread.java:534) Here is my classpath: ..libactivation.jar;..libjdom.jar;..libjtds-1.1.jar;..liblog4j-1.2.8.jar;..libservlet.jar;..libxerces.jar;..libxercesImpl.jar;..libxercesSamples.jar;..libaxis.jar;..libjaxrpc.jar;..libmail.jar;..libcommons-logging.jar;..libcommons-discovery.jar;..libxml-apis.jar;..libsaaj.jar;..libhsqldb.jar;..libaxis.jar;..libwsdl4j.jar;..libvelocity-1.4.jar;..libpoi-2.5.1-final-20040804.jar;..libpoi-scratchpad-2.5.1-final-20040804.jar;..libpoi-contrib-2.5.1-final-20040804.jar;C:resin-2.1.16webappstwWEB-INFclasses;.;..libcommons-beanutils-1.5.jar;..libcommons-collections-2.1.jar;..libcommons-digester-1.7.jar;..libcommons-discovery.jar;..libcommons-logging-1.0.2.jar;..libcommons-logging-api-1.0.2.jar;..libitext-1.3.1.jar;..libeditor.jar;..libjasperreports-1.2.0.jar Can anyone help me with this? Regards, Elena
  4. Hi, I did what you suggested (new JRMapCollectionDataSource() ) and now everything works properly. Thanks a lot, Lena
  5. Hi, Do you want me to attach the rtf files I get? Lena
  6. Hi, I was away last week, but now I'm back to this problem. Are you using a single data source instance for the subreport?Yes. I provide a vector that contains hashmaps. Now it contains only one hashmap, that as I understant from you, is being exhausted on the first page. Then I tried to add to this vector another hashmap, in such a way it contained two similar hashmaps (I thought that the second hashmap would be provided for the second page, but that didn't worked.) The subreport contains only header section (I tried to move its contents to the detail section, but this didn't help too - It simply printed the same data two times, in a sequence (when I provided two hash maps) and not each one on different page. Another option would be to rewind (if applicable) the data source for the subreport before each instantation of the report (e.g. in the report scriptlet's beforePageInit()).How can I do this? Can you give me some example (except the supplied in jasperreport)? Thanks a lot, Lena
  7. Hi, Sorry, I didn't answer you, but I was away last week. This problem appeared with any hebrew text, like ×©×œ×•× ×œ×›×•×œ×. Even in very simple report, that contains a single static text box. Another point, is that this report worked almost fine when it was created on Linux, but was printed wrong in Windows (the hebrew is installed on this computer). In the Linux there was another problem - the Justified alignment didn't worked well with hebrew in rtf (in pdf its ok). Hope I described the problem clearly, Thanks, Lena :)
  8. Hi, It works in pdf format. Thanks.:P Post edited by: lena5il, at: 2006/07/23 12:39
  9. Thank you for reply. I am exporting my report to rtf format. I saw the sample code, but that didn't helped me. :(
  10. Hello, The report I want to create should contein a hebrew text. But when I try to write it, the hebrew words appear in the wrong direction (ltr instead of rtl). In order to solve it, I set the local property: Code:Locale locale = new Locale("he","IL"«»); parameters.put(JRParameter.REPORT_LOCALE, locale); jasperPrint = JasperFillManager.fillReport(jasperReport,parameters,dataSource); But this didn't affect the output of the report. Maby there are some special actions that I should do in the jrxml file in addition to the mantioned code in the datasouce? Does anyone have an idea, how to solve this problem? Lena
  11. Hello, I have a report, that contains a few subreports. One of the subreports should appear in the page header section. Everything works fine, until the report has more than one page. In the case there are more than one page, the data that should be printed in the heaader, is printed only in the first page of the report. In the entire pages, instead of data ( fields of a subreport ), nulls are printed. Why does this happen, and how can I fix it? Help me, please, to resolve this problem. :blush: Thanks, Elena
  • Create New...