cancel
Showing results for 
Search instead for 
Did you mean: 

Crsytal Report Serialization error in Java a

Former Member
0 Kudos

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!

Accepted Solutions (0)

Answers (3)

Answers (3)

0 Kudos

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

0 Kudos

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

Former Member
0 Kudos

I am using SDK 1.8 & CR 12.3.0.601, I disabled sticky sessions and using Redis cause sticky sessions wasn't working with disabled cookies. CR needs sticky sessions? I can test that

daniel_paulsen
Active Contributor
0 Kudos

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

Former Member
0 Kudos

Yes I am using RAS