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

nullpointerexception after 3.7->4.2.1 upgrade (this time, actually readible)


dr_memory

Recommended Posts

Good lord, this forum software made a complete hash of my last posting.  Let's try again:

After an upgrade from 3.7 on tomcat5.5 to 4.2.1 on tomcat6, about half of my reports are now generating NullPointerExceptions. 

The odd thing is that the failing reports use the same data source as the reports that still work, and I can manually execute their queries against mysql via the standard mysql client.

A representative stack trace is attached in full; the top of the trace is:

 

2011-11-18 15:39:57,343 ERROR errorPage_jsp,http-8080-6:344 - stack trace of exception that redirected to errorPage.jsp

java.lang.NullPointerException

        at net.sf.jasperreports.engine.query.JRAbstractQueryExecuter.parameterHasValue(JRAbstractQueryExecuter.java:492)

        at net.sf.jasperreports.engine.query.JRAbstractQueryExecuter.getBooleanParameter(JRAbstractQueryExecuter.java:530)

        at net.sf.jasperreports.engine.query.JRAbstractQueryExecuter.getBooleanParameterOrProperty(JRAbstractQueryExecuter.java:559)

        at net.sf.jasperreports.engine.query.JRJdbcQueryExecuter.<init>(JRJdbcQueryExecuter.java:119)

        at com.jaspersoft.jasperserver.api.engine.jasperreports.util.JRTimezoneJdbcQueryExecuter.<init>(JRTimezoneJdbcQueryExecuter.java:125)

        at com.jaspersoft.jasperserver.api.engine.jasperreports.util.JRTimezoneJdbcQueryExecuterFactory.createQueryExecuter(JRTimezoneJdbcQueryExecuterFactory.java:50)

 

 

Link to comment
Share on other sites

  • Replies 9
  • Created
  • Last Reply

Top Posters In This Topic

lucianc
Wrote:

The fix has been checked into the JasperReports Server SVN repository (details at http://jasperforge.org/projects/jasperserver/code) at revision 21639.

The fix will be included in the next release, but you can also patch and build the 4.2.1 sources to fix the problem locally.

Regards,

Lucian

 

 

Sounds good.  Is 4.2.2 planned to go out before the holidays this year?

Link to comment
Share on other sites

  • 4 weeks later...

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...