on 04-11-2007 12:25 PM
<p>We're running CRXI on top of Java, outputting our reports to PDF.</p><p>We have a main report and five subreports. If I suppress the first subreport, the main report (and subreports) works fine. If I include the first subreport, I get an error as below. Crystal appears to verify that the database is working then the process just falls over. What really gets me is that the subreport that is causing the problem is the simplest subreport there is; essentially, one data column. </p><p> </p><p><code>2007-04-10 22:37:40,265 DEBUG [http-8080-Processor25][reportdefinition:?] - fieldsInUse list includes Field Definition: WCS._emp_street<br />2007-04-10 22:37:40,265 DEBUG [http-8080-Processor25][reportdefinition:?] - fieldsInUse list includes Field Definition: WCS._pm_middle_name<br />2007-04-10 22:37:40,265 DEBUG [http-8080-Processor25][reportdefinition:?] - fieldsInUse list includes Field Definition: WCS._add_zip<br />2007-04-10 22:37:40,281 DEBUG [http-8080-Processor25][reportdefinition:?] - fieldsInUse list includes Field Definition: WCS._pd_dl_year<br />2007-04-10 22:37:40,281 DEBUG [http-8080-Processor25][reportdefinition:?] - fieldsInUse list includes Field Definition: WCS._eyecolor<br />2007-04-10 22:37:40,281 DEBUG [http-8080-Processor25][reportdefinition:?] - fieldsInUse list includes Field Definition: @PmId<br />2007-04-10 22:37:40,281 INFO [http-8080-Processor25][dataengine:?] - End verifying database<br />2007-04-10 22:37:40,281 INFO [http-8080-Processor25][JRCCommunicationAdapter:?] - JRCAgent2 received request: refreshFormulaTextRequest<br />2007-04-10 22:37:40,281 ERROR [http-8080-Processor25][JRCCommunicationAdapter:?] - JRCAgent2 received a request that cannot be handled by the JRC<br />2007-04-10 22:37:40,281 ERROR [http-8080-Processor25][JRCCommunicationAdapter:?] - JRCAgent2 detected an exception: Currently not implemented in the Java Reporting Component<br />2007-04-10 22:37:40,281 INFO [http-8080-Processor25][JRCCommunicationAdapter:?] - JRCAgent2 received request: fetchSubreportContents<br />2007-04-10 22:37:40,281 ERROR [http-8080-Processor25][JRCCommunicationAdapter:?] - JRCAgent2 detected an exception: java.lang.NullPointerException<br />2007-04-10 22:37:40,281 ERROR [http-8080-Processor25][RptControllerImpl:460] - com.crystaldecisions.sdk.occa.report.lib.ReportSDKException: java.lang.NullPointerException---- Error code:-2147467259 Error code name:failed at com.businessobjects.reports.sdk.JRCCommunicationAdapter.request(Unknown Source)<br /> at com.crystaldecisions.proxy.remoteagent.y.a(Unknown Source)<br /> ... <br /></code> </p><p> </p><p>Probably unrelated, but worth mentioning: I'm seeing in my logs references to the mystical formula {@}. I've searched and searched but I can't find any abandoned formulas that don't have a name. </p><p><code> <br />2007-04-10 22:37:38,281 DEBUG [http-8080-Processor25][Compiler:?] - Compiling formula {@Record Selection}...<br />2007-04-10 22:37:38,281 INFO [http-8080-Processor25][Compiler:?] - Formula {@Record Selection} compiled.<br />2007-04-10 22:37:38,281 DEBUG [http-8080-Processor25][Compiler:?] - Compiling formula {@Group Selection}...<br />2007-04-10 22:37:38,281 INFO [http-8080-Processor25][Compiler:?] - Formula {@Group Selection} compiled.<br />2007-04-10 22:37:38,281 DEBUG [http-8080-Processor25][Compiler:?] - Compiling formula {@}...<br />2007-04-10 22:37:38,281 INFO [http-8080-Processor25][Compiler:?] - Formula {@} compiled.<br />2007-04-10 22:37:38,281 DEBUG [http-8080-Processor25][Compiler:?] - Compiling formula {@Header}...<br /></code></p><p>Any ideas? Any help would be appreciated. Thanks! </p>
<p> </p><p>The "refreshFormulaTextRequest: cannot be handled by the JRC" log message is unrelated to the problem you're facing - it's an erroneous log message that was not removed when the functionality was placed elsewhere. </p><p>Please refer to KBase <span style="margin-left: 5px">2337832</span> on the support site.</p><p>From the stack trace, the issue appears to be when the JRC is retrieving the subreport - it's encountering an NPE.</p><p>What happens when you re-create the subreport? Does the problem still happen?</p><p>Ted Ueda </p>
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
85 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.