dr_memory Posted November 18, 2011 Share Posted November 18, 2011 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.jspjava.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 More sharing options...
satyadoorva Posted November 19, 2011 Share Posted November 19, 2011 will need your jasper file Link to comment Share on other sites More sharing options...
dr_memory Posted November 19, 2011 Author Share Posted November 19, 2011 You mean the JRXML file? Sorry, bit of a newb here. :) Link to comment Share on other sites More sharing options...
lucianc Posted November 21, 2011 Share Posted November 21, 2011 It's a bug that affects report units that define queries external to the JRXMLs.The only workaround that I can think of is to avoid that case by embedding the queries in JRXMLs.Regards,Lucian Link to comment Share on other sites More sharing options...
dr_memory Posted November 21, 2011 Author Share Posted November 21, 2011 I've attached the JRXML file for this report.If this is a known bug as per the last response, is there any sort of ETA for a fix? Otherwise, I'm going to have to roll back to 3.7. Link to comment Share on other sites More sharing options...
lucianc Posted November 22, 2011 Share Posted November 22, 2011 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 Link to comment Share on other sites More sharing options...
dr_memory Posted November 22, 2011 Author Share Posted November 22, 2011 luciancWrote: 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 More sharing options...
lucianc Posted November 23, 2011 Share Posted November 23, 2011 dr_memoryWrote: Sounds good. Is 4.2.2 planned to go out before the holidays this year? I don't have the details on the release schedule, but that's the rough time frame when 4.5 will be released.Regards,Lucian Link to comment Share on other sites More sharing options...
dr_memory Posted December 16, 2011 Author Share Posted December 16, 2011 A bunch of anouncements about 4.5 appear to have gone out, but the download links for japserserver are all still 4.2.1. Am I looking in the wrong place? Link to comment Share on other sites More sharing options...
lucianc Posted December 19, 2011 Share Posted December 19, 2011 JasperReports Server Professional 4.5 is out, but the community edition is still due. I don't have an exact date unfortunately. Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now