pumaking Posted August 24, 2012 Share Posted August 24, 2012 Hi,I set up da test environment for the new 4.7 Server version. There I imported my repository from my 4.5. produtive installation with the js-import script.I didn't have any errors when importing and in the beginning everything seemed to work fine. But for particular reports I now encounter the following error message when I run these:Error Messagejava.lang.IllegalArgumentExceptionError Tracejava.lang.IllegalArgumentException at net.sf.jasperreports.data.cache.ColumnDataCacheHandler$ColumnDataCollector.addRecord(ColumnDataCacheHandler.java:321) at net.sf.jasperreports.engine.fill.JRFillDataset.cacheEnd(JRFillDataset.java:887) at net.sf.jasperreports.engine.fill.JRFillDataset.closeDatasource(JRFillDataset.java:1137) at net.sf.jasperreports.engine.fill.JRBaseFiller.fill(JRBaseFiller.java:927) at net.sf.jasperreports.engine.fill.BaseFillHandle$ReportFiller.run(BaseFillHandle.java:120) at com.jaspersoft.jasperserver.api.engine.jasperreports.service.impl.EngineServiceImpl$SynchronousExecutor.execute(EngineServiceImpl.java:733) at net.sf.jasperreports.engine.fill.BaseFillHandle.startFill(BaseFillHandle.java:165) at com.jaspersoft.jasperserver.api.engine.jasperreports.service.impl.EngineServiceImpl$AsynchronousReportFiller.fillReport(EngineServiceImpl.java:695) at com.jaspersoft.jasperserver.api.engine.jasperreports.service.impl.EngineServiceImpl.fillReport(EngineServiceImpl.java:1474) at com.jaspersoft.jasperserver.api.engine.jasperreports.service.impl.EngineServiceImpl$ReportFill.runReport(EngineServiceImpl.java:874) at com.jaspersoft.jasperserver.api.engine.jasperreports.service.impl.EngineServiceImpl$ReportRunnable.run(EngineServiceImpl.java:754) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) at java.lang.Thread.run(Thread.java:619)I also tried to edit the report with IReport 4.7 and saved it with the 4.7. compatibility settings but that didn't help either. Link to comment Share on other sites More sharing options...
pumaking Posted October 2, 2012 Author Share Posted October 2, 2012 I also tried to save the reports again with IReport 4.7 set to "last version" compatibility in 4.7 server, but the error remains. Link to comment Share on other sites More sharing options...
pumaking Posted October 4, 2012 Author Share Posted October 4, 2012 I no tried to use another way to upgrade to 4.7. I set up a new server and installed 4.5. Then I imported my existing repository from my productive 4.5. installation with js-import.This worked well and all reports seem to work fine.Then I upgraded the 4.5 installation to 4.7 with the WAR-file installation as described in JasperReports-Server-CP-Install-Guide in chapter 9.The problems that I mentioned above are also there with this method so this also didn't help. Link to comment Share on other sites More sharing options...
pumaking Posted October 29, 2012 Author Share Posted October 29, 2012 Any idea on this? At the moment I'm not able to upgrade to 4.7 productive with these errors. It would be nice to do so because then e.g. the bug with empty scheduled reports should be fixed. Link to comment Share on other sites More sharing options...
b8s Posted February 13, 2013 Share Posted February 13, 2013 Im encounterig similar issue after upgrading server - iReport compatibilty. I am getting the very (frustrating) javaNULL.exception errorWere you able to resolve you issue? If so, can you give me some ideas to research on my end? To be exact: This is my exact error: Error loading the report template Message: net.sf.jasperreports.engine.JRException: java.lang.NullPointerException Level: SEVERE Stack Trace: java.lang.NullPointerException com.jaspersoft.ireport.designer.JrxmlLoader.reloadJasperDesign(JrxmlLoader.java:102) com.jaspersoft.ireport.designer.JrxmlVisualView.run(JrxmlVisualView.java:505) org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:572) org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:997) null net.sf.jasperreports.engine.component.ComponentsEnvironment.findBundles(ComponentsEnvironment.java:123) net.sf.jasperreports.engine.component.ComponentsEnvironment.getCachedBundles(ComponentsEnvironment.java:109) net.sf.jasperreports.engine.component.ComponentsEnvironment.getBundles(ComponentsEnvironment.java:97) net.sf.jasperreports.engine.component.ComponentsEnvironment.getComponentBundles(ComponentsEnvironment.java:179) net.sf.jasperreports.engine.xml.JRReportSaxParserFactory.getSchemaLocations(JRReportSaxParserFactory.java:84) net.sf.jasperreports.engine.xml.BaseSaxParserFactory.configureParser(BaseSaxParserFactory.java:131) net.sf.jasperreports.engine.xml.BaseSaxParserFactory.createParser(BaseSaxParserFactory.java:94) net.sf.jasperreports.engine.xml.JRXmlDigesterFactory.createParser(JRXmlDigesterFactory.java:1419) net.sf.jasperreports.engine.xml.JRXmlDigesterFactory.createDigester(JRXmlDigesterFactory.java:1395) net.sf.jasperreports.engine.xml.JRXmlLoader.load(JRXmlLoader.java:207) com.jaspersoft.ireport.designer.JrxmlLoader.reloadJasperDesign(JrxmlLoader.java:87) com.jaspersoft.ireport.designer.JrxmlVisualView.run(JrxmlVisualView.java:505) org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:572) org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:997) 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