Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

[Crystal Reports] JRCAgent1 received a request that cannot be handled by the JRC

 
Eugene Wong
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Dear all,

trying to use JRC to export to pdf from a resultset, it ran but return with this error.

ERROR - JRCAgent1 received a request that cannot be handled by the JRC
ERROR - JRCAgent1 detected an exception: Currently not implemented in the Java Reporting Component

ReportClientDocument reportClientDoc = new ReportClientDocument();

reportClientDoc.open(REPORT_NAME, 0);

reportClientDoc.getDatabaseController().setDataSource(rs, "rpt01", "abc");

// Did some debugging and the error is returned here

ByteArrayInputStream byteArrayInputStream = (ByteArrayInputStream)reportClientDoc.getPrintOutputControll er().export(ReportExportFormat.PDF);

reportClientDoc.close();

Any help is very much appreicated, thanks.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic