Skip to Content

Crsytal Report Serialization error in Java a

Hi,

I am using Crystal Report in my Java web application which is behind a load balancer and I am using Redis to manage the session between two servers, for saving into session Redis tries to serialize and de-serialize AdvancedReportSource class and because IReportSource parameter is transient I am getting null pointer exception as below:

tomcat.request.session.redis.SessionManager findSession
SEVERE: Error occured while de-serializing the session object..
java.io.IOException: recover report source failed.

at com.crystaldecisions.sdk.occa.report.application.AdvancedReportSource.readExternal(Unknown Source)

any idea how can I fix this issue? why IReportSource is transient?

Thanks!

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

3 Answers

  • Aug 10, 2018 at 12:00 AM

    Hi Razmin,

    I'm not sure why you are getting that error. Are you opening reports from the filesystem directly or are you using a Report Application Server to process the reports?
    If you are not using a RAS server for processing then I'm not sure if you would need copies of the reports in the same location on each server or not

    Add comment
    10|10000 characters needed characters exceeded

  • Aug 10, 2018 at 08:03 PM

    Moved to CR for Eclipse Tag.

    What version of CR?

    What SDK are you using? CR for Eclipse of BOE Java

    Is the load balancer capable of using sticky sessions, it's a must for CR/BOE

    Add comment
    10|10000 characters needed characters exceeded

  • Aug 15, 2018 at 12:54 PM

    Go here and get CR for Eclipse, it's the latest Java runtime:

    https://wiki.scn.sap.com/wiki/display/BOBJ/SAP+Crystal+Reports+version+for+Eclipse+-+Downloads

    Don

    Add comment
    10|10000 characters needed characters exceeded