<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<body link="#355491" alink="#4262a1" vlink="#355491" style="background: #e2e2e2; margin: 0; padding: 20px;">

<div>
        <table cellpadding="0" bgcolor="#FFFFFF" border="0" cellspacing="0" style="border: 1px solid #dadada; margin-bottom: 30px; width: 100%; -moz-border-radius: 6px; -webkit-border-radius: 6px;">
                <tbody>
                        <tr>

                                <td>

                                        <table border="0" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF" style="border: solid 2px #ccc; background: #dadada; width: 100%; -moz-border-radius: 6px; -webkit-border-radius: 6px;">
                                                <tbody>
                                                        <tr>
                                                                <td bgcolor="#000000" valign="middle" height="58px" style="border-bottom: 1px solid #ccc; padding: 20px; -moz-border-radius-topleft: 3px; -moz-border-radius-topright: 3px; -webkit-border-top-right-radius: 5px; -webkit-border-top-left-radius: 5px;">
                                                                        <h1 style="color: #333333; font: bold 22px Arial, Helvetica, sans-serif; margin: 0; display: block !important;">
                                                                        <!-- To have a header image/logo replace the name below with your img tag -->
                                                                        <!-- Email clients will render the images when the message is read so any image -->
                                                                        <!-- must be made available on a public server, so that all recipients can load the image. -->
                                                                        <a href="https://community.jboss.org/index.jspa" style="text-decoration: none; color: #E1E1E1">JBoss Community</a></h1>
                                                                </td>

                                                        </tr>
                                                        <tr>
                                                                <td bgcolor="#FFFFFF" style="font: normal 12px Arial, Helvetica, sans-serif; color:#333333; padding: 20px;  -moz-border-radius-bottomleft: 4px; -moz-border-radius-bottomright: 4px; -webkit-border-bottom-right-radius: 5px; -webkit-border-bottom-left-radius: 5px;"><h3 style="margin: 10px 0 5px; font-size: 17px; font-weight: normal;">
    Error in process_summary.rptdesign
</h3>
<span style="margin-bottom: 10px;">
    created by <a href="https://community.jboss.org/people/pmancham">Prasanth Manchambhatla</a> in <i>jBPM</i> - <a href="https://community.jboss.org/message/648273#648273">View the full discussion</a>
</span>
<hr style="margin: 20px 0; border: none; background-color: #dadada; height: 1px;">

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

<div style="background-color: #f4f4f4; padding: 10px; margin-top: 20px;">
    <p style="margin: 0;">Reply to this message by <a href="https://community.jboss.org/message/648273#648273">going to Community</a></p>
        <p style="margin: 0;">Start a new discussion in jBPM at <a href="https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034">Community</a></p>
</div></td>
                        </tr>
                    </tbody>
                </table>


                </td>
            </tr>
        </tbody>
    </table>

</div>

</body>
</html>