Jump to content
We've recently updated our Privacy Statement, available here ×

gabrielesh

Members
  • Posts

    3
  • Joined

  • Last visited

gabrielesh's Achievements

Rookie

Rookie (2/14)

  • First Post Rare
  • Conversation Starter Rare
  • Week One Done
  • One Month Later
  • One Year In

Recent Badges

0

Reputation

  1. When I start my JReport, i have a strange NullPointerException. 5 days ago my report complete successful. What's is the possible problem? Here is my code: HashMap parm = new HashMap(); JasperPrint jasperPrint = JasperFillManager.fillReport(reportName, parm, conn); Here is the exception java.lang.NullPointerException [27/11/06 16.44.50:531 CET] 43794379 SystemErr R at java.lang.Throwable.<init>(Throwable.java) [27/11/06 16.44.50:531 CET] 43794379 SystemErr R at java.lang.Throwable.<init>(Throwable.java) [27/11/06 16.44.50:531 CET] 43794379 SystemErr R at java.lang.NullPointerException.<init>(NullPointerException.java:63) [27/11/06 16.44.50:531 CET] 43794379 SystemErr R at org.apache.commons.collections.SequencedHashMap.put(Unknown Source) [27/11/06 16.44.50:531 CET] 43794379 SystemErr R at org.apache.commons.collections.SequencedHashMap.readExternal(Unknown Source) [27/11/06 16.44.50:531 CET] 43794379 SystemErr R at java.io.ObjectInputStream.inputObject(ObjectInputStream.java) [27/11/06 16.44.50:531 CET] 43794379 SystemErr R at java.io.ObjectInputStream.readObject(ObjectInputStream.java) [27/11/06 16.44.50:531 CET] 43794379 SystemErr R at java.io.ObjectInputStream.inputClassFields(ObjectInputStream.java) [27/11/06 16.44.50:531 CET] 43794379 SystemErr R at java.io.ObjectInputStream.defaultReadObject(ObjectInputStream.java:555) [27/11/06 16.44.50:531 CET] 43794379 SystemErr R at java.io.ObjectInputStream.inputObject(ObjectInputStream.java) [27/11/06 16.44.50:531 CET] 43794379 SystemErr R at java.io.ObjectInputStream.readObject(ObjectInputStream.java) [27/11/06 16.44.50:531 CET] 43794379 SystemErr R at java.io.ObjectInputStream.inputClassFields(ObjectInputStream.java) [27/11/06 16.44.50:531 CET] 43794379 SystemErr R at java.io.ObjectInputStream.defaultReadObject(ObjectInputStream.java:555) [27/11/06 16.44.50:531 CET] 43794379 SystemErr R at java.io.ObjectInputStream.inputObject(ObjectInputStream.java) [27/11/06 16.44.50:531 CET] 43794379 SystemErr R at java.io.ObjectInputStream.readObject(ObjectInputStream.java) [27/11/06 16.44.50:531 CET] 43794379 SystemErr R at java.io.ObjectInputStream.inputClassFields(ObjectInputStream.java:2319) [27/11/06 16.44.50:531 CET] 43794379 SystemErr R at java.io.ObjectInputStream.defaultReadObject(ObjectInputStream.java:555) [27/11/06 16.44.50:531 CET] 43794379 SystemErr R at java.io.ObjectInputStream.inputObject(ObjectInputStream.java:1459) [27/11/06 16.44.50:531 CET] 43794379 SystemErr R at java.io.ObjectInputStream.readObject(ObjectInputStream.java:422) [27/11/06 16.44.50:531 CET] 43794379 SystemErr R at java.io.ObjectInputStream.readObject(ObjectInputStream.java:272) [27/11/06 16.44.50:531 CET] 43794379 SystemErr R at net.sf.jasperreports.engine.util.JRLoader.loadObject(JRLoader.java:85) [27/11/06 16.44.50:531 CET] 43794379 SystemErr R at net.sf.jasperreports.engine.JasperFillManager.fillReport(JasperFillManager.java:515)
  2. I wuold have a page with a fixed number of row in my pdf. Ex: I wuold 20 rows. If I have only 10 rows to print, I would like 10 empty rows (with borders). Is it possible?
  3. I try to create a PDF file. In a pc it's ok, in a second pc I have this error: javax.xml.parsers.FactoryConfigurationError: Unexpected InvocationTargetException at javax.xml.parsers.DocumentBuilderFactory.newInstance(Unknown Source) at net.sf.jasperreports.engine.util.JRStyledTextParser.<init>(JRStyledTextParser.java:112) at net.sf.jasperreports.engine.fill.JRBaseFiller.<init>(JRBaseFiller.java:152) at net.sf.jasperreports.engine.fill.JRVerticalFiller.<init>(JRVerticalFiller.java:92) at net.sf.jasperreports.engine.fill.JRVerticalFiller.<init>(JRVerticalFiller.java:74) at net.sf.jasperreports.engine.fill.JRFiller.createFiller(JRFiller.java:147) at net.sf.jasperreports.engine.fill.JRFiller.fillReport(JRFiller.java:83) at net.sf.jasperreports.engine.JasperFillManager.fillReport(JasperFillManager.java:601) at net.sf.jasperreports.engine.JasperFillManager.fillReport(JasperFillManager.java:517) at net.sf.jasperreports.engine.JasperRunManager.runReportToPdfFile(JasperRunManager.java:349)
×
×
  • Create New...