cancel
Showing results for 
Search instead for 
Did you mean: 

ERROR - JRCAgent1 received a request that cannot be handled by the JRC

Former Member
0 Kudos

<p>Dear all, </p><p>trying to use JRC to export to pdf from a resultset, it ran but return with this error.</p><p>ERROR - JRCAgent1 received a request that cannot be handled by the JRC<br />ERROR - JRCAgent1 detected an exception: Currently not implemented in the Java Reporting Component</p><p>ReportClientDocument reportClientDoc = new ReportClientDocument();</p><p>reportClientDoc.open(REPORT_NAME, 0);</p><p>reportClientDoc.getDatabaseController().setDataSource(rs, "rpt01", "abc");</p><p>// Did some debugging and the error is returned here</p><p>ByteArrayInputStream byteArrayInputStream = (ByteArrayInputStream)reportClientDoc.getPrintOutputController().export(ReportExportFormat.PDF);</p><p>reportClientDoc.close();</p><p>Any help is very much appreicated, thanks.</p>

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

<p>&nbsp;</p><p>The "Currently not implemented in the JRC" is likely not the cause of your issue. That log error message is wrong - some functionality was moved in the JRC, but they didn&#39;t remove the logging. It&#39;s invoked when you do a setDataSource or setTableLocation method call. </p><p>Do you get a different error?</p><p>What do you do with the ByteArrayInputStream after you get it? Do you save the contents to a file?</p><p>TUeda </p>

Former Member
0 Kudos

Yes, I am exporting to a pdf file. It is functional and the pdf is exported, but the error message stills come out. I think there are some functions I used when designing the report, which are not supported by JRC. Any ideas?