cancel
Showing results for 
Search instead for 
Did you mean: 

refreshFormulaTextRequest: cannot be handled by the JRC

Former Member
0 Kudos

<p>We&#39;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>&nbsp;</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>&nbsp;</p><p>Probably unrelated, but worth mentioning: I&#39;m seeing in my logs references to the mystical formula {@}. I&#39;ve searched and searched but I can&#39;t find any abandoned formulas that don&#39;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>

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

<p>&nbsp;</p><p>The "refreshFormulaTextRequest: cannot be handled by the JRC" log message is unrelated to the problem you&#39;re facing - it&#39;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&#39;s encountering an NPE.</p><p>What happens when you re-create the subreport? Does the problem still happen?</p><p>Ted Ueda </p>

Former Member
0 Kudos

<p>Hi Ted,</p><p>The problem does NOT reoccur after re-creating the subreport.</p><p>Thanks for all your help...</p><p>&nbsp;</p><p>jim. </p>