Community
Participate
Working Groups
Build Identifier: v20100609-1613 The program works well in Windows with JDK 1.6.0_20 The program has an exception in HP-UX 11.23 with JDK 1.6.0.02 and Birt Engine 2.6 When executing the program line: IDataSource dataSource = runnable.getDesignInstance().getDataSource("DS"); The exception is produced with stack trace: Exception in thread "main" java.lang.NoSuchMethodError: org.mozilla.javascript.ContextFactory.enterContext()Lorg/mozilla/javascript/Context; at org.eclipse.birt.report.model.simpleapi.ReportDesign.initFunctions(ReportDesign.java:370) at org.eclipse.birt.report.model.simpleapi.ReportDesign.<init>(ReportDesign.java:81) at org.eclipse.birt.report.model.simpleapi.ElementUtil.getElement(ElementUtil.java:59) at org.eclipse.birt.report.model.api.impl.SimpleElementFactory.getElement(SimpleElementFactory.java:279) at org.eclipse.birt.report.engine.script.internal.element.DesignElement.<init>(DesignElement.java:30) at org.eclipse.birt.report.engine.script.internal.element.ReportDesign.<init>(ReportDesign.java:59) at org.eclipse.birt.report.engine.api.impl.ReportRunnable.getDesignInstance(ReportRunnable.java:125) at com.axway.reporttool.service.ToolService.ReportFile(ToolService.java:738) at com.axway.reporttool.main.ReportTool.start(ReportTool.java:107) at com.axway.reporttool.main.ReportTool.main(ReportTool.java:26) Reproducible: Always Steps to Reproduce: 1.After opening the ReportDesign with the line: IReportRunnable runnable = engine.openReportDesign(designFileName); 2.Getting the DataSource has the exception: IDataSource dataSource = runnable.getDesignInstance().getDataSource("DS"); 3.
I have upgraded JDK on HP-UX 11.23 to the version 1.6.0.08. And now, it works well !
Close the bug based on comment #1