Closed
Bug 331837
Opened 20 years ago
Closed 18 years ago
RuntimeException: Program too complex: too big jump offset if I run Rhino script of BIRT
Categories
(Rhino Graveyard :: Core, defect)
Tracking
(Not tracked)
RESOLVED
DUPLICATE
of bug 335778
People
(Reporter: staaouat, Assigned: staaouat)
Details
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.0.1) Gecko/20060111 Firefox/1.5.0.1
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.0.1) Gecko/20060111 Firefox/1.5.0.1
When I try to run a Rhino script of BIRT I get the following error:
java.lang.RuntimeException: Program too complex: too big jump offset
at org.mozilla.classfile.ClassFileWriter.fixLabelGotos(ClassFileWriter.java:1250)
at org.mozilla.classfile.ClassFileWriter.stopMethod(ClassFileWriter.java:293)
at org.mozilla.javascript.optimizer.BodyCodegen.generateBodyCode(Codegen.java:1182)
at org.mozilla.javascript.optimizer.Codegen.generateCode(Codegen.java:286)
at org.mozilla.javascript.optimizer.Codegen.compileToClassFile(Codegen.java:158)
at org.mozilla.javascript.optimizer.Codegen.compile(Codegen.java:68)
at org.mozilla.javascript.Context.compileImpl(Context.java:2372)
at org.mozilla.javascript.Context.compileString(Context.java:1372)
at org.mozilla.javascript.Context.compileString(Context.java:1361)
at org.eclipse.birt.core.script.JavascriptEvalUtil.getCompiledScript(JavascriptEvalUtil.java:115)
at org.eclipse.birt.core.script.JavascriptEvalUtil.evaluateScript(JavascriptEvalUtil.java:82)
at org.eclipse.birt.data.engine.script.ScriptEvalUtil.evaluateJSAsExpr(ScriptEvalUtil.java:527)
at org.eclipse.birt.data.engine.script.JSMethodRunner.runScript(JSMethodRunner.java:74)
at org.eclipse.birt.report.engine.script.internal.DtEScriptExecutor.handleJS(DtEScriptExecutor.java:71)
at org.eclipse.birt.report.engine.script.internal.DataSetScriptExecutor.handleJS(DataSetScriptExecutor.java:159)
at org.eclipse.birt.report.engine.script.internal.ScriptDataSetScriptExecutor.handleFetch(ScriptDataSetScriptExecutor.java:100)
at org.eclipse.birt.data.engine.impl.ScriptDataSetRuntime.fetch(ScriptDataSetRuntime.java:84)
at org.eclipse.birt.data.engine.impl.PreparedScriptDSQuery$ScriptDSQueryExecutor$CustomDataSet.fetch(PreparedScriptDSQuery.java:217)
at org.eclipse.birt.data.engine.executor.cache.OdiAdapter.fetch(OdiAdapter.java:135)
at org.eclipse.birt.data.engine.executor.cache.RowResultSet.next(RowResultSet.java:85)
at org.eclipse.birt.data.engine.executor.cache.SmartCache.populateData(SmartCache.java:276)
at org.eclipse.birt.data.engine.executor.cache.SmartCache.initInstance(SmartCache.java:204)
at org.eclipse.birt.data.engine.executor.cache.SmartCache.<init>(SmartCache.java:134)
at org.eclipse.birt.data.engine.executor.CachedResultSet.initOdiResultSet(CachedResultSet.java:1613)
at org.eclipse.birt.data.engine.executor.CachedResultSet.pass(CachedResultSet.java:1432)
at org.eclipse.birt.data.engine.executor.CachedResultSet.populateResultSet(CachedResultSet.java:234)
at org.eclipse.birt.data.engine.executor.CachedResultSet.<init>(CachedResultSet.java:125)
at org.eclipse.birt.data.engine.executor.CandidateQuery.execute(CandidateQuery.java:83)
at org.eclipse.birt.data.engine.impl.PreparedScriptDSQuery$ScriptDSQueryExecutor.executeOdiQuery(PreparedScriptDSQuery.java:183)
at org.eclipse.birt.data.engine.impl.PreparedQuery$Executor.execute(PreparedQuery.java:711)
at org.eclipse.birt.data.engine.impl.QueryResults.getResultIterator(QueryResults.java:110)
at org.eclipse.birt.report.engine.data.dte.DteDataEngine.execute(DteDataEngine.java:210)
at org.eclipse.birt.report.engine.executor.QueryItemExecutor.openResultSet(QueryItemExecutor.java:62)
at org.eclipse.birt.report.engine.executor.TableItemExecutor.execute(TableItemExecutor.java:122)
at org.eclipse.birt.report.engine.executor.ReportExecutorVisitor.visitTableItem(ReportExecutorVisitor.java:187)
at org.eclipse.birt.report.engine.ir.TableItemDesign.accept(TableItemDesign.java:69)
at org.eclipse.birt.report.engine.executor.ReportExecutor.execute(ReportExecutor.java:125)
at org.eclipse.birt.report.engine.executor.ReportExecutor.execute(ReportExecutor.java:89)
at org.eclipse.birt.report.engine.api.impl.RunAndRenderTask.run(RunAndRenderTask.java:175)
at nl.remain.mx.birt.report.OMXRunReport.runReport(OMXRunReport.java:130)
at nl.remain.mx.birt.report.OMXRunReport.<init>(OMXRunReport.java:28)
at nl.remain.td.views.TDMain$3.run(TDMain.java:257)
at org.eclipse.jface.action.Action.runWithEvent(Action.java:996)
at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:538)
at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:488)
at org.eclipse.jface.action.ActionContributionItem$5.handleEvent(ActionContributionItem.java:400)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:843)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3080)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2713)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1699)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1663)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:367)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:143)
at org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplication.java:103)
at org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:226)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:376)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:163)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at org.eclipse.core.launcher.Main.invokeFramework(Main.java:334)
at org.eclipse.core.launcher.Main.basicRun(Main.java:278)
at org.eclipse.core.launcher.Main.run(Main.java:973)
at org.eclipse.core.launcher.Main.main(Main.java:948)
Mar 27, 2006 10:47:45 AM org.eclipse.birt.report.engine.script.internal.ScriptExecutor addException
Reproducible: Always
Steps to Reproduce:
1.input script
2.run
3.
Actual Results:
RuntimeException: Program too complex: too big jump offset.
Expected Results:
A table with information.
Running a script file grater than 70 KB gives the above error.
Running a script file less then 70 KB works fine.
Comment 2•20 years ago
|
||
Reassigning to the reporter as I have neither interest nor time for Rhino.
See also bug 288433.
Assignee: igor.bukanov → staaouat
Updated•18 years ago
|
Status: NEW → RESOLVED
Closed: 18 years ago
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•