Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » BIRT » org.eclipse.birt.report.engine.api.EngineException: A BIRT exception occurred: Invalid javascript ex
org.eclipse.birt.report.engine.api.EngineException: A BIRT exception occurred: Invalid javascript ex [message #780606] Wed, 18 January 2012 13:18 Go to next message
Poornima Gupta is currently offline Poornima Gupta
Messages: 2
Registered: January 2012
Junior Member
I have report designed and working in Eclipse.

When I deploy the same report in a linux box, i get the error

org.eclipse.birt.report.engine.api.EngineException: A BIRT exception occurred: Invalid javascript expression: dataSetRow


The datasetRow exists and same report works in IDE.

I checked if there are multiple javascript js.jar files.


Classpath seems clean.


Is this a bug ? I get this error in Birt 2.5.2

Re: org.eclipse.birt.report.engine.api.EngineException: A BIRT exception occurred: Invalid javascrip [message #780614 is a reply to message #780606] Wed, 18 January 2012 13:40 Go to previous messageGo to next message
Jason Weathersby is currently offline Jason Weathersby
Messages: 9167
Registered: July 2009
Senior Member

Can you post the report? Is this using jdbc? If so do you have the
driver deployed to your linux box?

Jason

On 1/18/2012 1:18 PM, Poornima Gupta wrote:
> I have report designed and working in Eclipse.
>
> When I deploy the same report in a linux box, i get the error
>
> org.eclipse.birt.report.engine.api.EngineException: A BIRT exception
> occurred: Invalid javascript expression: dataSetRow
>
>
> The datasetRow exists and same report works in IDE.
>
> I checked if there are multiple javascript js.jar files.
>
>
> Classpath seems clean.
>
>
> Is this a bug ? I get this error in Birt 2.5.2
>
>
Re: org.eclipse.birt.report.engine.api.EngineException: A BIRT exception occurred: Invalid javascrip [message #781160 is a reply to message #780614] Fri, 20 January 2012 14:22 Go to previous messageGo to next message
Poornima Gupta is currently offline Poornima Gupta
Messages: 2
Registered: January 2012
Junior Member
I'm using scripted data source.

All the data is coming from stored procedures, I cannot use jdbc datasource.

Even with one simple element, any data type i get the same error.

stack is :

etail : org.eclipse.birt.report.engine.api.EngineException: A BIRT exception occurred. See next exception for more information.
Invalid javascript expression: dataSetRow["totProdCount"] (Element ID:573)
at org.eclipse.birt.report.engine.executor.ExecutionContext.addException(ExecutionContext.java:1214)
at org.eclipse.birt.report.engine.executor.ExecutionContext.addException(ExecutionContext.java:1193)
at org.eclipse.birt.report.engine.executor.QueryItemExecutor.executeQuery(QueryItemExecutor.java:96)
at org.eclipse.birt.report.engine.executor.TableItemExecutor.execute(TableItemExecutor.java:62)
at org.eclipse.birt.report.engine.internal.executor.dup.SuppressDuplicateItemExecutor.execute(SuppressDuplicateItemExecutor.java:43)
at org.eclipse.birt.report.engine.internal.executor.wrap.WrappedReportItemExecutor.execute(WrappedReportItemExecutor.java:46)
at org.eclipse.birt.report.engine.internal.executor.l18n.LocalizedReportItemExecutor.execute(LocalizedReportItemExecutor.java:34)
at org.eclipse.birt.report.engine.layout.html.HTMLBlockStackingLM.layoutNodes(HTMLBlockStackingLM.java:65)
at org.eclipse.birt.report.engine.layout.html.HTMLStackingLM.layoutChildren(HTMLStackingLM.java:26)
1937,2-9 22%
Re: org.eclipse.birt.report.engine.api.EngineException: A BIRT exception occurred: Invalid javascrip [message #782388 is a reply to message #781160] Mon, 23 January 2012 11:30 Go to previous message
Jason Weathersby is currently offline Jason Weathersby
Messages: 9167
Registered: July 2009
Senior Member

Are you calling the stored procedures from the scripted data source?
If so do you have all the jars for the scripted data source in the
scriptlib directory(version <=2.6.2)?

Jason

On 1/20/2012 2:22 PM, Poornima Gupta wrote:
> I'm using scripted data source.
>
> All the data is coming from stored procedures, I cannot use jdbc
> datasource.
>
> Even with one simple element, any data type i get the same error.
>
> stack is :
>
> etail : org.eclipse.birt.report.engine.api.EngineException: A BIRT
> exception occurred. See next exception for more information.
> Invalid javascript expression: dataSetRow["totProdCount"] (Element ID:573)
> at
> org.eclipse.birt.report.engine.executor.ExecutionContext.addException(ExecutionContext.java:1214)
>
> at
> org.eclipse.birt.report.engine.executor.ExecutionContext.addException(ExecutionContext.java:1193)
>
> at
> org.eclipse.birt.report.engine.executor.QueryItemExecutor.executeQuery(QueryItemExecutor.java:96)
>
> at
> org.eclipse.birt.report.engine.executor.TableItemExecutor.execute(TableItemExecutor.java:62)
>
> at
> org.eclipse.birt.report.engine.internal.executor.dup.SuppressDuplicateItemExecutor.execute(SuppressDuplicateItemExecutor.java:43)
>
> at
> org.eclipse.birt.report.engine.internal.executor.wrap.WrappedReportItemExecutor.execute(WrappedReportItemExecutor.java:46)
>
> at
> org.eclipse.birt.report.engine.internal.executor.l18n.LocalizedReportItemExecutor.execute(LocalizedReportItemExecutor.java:34)
>
> at
> org.eclipse.birt.report.engine.layout.html.HTMLBlockStackingLM.layoutNodes(HTMLBlockStackingLM.java:65)
>
> at
> org.eclipse.birt.report.engine.layout.html.HTMLStackingLM.layoutChildren(HTMLStackingLM.java:26)
>
> 1937,2-9 22%
>
Previous Topic:BigDecimal columns not showing up in chart from HIVE source
Next Topic:not displaying Multiline string value(is String is not having space
Goto Forum:
  


Current Time: Tue Jul 22 17:46:34 EDT 2014

Powered by FUDForum. Page generated in 0.01586 seconds