Just downloaded the latest code and I got a wierd problem when trying to view documents defined in JasperReports.
I figured that the plugin-structure has changed a bit with plugins defined in OSGI-INF and all looks fine as far as I can see.
What happens is that the JRViewerProvider can't be found which results in a NPE
15:50:27.965===========> ProcessUtil.startJavaProcess: org.compiere.report.ReportStarter [13]
java.lang.NullPointerException
at org.compiere.report.ReportStarter.startProcess0(ReportStarter.java:675)
at org.compiere.report.ReportStarter.startProcess(ReportStarter.java:343)
at org.adempiere.util.ProcessUtil.startJavaProcess(ProcessUtil.java:170)
at org.adempiere.util.ProcessUtil.startJavaProcess(ProcessUtil.java:139)
at org.adempiere.util.ProcessUtil.startJavaProcess(ProcessUtil.java:128)
at org.compiere.process.ServerProcessCtl.startProcess(ServerProcessCtl.java:399)
at org.compiere.process.ServerProcessCtl.run(ServerProcessCtl.java:265)
at org.compiere.process.ServerProcessCtl.process(ServerProcessCtl.java:92)
at org.compiere.print.ServerReportCtl.runJasperProcess(ServerReportCtl.java:106)
at org.compiere.print.ReportCtl.startDocumentPrint(ReportCtl.java:316)
at org.compiere.print.ReportCtl.startDocumentPrint(ReportCtl.java:283)
at org.compiere.print.ReportCtl.start(ReportCtl.java:126)
at org.compiere.print.ReportCtl.start(ReportCtl.java:98)
at org.compiere.apps.AbstractProcessCtl.run(AbstractProcessCtl.java:279)
I've checked that the plugins are included in the run configuration, I've recompiled and compared configuration for ZK and Swing. I can't see what's wrong.
The service lookup that fails is this piece in ReportStarter:
JRViewerProvider viewerLauncher = Service.locator().locate(JRViewerProvider.class).getService();
viewerLauncher.openViewer(jasperPrint, pi.getTitle()+" - " + reportPath);
viewerLauncher gets a null value.
I tried also running a report in ZK (server) and it resulted in OutOfMemoryError...
I'm not running Garden World so some custom settings might disturb but I can't think of what it would be.
Best regards
/Daniel Tamm