Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » BIRT » Invalid Javascript expression: null of 2.0RC
Invalid Javascript expression: null of 2.0RC [message #105918] Sat, 07 January 2006 23:04 Go to next message
James Tan is currently offline James TanFriend
Messages: 93
Registered: July 2009
Member
Anyone has any idea what this exception means ? I created a report from
scratch with 2.0RC and it gives this error. Openning an existing report
design file with M3 works however.

Error0 : data.engine.InvalidJSExpr ( 1 time(s) )
detail : org.eclipse.birt.data.engine.core.DataException: Invalid Javascript
expression: null
FAILED ASSERTION
at
org.eclipse.birt.data.engine.impl.AbstractExpressionParser.c ompileExpression(AbstractExpressionParser.java:60)
at
org.eclipse.birt.data.engine.impl.ExpressionProcessor.hasAgg regateExpr(ExpressionProcessor.java:316)
at
org.eclipse.birt.data.engine.executor.CachedResultSet.hasAgg regationsInComputedColumns(CachedResultSet.java:289)
at
org.eclipse.birt.data.engine.executor.CachedResultSet.popula teResultSet(CachedResultSet.java:225)
at
org.eclipse.birt.data.engine.executor.CachedResultSet.<init >(CachedResultSet.java:84)
at
org.eclipse.birt.data.engine.executor.DataSourceQuery.execut e(DataSourceQuery.java:546)
at
org.eclipse.birt.data.engine.impl.PreparedExtendedDSQuery$Ex tendedDSQueryExecutor.executeOdiQuery(PreparedExtendedDSQuer y.java:353)
at
org.eclipse.birt.data.engine.impl.PreparedQuery$Executor.exe cute(PreparedQuery.java:712)
at
org.eclipse.birt.data.engine.impl.QueryResults.getResultIter ator(QueryResults.java:110)
at
org.eclipse.birt.report.engine.data.dte.DteDataEngine.execut e(DteDataEngine.java:210)
at
org.eclipse.birt.report.engine.executor.QueryItemExecutor.op enResultSet(QueryItemExecutor.java:62)
at
org.eclipse.birt.report.engine.executor.TableItemExecutor.ex ecute(TableItemExecutor.java:114)
at
org.eclipse.birt.report.engine.executor.ReportExecutorVisito r.visitTableItem(ReportExecutorVisitor.java:187)
at
org.eclipse.birt.report.engine.ir.TableItemDesign.accept(Tab leItemDesign.java:69)
at
org.eclipse.birt.report.engine.executor.ReportExecutor.execu te(ReportExecutor.java:121)
at
org.eclipse.birt.report.engine.executor.ReportExecutor.execu te(ReportExecutor.java:87)
at
org.eclipse.birt.report.engine.api.impl.RunAndRenderTask.run (RunAndRenderTask.java:148)
at
org.eclipse.birt.report.services.ReportEngineService.runAndR enderReport(Unknown
Source)
at
org.eclipse.birt.report.viewer.aggregation.layout.EngineFrag ment.doService(Unknown
Source)
at org.eclipse.birt.report.viewer.aggregation.BaseFragment.serv ice(Unknown
Source)
at org.eclipse.birt.report.viewer.servlet.ViewerServlet.doGet(U nknown
Source)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
at
org.apache.axis.transport.http.AxisServletBase.service(AxisS ervletBase.java:327)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFi lter(ApplicationFilterChain.java:247)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(App licationFilterChain.java:193)
at
org.apache.catalina.core.StandardWrapperValve.invoke(Standar dWrapperValve.java:256)
at
org.apache.catalina.core.StandardPipeline$StandardPipelineVa lveContext.invokeNext(StandardPipeline.java:643)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPip eline.java:480)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase. java:995)
at
org.apache.catalina.core.StandardContextValve.invoke(Standar dContextValve.java:191)
at
org.apache.catalina.core.StandardPipeline$StandardPipelineVa lveContext.invokeNext(StandardPipeline.java:643)
at
org.apache.catalina.valves.CertificatesValve.invoke(Certific atesValve.java:246)
at
org.apache.catalina.core.StandardPipeline$StandardPipelineVa lveContext.invokeNext(StandardPipeline.java:641)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPip eline.java:480)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase. java:995)
at
org.apache.catalina.core.StandardContext.invoke(StandardCont ext.java:2422)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHo stValve.java:180)
at
org.apache.catalina.core.StandardPipeline$StandardPipelineVa lveContext.invokeNext(StandardPipeline.java:643)
at
org.apache.catalina.valves.ErrorDispatcherValve.invoke(Error DispatcherValve.java:171)
at
org.apache.catalina.core.StandardPipeline$StandardPipelineVa lveContext.invokeNext(StandardPipeline.java:641)
at
org.eclipse.tomcat.internal.EclipseErrorReportValve.invoke(E clipseErrorReportValve.java:153)
at
org.apache.catalina.core.StandardPipeline$StandardPipelineVa lveContext.invokeNext(StandardPipeline.java:641)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPip eline.java:480)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase. java:995)
at
org.apache.catalina.core.StandardEngineValve.invoke(Standard EngineValve.java:174)
at
org.apache.catalina.core.StandardPipeline$StandardPipelineVa lveContext.invokeNext(StandardPipeline.java:643)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPip eline.java:480)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase. java:995)
at org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapte r.java:199)
at
org.apache.coyote.http11.Http11Processor.process(Http11Proce ssor.java:828)
at
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHand ler.processConnection(Http11Protocol.java:700)
at
org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndp oint.java:584)
at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.ru n(ThreadPool.java:683)
at java.lang.Thread.run(Unknown Source)
Caused by: java.lang.IllegalStateException: FAILED ASSERTION
at org.mozilla.javascript.Kit.codeBug(Kit.java:425)
at org.mozilla.javascript.TokenStream.<init>(TokenStream.java:78)
at org.mozilla.javascript.Parser.parse(Parser.java:285)
at
org.eclipse.birt.data.engine.impl.AbstractExpressionParser.p arse(AbstractExpressionParser.java:137)
at
org.eclipse.birt.data.engine.impl.AbstractExpressionParser.c ompileExpression(AbstractExpressionParser.java:55)
... 54 more
Re: Invalid Javascript expression: null of 2.0RC [message #108602 is a reply to message #105918] Thu, 12 January 2006 19:01 Go to previous message
Gary Xue is currently offline Gary XueFriend
Messages: 193
Registered: July 2009
Senior Member
Can you please post the report design that's giving you the error? If you
believe this to be a bug, posting that on Bugzilla may get you a quicker
resolution.

thanks,

--
Gary Xue
Actuate Corporation - Product Development
BIRT Committer

"Report Guy" <jamestanms@hotmail.com> wrote in message
news:dpphef$8i1$1@utils.eclipse.org...
> Anyone has any idea what this exception means ? I created a report from
> scratch with 2.0RC and it gives this error. Openning an existing report
> design file with M3 works however.
>
> Error0 : data.engine.InvalidJSExpr ( 1 time(s) )
> detail : org.eclipse.birt.data.engine.core.DataException: Invalid
Javascript
> expression: null
> FAILED ASSERTION
> at
>
org.eclipse.birt.data.engine.impl.AbstractExpressionParser.c ompileExpression
(AbstractExpressionParser.java:60)
> at
>
org.eclipse.birt.data.engine.impl.ExpressionProcessor.hasAgg regateExpr(Expre
ssionProcessor.java:316)
> at
>
org.eclipse.birt.data.engine.executor.CachedResultSet.hasAgg regationsInCompu
tedColumns(CachedResultSet.java:289)
> at
>
org.eclipse.birt.data.engine.executor.CachedResultSet.popula teResultSet(Cach
edResultSet.java:225)
> at
>
org.eclipse.birt.data.engine.executor.CachedResultSet.<init >(CachedResultSet
..java:84)
> at
>
org.eclipse.birt.data.engine.executor.DataSourceQuery.execut e(DataSourceQuer
y.java:546)
> at
>
org.eclipse.birt.data.engine.impl.PreparedExtendedDSQuery$Ex tendedDSQueryExe
cutor.executeOdiQuery(PreparedExtendedDSQuery.java:353)
> at
>
org.eclipse.birt.data.engine.impl.PreparedQuery$Executor.exe cute(PreparedQue
ry.java:712)
> at
>
org.eclipse.birt.data.engine.impl.QueryResults.getResultIter ator(QueryResult
s.java:110)
> at
>
org.eclipse.birt.report.engine.data.dte.DteDataEngine.execut e(DteDataEngine.
java:210)
> at
>
org.eclipse.birt.report.engine.executor.QueryItemExecutor.op enResultSet(Quer
yItemExecutor.java:62)
> at
>
org.eclipse.birt.report.engine.executor.TableItemExecutor.ex ecute(TableItemE
xecutor.java:114)
> at
>
org.eclipse.birt.report.engine.executor.ReportExecutorVisito r.visitTableItem
(ReportExecutorVisitor.java:187)
> at
>
org.eclipse.birt.report.engine.ir.TableItemDesign.accept(Tab leItemDesign.jav
a:69)
> at
>
org.eclipse.birt.report.engine.executor.ReportExecutor.execu te(ReportExecuto
r.java:121)
> at
>
org.eclipse.birt.report.engine.executor.ReportExecutor.execu te(ReportExecuto
r.java:87)
> at
>
org.eclipse.birt.report.engine.api.impl.RunAndRenderTask.run (RunAndRenderTas
k.java:148)
> at
>
org.eclipse.birt.report.services.ReportEngineService.runAndR enderReport(Unkn
own
> Source)
> at
>
org.eclipse.birt.report.viewer.aggregation.layout.EngineFrag ment.doService(U
nknown
> Source)
> at
org.eclipse.birt.report.viewer.aggregation.BaseFragment.serv ice(Unknown
> Source)
> at org.eclipse.birt.report.viewer.servlet.ViewerServlet.doGet(U nknown
> Source)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
> at
>
org.apache.axis.transport.http.AxisServletBase.service(AxisS ervletBase.java:
327)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
> at
>
org.apache.catalina.core.ApplicationFilterChain.internalDoFi lter(Application
FilterChain.java:247)
> at
>
org.apache.catalina.core.ApplicationFilterChain.doFilter(App licationFilterCh
ain.java:193)
> at
>
org.apache.catalina.core.StandardWrapperValve.invoke(Standar dWrapperValve.ja
va:256)
> at
>
org.apache.catalina.core.StandardPipeline$StandardPipelineVa lveContext.invok
eNext(StandardPipeline.java:643)
> at
>
org.apache.catalina.core.StandardPipeline.invoke(StandardPip eline.java:480)
> at org.apache.catalina.core.ContainerBase.invoke(ContainerBase. java:995)
> at
>
org.apache.catalina.core.StandardContextValve.invoke(Standar dContextValve.ja
va:191)
> at
>
org.apache.catalina.core.StandardPipeline$StandardPipelineVa lveContext.invok
eNext(StandardPipeline.java:643)
> at
>
org.apache.catalina.valves.CertificatesValve.invoke(Certific atesValve.java:2
46)
> at
>
org.apache.catalina.core.StandardPipeline$StandardPipelineVa lveContext.invok
eNext(StandardPipeline.java:641)
> at
>
org.apache.catalina.core.StandardPipeline.invoke(StandardPip eline.java:480)
> at org.apache.catalina.core.ContainerBase.invoke(ContainerBase. java:995)
> at
> org.apache.catalina.core.StandardContext.invoke(StandardCont ext.java:2422)
> at
>
org.apache.catalina.core.StandardHostValve.invoke(StandardHo stValve.java:180
)
> at
>
org.apache.catalina.core.StandardPipeline$StandardPipelineVa lveContext.invok
eNext(StandardPipeline.java:643)
> at
>
org.apache.catalina.valves.ErrorDispatcherValve.invoke(Error DispatcherValve.
java:171)
> at
>
org.apache.catalina.core.StandardPipeline$StandardPipelineVa lveContext.invok
eNext(StandardPipeline.java:641)
> at
>
org.eclipse.tomcat.internal.EclipseErrorReportValve.invoke(E clipseErrorRepor
tValve.java:153)
> at
>
org.apache.catalina.core.StandardPipeline$StandardPipelineVa lveContext.invok
eNext(StandardPipeline.java:641)
> at
>
org.apache.catalina.core.StandardPipeline.invoke(StandardPip eline.java:480)
> at org.apache.catalina.core.ContainerBase.invoke(ContainerBase. java:995)
> at
>
org.apache.catalina.core.StandardEngineValve.invoke(Standard EngineValve.java
:174)
> at
>
org.apache.catalina.core.StandardPipeline$StandardPipelineVa lveContext.invok
eNext(StandardPipeline.java:643)
> at
>
org.apache.catalina.core.StandardPipeline.invoke(StandardPip eline.java:480)
> at org.apache.catalina.core.ContainerBase.invoke(ContainerBase. java:995)
> at
org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapte r.java:199)
> at
> org.apache.coyote.http11.Http11Processor.process(Http11Proce ssor.java:828)
> at
>
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHand ler.processConne
ction(Http11Protocol.java:700)
> at
> org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndp oint.java:584)
> at
>
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.ru n(ThreadPool.jav
a:683)
> at java.lang.Thread.run(Unknown Source)
> Caused by: java.lang.IllegalStateException: FAILED ASSERTION
> at org.mozilla.javascript.Kit.codeBug(Kit.java:425)
> at org.mozilla.javascript.TokenStream.<init>(TokenStream.java:78)
> at org.mozilla.javascript.Parser.parse(Parser.java:285)
> at
>
org.eclipse.birt.data.engine.impl.AbstractExpressionParser.p arse(AbstractExp
ressionParser.java:137)
> at
>
org.eclipse.birt.data.engine.impl.AbstractExpressionParser.c ompileExpression
(AbstractExpressionParser.java:55)
> ... 54 more
>
>
>
Previous Topic:Activating / Deactivating Rows
Next Topic:ORDER BY clause ignored in web viewer
Goto Forum:
  


Current Time: Thu Dec 26 11:24:06 GMT 2024

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

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

Back to the top