Prasanth Manchambhatla [
https://community.jboss.org/people/pmancham] created the
discussion
"Error in process_summary.rptdesign"
To view the discussion, visit:
https://community.jboss.org/message/648273#648273
--------------------------------------------------------------
What could cause the below error? I did not change the report design except adding the
appropriate datasource details. Overall activity report works fine.
RETURN select
p.PROCESSINSTANCEID,
p.PROCESSID,
p.START_DATE,
p.END_DATE
from
JBPM.PROCESSINSTANCELOG p
where
p.PROCESSID = ?
order by p.PROCESSINSTANCEID DESC
13:58:06,490 FINER [org.eclipse.birt.data.engine.odaconsumer] (http--0.0.0.0-8080-5)
ENTRY
13:58:06,490 FINER [org.eclipse.birt.data.engine.odaconsumer] (http--0.0.0.0-8080-5)
ENTRY
13:58:06,490 FINER [org.eclipse.birt.data.engine.odaconsumer] (http--0.0.0.0-8080-5)
RETURN org.eclipse.birt.data.engine.executor.ResultClass@ae7d5d
13:58:06,490 FINER [org.eclipse.birt.data.engine.odaconsumer] (http--0.0.0.0-8080-5) ENTRY
org.eclipse.datatools.connectivity.oda.consumer.helper.OdaResultSet@9fdf13
org.eclipse.birt.data.engine.executor.ResultClass@ae7d5d
13:58:06,490 FINER [org.eclipse.birt.data.engine.odaconsumer] (http--0.0.0.0-8080-5)
RETURN org.eclipse.birt.data.engine.odaconsumer.ResultSet@1ee6d3b
13:58:06,490 FINER [org.eclipse.birt.data.engine.odaconsumer] (http--0.0.0.0-8080-5)
RETURN org.eclipse.birt.data.engine.odaconsumer.ResultSet@1ee6d3b
13:58:06,506 SEVERE [org.eclipse.birt.report.engine.api.impl.ReportEngine]
(http--0.0.0.0-8080-5) A BIRT exception occurred. See next exception for more
information.
Can not convert the value of org.eclipse.birt.data.engine.core.DataException: A BIRT
exception occurred. See next exception for more information.
Error evaluating Javascript expression. Script engine error: ReferenceError:
"NULL" is not defined.
Script source: null, line: 0, text:
<compiled script> to Integer type.: org.eclipse.birt.data.engine.core.DataException:
A BIRT exception occurred. See next exception for more information.
Can not convert the value of org.eclipse.birt.data.engine.core.DataException: A BIRT
exception occurred. See next exception for more information.
Error evaluating Javascript expression. Script engine error: ReferenceError:
"NULL" is not defined.
Script source: null, line: 0, text:
<compiled script> to Integer type.
at org.eclipse.birt.data.engine.core.DataException.wrap(DataException.java:123)
[org.eclipse.birt.runtime_3.7.0.v20110615-1818.jar:]
at
org.eclipse.birt.data.engine.executor.cache.ResultObjectUtil.convert(ResultObjectUtil.java:367)
[org.eclipse.birt.runtime_3.7.0.v20110615-1818.jar:]
at
org.eclipse.birt.data.engine.executor.cache.ResultObjectUtil.writeData(ResultObjectUtil.java:305)
[org.eclipse.birt.runtime_3.7.0.v20110615-1818.jar:]
at
org.eclipse.birt.data.engine.executor.dscache.CacheUtilFactory$DiskSaveUtil.saveObject(CacheUtilFactory.java:191)
[org.eclipse.birt.runtime_3.7.0.v20110615-1818.jar:]
at
org.eclipse.birt.data.engine.executor.dscache.DataSetToCache.saveDataSetResult(DataSetToCache.java:185)
[org.eclipse.birt.runtime_3.7.0.v20110615-1818.jar:]
at
org.eclipse.birt.data.engine.executor.transform.ResultSetPopulator.cacheDataSet(ResultSetPopulator.java:205)
[org.eclipse.birt.runtime_3.7.0.v20110615-1818.jar:]
at
org.eclipse.birt.data.engine.executor.transform.CachedResultSet.<init>(CachedResultSet.java:142)
[org.eclipse.birt.runtime_3.7.0.v20110615-1818.jar:]
at
org.eclipse.birt.data.engine.executor.DataSourceQuery.execute(DataSourceQuery.java:1031)
[org.eclipse.birt.runtime_3.7.0.v20110615-1818.jar:]
at
org.eclipse.birt.data.engine.impl.PreparedOdaDSQuery$OdaDSQueryExecutor.executeOdiQuery(PreparedOdaDSQuery.java:441)
[org.eclipse.birt.runtime_3.7.0.v20110615-1818.jar:]
at
org.eclipse.birt.data.engine.impl.QueryExecutor.execute(QueryExecutor.java:1495)
[org.eclipse.birt.runtime_3.7.0.v20110615-1818.jar:]
at
org.eclipse.birt.data.engine.impl.ServiceForQueryResults.executeQuery(ServiceForQueryResults.java:232)
[org.eclipse.birt.runtime_3.7.0.v20110615-1818.jar:]
at
org.eclipse.birt.data.engine.impl.QueryResults.getResultIterator(QueryResults.java:173)
[org.eclipse.birt.runtime_3.7.0.v20110615-1818.jar:]
at
org.eclipse.birt.report.engine.data.dte.QueryResultSet.<init>(QueryResultSet.java:98)
[org.eclipse.birt.runtime_3.7.0.v20110615-1818.jar:]
at
org.eclipse.birt.report.engine.data.dte.DteDataEngine.doExecuteQuery(DteDataEngine.java:168)
[org.eclipse.birt.runtime_3.7.0.v20110615-1818.jar:]
at
org.eclipse.birt.report.engine.data.dte.DataGenerationEngine.doExecuteQuery(DataGenerationEngine.java:80)
[org.eclipse.birt.runtime_3.7.0.v20110615-1818.jar:]
at
org.eclipse.birt.report.engine.data.dte.AbstractDataEngine.execute(AbstractDataEngine.java:265)
[org.eclipse.birt.runtime_3.7.0.v20110615-1818.jar:]
at
org.eclipse.birt.report.engine.executor.ExtendedGenerateExecutor.executeQueries(ExtendedGenerateExecutor.java:205)
[org.eclipse.birt.runtime_3.7.0.v20110615-1818.jar:]
at
org.eclipse.birt.report.engine.executor.ExtendedGenerateExecutor.execute(ExtendedGenerateExecutor.java:65)
[org.eclipse.birt.runtime_3.7.0.v20110615-1818.jar:]
at
org.eclipse.birt.report.engine.executor.ExtendedItemExecutor.execute(ExtendedItemExecutor.java:62)
[org.eclipse.birt.runtime_3.7.0.v20110615-1818.jar:]
at
org.eclipse.birt.report.engine.internal.executor.wrap.WrappedReportItemExecutor.execute(WrappedReportItemExecutor.java:46)
[org.eclipse.birt.runtime_3.7.0.v20110615-1818.jar:]
at
org.eclipse.birt.report.engine.internal.executor.emitter.ReportItemEmitterExecutor.execute(ReportItemEmitterExecutor.java:46)
[org.eclipse.birt.runtime_3.7.0.v20110615-1818.jar:]
at
org.eclipse.birt.report.engine.internal.executor.dup.SuppressDuplicateItemExecutor.execute(SuppressDuplicateItemExecutor.java:43)
[org.eclipse.birt.runtime_3.7.0.v20110615-1818.jar:]
at
org.eclipse.birt.report.engine.layout.html.HTMLBlockStackingLM.layoutNodes(HTMLBlockStackingLM.java:65)
[org.eclipse.birt.runtime_3.7.0.v20110615-1818.jar:]
at
org.eclipse.birt.report.engine.layout.html.HTMLPageLM.layout(HTMLPageLM.java:92)
[org.eclipse.birt.runtime_3.7.0.v20110615-1818.jar:]
at
org.eclipse.birt.report.engine.layout.html.HTMLReportLayoutEngine.layout(HTMLReportLayoutEngine.java:100)
[org.eclipse.birt.runtime_3.7.0.v20110615-1818.jar:]
at
org.eclipse.birt.report.engine.presentation.ReportDocumentBuilder.build(ReportDocumentBuilder.java:258)
[org.eclipse.birt.runtime_3.7.0.v20110615-1818.jar:]
at org.eclipse.birt.report.engine.api.impl.RunTask.doRun(RunTask.java:260)
[org.eclipse.birt.runtime_3.7.0.v20110615-1818.jar:]
at org.eclipse.birt.report.engine.api.impl.RunTask.run(RunTask.java:85)
[org.eclipse.birt.runtime_3.7.0.v20110615-1818.jar:]
at org.jboss.bpm.report.BirtService.render(BirtService.java:276)
[report-core-1.4.2.Final.jar:]
at org.jboss.bpm.report.ReportFacade.renderReportHtml(ReportFacade.java:147)
[report-core-1.4.2.Final.jar:]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [:1.6.0_21]
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
[:1.6.0_21]
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
[:1.6.0_21]
at java.lang.reflect.Method.invoke(Method.java:597) [:1.6.0_21]
at
org.jboss.resteasy.core.MethodInjectorImpl.invoke(MethodInjectorImpl.java:140)
[resteasy-jaxrs-2.2.1.GA.jar:]
at
org.jboss.resteasy.core.ResourceMethod.invokeOnTarget(ResourceMethod.java:255)
[resteasy-jaxrs-2.2.1.GA.jar:]
at org.jboss.resteasy.core.ResourceMethod.invoke(ResourceMethod.java:220)
[resteasy-jaxrs-2.2.1.GA.jar:]
at org.jboss.resteasy.core.ResourceMethod.invoke(ResourceMethod.java:209)
[resteasy-jaxrs-2.2.1.GA.jar:]
at
org.jboss.resteasy.core.SynchronousDispatcher.getResponse(SynchronousDispatcher.java:519)
[resteasy-jaxrs-2.2.1.GA.jar:]
at
org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:496)
[resteasy-jaxrs-2.2.1.GA.jar:]
at
org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:119)
[resteasy-jaxrs-2.2.1.GA.jar:]
at
org.jboss.resteasy.plugins.server.servlet.ServletContainerDispatcher.service(ServletContainerDispatcher.java:208)
[resteasy-jaxrs-2.2.1.GA.jar:]
at
org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher.service(HttpServletDispatcher.java:55)
[resteasy-jaxrs-2.2.1.GA.jar:]
at
org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher.service(HttpServletDispatcher.java:50)
[resteasy-jaxrs-2.2.1.GA.jar:]
at javax.servlet.http.HttpServlet.service(HttpServlet.java:847)
[jboss-servlet-api_3.0_spec-1.0.0.Final.jar:1.0.0.Final]
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:329)
[jbossweb-7.0.1.Final.jar:7.0.2.Final]
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248)
[jbossweb-7.0.1.Final.jar:7.0.2.Final]
at
org.jboss.bpm.console.server.util.GWTJsonFilter.doFilter(GWTJsonFilter.java:59)
[classes:]
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:280)
[jbossweb-7.0.1.Final.jar:7.0.2.Final]
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248)
[jbossweb-7.0.1.Final.jar:7.0.2.Final]
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:275)
[jbossweb-7.0.1.Final.jar:7.0.2.Final]
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:161)
[jbossweb-7.0.1.Final.jar:7.0.2.Final]
at
org.jboss.as.web.security.SecurityContextAssociationValve.invoke(SecurityContextAssociationValve.java:139)
[jboss-as-web-7.0.2.Final.jar:7.0.2.Final]
at
org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:388)
[jbossweb-7.0.1.Final.jar:7.0.2.Final]
at org.jboss.as.web.NamingValve.invoke(NamingValve.java:57)
[jboss-as-web-7.0.2.Final.jar:7.0.2.Final]
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:154)
[jbossweb-7.0.1.Final.jar:7.0.2.Final]
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
[jbossweb-7.0.1.Final.jar:7.0.2.Final]
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
[jbossweb-7.0.1.Final.jar:7.0.2.Final]
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:362)
[jbossweb-7.0.1.Final.jar:7.0.2.Final]
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:877)
[jbossweb-7.0.1.Final.jar:7.0.2.Final]
at
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:667)
[jbossweb-7.0.1.Final.jar:7.0.2.Final]
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:952)
[jbossweb-7.0.1.Final.jar:7.0.2.Final]
at java.lang.Thread.run(Thread.java:619) [:1.6.0_21]
Caused by: org.eclipse.birt.core.exception.CoreException: Can not convert the value of
org.eclipse.birt.data.engine.core.DataException: A BIRT exception occurred. See next
exception for more information.
Error evaluating Javascript expression. Script engine error: ReferenceError:
"NULL" is not defined.
Script source: null, line: 0, text:
<compiled script> to Integer type.
at org.eclipse.birt.core.data.DataTypeUtil.toInteger(DataTypeUtil.java:285)
[org.eclipse.birt.runtime_3.7.0.v20110615-1818.jar:]
at org.eclipse.birt.core.data.DataTypeUtil.convert(DataTypeUtil.java:104)
[org.eclipse.birt.runtime_3.7.0.v20110615-1818.jar:]
at
org.eclipse.birt.data.engine.executor.cache.ResultObjectUtil.convert(ResultObjectUtil.java:363)
[org.eclipse.birt.runtime_3.7.0.v20110615-1818.jar:]
... 61 more
--------------------------------------------------------------
Reply to this message by going to Community
[
https://community.jboss.org/message/648273#648273]
Start a new discussion in jBPM at Community
[
https://community.jboss.org/choose-container!input.jspa?contentType=1&...]