Jump to content

bbharat

Members
  • Posts

    40
  • Joined

  • Last visited

bbharat's Achievements

Contributor

Contributor (5/14)

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

Recent Badges

0

Reputation

  1. Hi, my PDF format reports stopped working after upgrading to 3.5.1. I even tried 3.5.2. It works with lower ie, 3.0.1 jasper version. Any clues why? or what changed which would cause this? Same template works in html or xls format but doesnt render in PDF. ----------------------------------------------------------------------------------------- [2009-07-13 16:53:34 PDT] <resin-tcp-connection-*> net.sf.jasperreports.engine.util.JRStyledTextParser - FATAL: Error parsing styled text. org.xml.sax.SAXParseException: expected name at ` ' at com.caucho.xml.XmlParser.error(XmlParser.java:2950) at com.caucho.xml.XmlParser.parseEntityReference(XmlParser.java:1055) at com.caucho.xml.XmlParser.parseNode(XmlParser.java:335) at com.caucho.xml.XmlParser.parseInt(XmlParser.java:242) at com.caucho.xml.AbstractParser.parse(AbstractParser.java:633) at com.caucho.xml.AbstractParser.parseDocument(AbstractParser.java:817) at com.caucho.xml.parsers.AbstractDocumentBuilder.parse(AbstractDocumentBuilder.java:63) at net.sf.jasperreports.engine.util.JRStyledTextParser.parse(JRStyledTextParser.java:219) at net.sf.jasperreports.engine.util.JRStyledTextParser.getStyledText(JRStyledTextParser.java:258) at net.sf.jasperreports.engine.fill.JRFillTextElement.getStyledText(JRFillTextElement.java:955) at net.sf.jasperreports.engine.fill.JRFillTextElement.getText(JRFillTextElement.java:973) at net.sf.jasperreports.engine.fill.JRFillTextField.prepare(JRFillTextField.java:520) at net.sf.jasperreports.engine.fill.JRFillElementContainer.prepareElements(JRFillElementContainer.java:346) at net.sf.jasperreports.engine.fill.JRFillBand.fill(JRFillBand.java:346) at net.sf.jasperreports.engine.fill.JRFillBand.fill(JRFillBand.java:305) at net.sf.jasperreports.engine.fill.JRVerticalFiller.fillColumnBand(JRVerticalFiller.java:1382) at net.sf.jasperreports.engine.fill.JRVerticalFiller.fillGroupHeader(JRVerticalFiller.java:591) at net.sf.jasperreports.engine.fill.JRVerticalFiller.fillGroupHeaders(JRVerticalFiller.java:530) at net.sf.jasperreports.engine.fill.JRVerticalFiller.fillReportContent(JRVerticalFiller.java:273) at net.sf.jasperreports.engine.fill.JRVerticalFiller.fillReport(JRVerticalFiller.java:117) at net.sf.jasperreports.engine.fill.JRBaseFiller.fill(JRBaseFiller.java:899) at net.sf.jasperreports.engine.fill.JRBaseFiller.fill(JRBaseFiller.java:821) at net.sf.jasperreports.engine.fill.JRFiller.fillReport(JRFiller.java:89) at net.sf.jasperreports.engine.JasperFillManager.fillReport(JasperFillManager.java:628) at org.springframework.web.servlet.view.jasperreports.AbstractJasperReportsView.fillReport(AbstractJasperReportsView.java:630) at org.springframework.web.servlet.view.jasperreports.AbstractJasperReportsView.renderMergedOutputModel(AbstractJasperReportsView.java:560) at org.springframework.web.servlet.view.AbstractView.render(AbstractView.java:251) at org.springframework.web.servlet.DispatcherServlet.render(DispatcherServlet.java:1144) at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:880) at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:793) at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:476) at org.springframework
  2. Lucian, any ETA on the release which will have this fix? That would be really helpful. thanks and appreciate it.
  3. fyi, same reports compile fine with using jasperreports 3.0.1. thanks again.
  4. Lucian, Using the patch jar which you gave me for XLS fix, some of my reports are throwing error while compiling. "Element type "pen" must be declared." Any clue why? I diff'd the patch class you gave me with the one in 3.0.1 and looks like some code was removed. Thanks for your help!
  5. Hi, while using maven plugin for jasper reports, I am running into a class not found error since my jrxml uses a scriptlet class. It complains that it cant find the scriptlet class. <groupId>org.codehaus.mojo</groupId> <artifactId>jasperreports-maven-plugin</artifactId> <executions> <execution> <phase>compile</phase> <goals> <goal>compile-reports</goal> </goals> </execution> </executions> <dependencies> Anyone using the same setup? any help or suggestion would be awesome. thanks!
  6. ID 3698 and 3699 filed for these issues. Thanks and looking forward to your next release.
  7. also, would you like me to add these to bugs? I see you already added first issue to Tracker Patch already.
  8. So the list of issues which will be awesome to have in the next release: - XLS hidden merging of cells which you just fixed for us. :) - Crosstab fills empty cell(when no data ie, null) with a cell of width of the entire crosstab. I tried suppressing that null with a empty string ie, "" but still crosstab will insert a empty cell of width =crosstab width thereby screwing the entire xls report. I also tried adding "<empty spaces>" as a teranary operator in properties but it still didnt work. XLS copy attached. You will see that I have a simple crosstab with 2 questions on column and "yes" and "No" as answers from different ppl. When the report shows up, you will that ROW 4, 5, 6 dont have any answers so instead of printing blank with same cell size, it spits the entire crosstab width cell and thereby pushing other data. --------------------------------------------- Please let me know if you want more info or its not clear. I ll try to get you a better example. Thanks very much Bharat
  9. Thanks so much Lucian. I see that 3.5.0 was released yesterday but I am assuming its not in this release. Sorry to bug on this but do you think you can provide even a tentative release date? like 1 mont or 2 months? That will be very helpful. Thanks again.
  10. Perfect, works like a charm. This took care of that merge and center highlight issue. Do you have a date of release of the new API? Also, will that include how crosstab handles null, empty string or empty space string? currently it brings the entire crosstab length cell in the report. Thanks very much Lucian.
  11. So heres the snipper of my xls view class which is setting following property: ------------------------------------ exporter.setParameter(JExcelApiExporterParameter.IS_COLLAPSE_ROW_SPAN,Boolean.TRUE); ------------------------------------ when I do this, report comes up fine with no "visible" merged cells. (IN EXCEL) but at the same time, excel highlights the button under MS EXCEL toolbar ie, "MERGE AND CENTER" suggesting that there are HIDDEN MERGED CELLS and untill you sort that out or CLICK THIS BUTTON, you will not be able to sort the report. screenshot name: good --------------------- Now, when you change the property to false: exporter.setParameter(JExcelApiExporterParameter.IS_COLLAPSE_ROW_SPAN,Boolean.FALSE); you can see that there are still cell merging going on. Not sure why. Screenshot name "bad" Thanks!
  12. I 'd appreciate if someone can throw some thoughts into this. thanks again !!
  13. any Luck guys? I have been struggling with this for a long time. thanks!
  14. I am using this property in my view to merge/collapse cells when data in adjacent cell grows. exporter.setParameter(JExcelApiExporterParameter.IS_COLLAPSE_ROW_SPAN, Boolean.TRUE); See the FIRST screenshot attached. If I set this property TRUE in my view, all these cells align perfectly. but if you notice the EXCEL TOOLBAR "Merge and Center" button is highlighted indicating there are some hidden merge cells. You cant see these merged cells becasuse of this property but its there since it doesnt let you sort. When you mark this property false, it then shows you all those hidden cells, see 2nd screenshot attached. Looks like a bug in jasper where when you set this property TRUE, it collapses the cells but fails to indicate excel tht there are really no merge cells. Any clues or suggestions? Thanks very much
×
×
  • Create New...