Jump to content
Changes to the Jaspersoft community edition download ×

strange NullPointer at JasperFillManager.fillRepor


gabrielesh

Recommended Posts

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)

Link to comment
Share on other sites

  • Replies 0
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...