Bug 431553 - Ubuntu 13.10 ClassNotFoundException: org.mozilla.javascript.ScriptOrFnNode cannot be found by org.eclipse.birt.data
Summary: Ubuntu 13.10 ClassNotFoundException: org.mozilla.javascript.ScriptOrFnNode ca...
Status: NEW
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: BIRT (show other bugs)
Version: 4.3.2   Edit
Hardware: PC Linux
: P3 blocker (vote)
Target Milestone: ---   Edit
Assignee: Birt-ReportDesigner CLA
QA Contact:
URL:
Whiteboard:
Keywords: helpwanted
Depends on:
Blocks:
 
Reported: 2014-03-29 05:52 EDT by hkais CLA
Modified: 2014-04-03 02:34 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description hkais CLA 2014-03-29 05:52:21 EDT
I am running Ubuntu 13.10 x86_64.
Right now I am not able to use the Designer at all. I am getting on every preview page the exception 

org.eclipse.birt.report.engine.api.EngineException: Error happened while running the report.
	at org.eclipse.birt.report.engine.api.impl.DatasetPreviewTask.doRun(DatasetPreviewTask.java:330)
	at org.eclipse.birt.report.engine.api.impl.DatasetPreviewTask.runDataset(DatasetPreviewTask.java:280)
	at org.eclipse.birt.report.engine.api.impl.DatasetPreviewTask.execute(DatasetPreviewTask.java:91)
	at org.eclipse.birt.report.designer.data.ui.dataset.DataSetPreviewer.preview(DataSetPreviewer.java:68)
	at org.eclipse.birt.report.designer.data.ui.dataset.ResultSetPreviewPage$5.run(ResultSetPreviewPage.java:366)
	at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:121)
Caused by: java.lang.NoClassDefFoundError: org/mozilla/javascript/ScriptOrFnNode
	at org.eclipse.birt.data.engine.impl.PreparedQuery.<init>(PreparedQuery.java:100)
	at org.eclipse.birt.data.engine.impl.PreparedDataSourceQuery.<init>(PreparedDataSourceQuery.java:75)
	at org.eclipse.birt.data.engine.impl.PreparedOdaDSQuery.<init>(PreparedOdaDSQuery.java:76)
	at org.eclipse.birt.data.engine.impl.PreparedQueryUtil.newInstance(PreparedQueryUtil.java:211)
	at org.eclipse.birt.data.engine.impl.DataEngineImpl.prepare(DataEngineImpl.java:426)
	at org.eclipse.birt.report.data.adapter.impl.DataRequestSessionImpl.prepare(DataRequestSessionImpl.java:473)
	at org.eclipse.birt.report.data.adapter.impl.DataRequestSessionImpl.prepare(DataRequestSessionImpl.java:483)
	at org.eclipse.birt.report.engine.api.impl.DatasetPreviewTask.extractQuery(DatasetPreviewTask.java:348)
	at org.eclipse.birt.report.engine.api.impl.DatasetPreviewTask.doRun(DatasetPreviewTask.java:309)
	... 5 more
Caused by: java.lang.ClassNotFoundException: org.mozilla.javascript.ScriptOrFnNode cannot be found by org.eclipse.birt.data_4.3.2.v20140211-1400
	at org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:501)
	at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:421)
	at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:412)
	at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(DefaultClassLoader.java:107)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:358)
	... 14 more

As far as I can see, there seems to be a relation with #351482. 
Since Ubuntu 12.04 (April 2012) is the rhino 1.7.3+ distributed. If it is related, since 2012 the BIRT isn't working anymore an Ubuntu, Debian and derivates.

I am willing to provide help and effort. Please tell me how to help, to get it fixed in the next releasecycle of Kepler or a patch via BIRT.

Maybe there is a workaround, if so, how to workaround this issue?
Comment 1 hkais CLA 2014-04-03 02:34:56 EDT
Hello BIRT-Team,

is there no help available?