Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » BIRT » missing ; before statement
missing ; before statement [message #1151774] Wed, 23 October 2013 15:45 Go to next message
JP Redro is currently offline JP RedroFriend
Messages: 181
Registered: July 2009
Location: India
Senior Member

Experts,

I have upgrade all existing BIRT reports into 4.3.1 using Library approach. I have just copied the data set and created report items and built report. While running report i am getting the following error. Please suggest me. Embarrassed



org.mozilla.javascript.EvaluatorException: missing ; before statement (<inline>#1)
at org.mozilla.javascript.DefaultErrorReporter.runtimeError(DefaultErrorReporter.java:109)
at org.mozilla.javascript.DefaultErrorReporter.error(DefaultErrorReporter.java:96)
at org.mozilla.javascript.Parser.addError(Parser.java:146)
at org.mozilla.javascript.Parser.reportError(Parser.java:160)
at org.mozilla.javascript.Parser.statementHelper(Parser.java:1266)
at org.mozilla.javascript.Parser.statement(Parser.java:707)
at org.mozilla.javascript.Parser.parse(Parser.java:401)
at org.mozilla.javascript.Parser.parse(Parser.java:338)
at org.mozilla.javascript.Context.compileImpl(Context.java:2368)
at org.mozilla.javascript.Context.compileString(Context.java:1359)
at org.mozilla.javascript.Context.compileString(Context.java:1348)
at org.eclipse.birt.report.engine.javascript.JavascriptEngine$3.run(JavascriptEngine.java:240)
at org.eclipse.birt.report.engine.javascript.JavascriptEngine$3.run(JavascriptEngine.java:1)
at java.security.AccessController.doPrivileged(Native Method)
at org.eclipse.birt.report.engine.javascript.JavascriptEngine.compile(JavascriptEngine.java:236)
at org.eclipse.birt.report.engine.javascript.JavascriptEngine.compile(JavascriptEngine.java:1)
at org.eclipse.birt.core.script.ScriptContext.compile(ScriptContext.java:153)
at org.eclipse.birt.report.engine.executor.ExecutionContext.compile(ExecutionContext.java:779)
at org.eclipse.birt.report.engine.executor.ExecutionContext.evaluate(ExecutionContext.java:713)
at org.eclipse.birt.report.engine.api.impl.EngineTask.evaluateExpression(EngineTask.java:1281)
at org.eclipse.birt.report.engine.api.impl.EngineTask.evaluateDefaultValue(EngineTask.java:1246)
at org.eclipse.birt.report.engine.api.impl.EngineTask$2.visitScalarParameter(EngineTask.java:1616)
at org.eclipse.birt.report.engine.api.impl.EngineTask$ParameterVisitor.visit(EngineTask.java:1531)
at org.eclipse.birt.report.engine.api.impl.EngineTask$ParameterVisitor.visit(EngineTask.java:1495)
at org.eclipse.birt.report.engine.api.impl.EngineTask.usingParameterValues(EngineTask.java:1712)
at org.eclipse.birt.report.engine.api.impl.DatasetPreviewTask.doRun(DatasetPreviewTask.java:300)
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)


Thanks,
JP
Re: missing ; before statement [message #1163768 is a reply to message #1151774] Thu, 31 October 2013 07:47 Go to previous messageGo to next message
Marina Orth is currently offline Marina OrthFriend
Messages: 51
Registered: September 2012
Member
Hi,

my suggestion: use debug report, so you can see, which script is throwings this error. search for the script and a missing ";". With this error you have posted, noone can see, where the error is, because noone has your code. Or post the rptdesign-file....
Re: missing ; before statement [message #1184277 is a reply to message #1163768] Wed, 13 November 2013 10:45 Go to previous messageGo to next message
JP Redro is currently offline JP RedroFriend
Messages: 181
Registered: July 2009
Location: India
Senior Member

Marina,

Thanks for update, i have tested with out script and only used simple query .. even though i got the following message
missing ; before statement
Reason: An unexpected internal exception occurred.


Please help me in this.


Thanks,
JP
Re: missing ; before statement [message #1199425 is a reply to message #1184277] Wed, 20 November 2013 21:08 Go to previous messageGo to next message
Michael Williams is currently offline Michael WilliamsFriend
Messages: 1925
Registered: July 2009
Senior Member

Can you attach a design that has the issue?

Michael

Developer Evangelist, Silanis
icon7.gif  Re: missing ; before statement [message #1741269 is a reply to message #1151774] Wed, 24 August 2016 09:40 Go to previous message
Gurunath Kudalkar is currently offline Gurunath KudalkarFriend
Messages: 1
Registered: August 2016
Junior Member
I was getting same error this have been solved when i removed the rotated text from My reports. Report working fine.
Previous Topic:To Show Groupwise Row number in Cross Tab
Next Topic:Don't know where to start on Linux install
Goto Forum:
  


Current Time: Sat Aug 24 02:13:43 GMT 2019

Powered by FUDForum. Page generated in 0.02679 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top