Jump to content
We've recently updated our Privacy Statement, available here ×

Problem saving reports *.jrprint in JRViewer


2005 IR Help

Recommended Posts

By: Christian Wolfhagen - cwolfhagen

Problem saving reports *.jrprint in JRViewer

2004-10-08 07:59

I have run into a problem with saving JasperPrints to *.jrprint files in (an extended) JRViewer.

I use the command JRSaver.saveObject(JasperPrint, File).

 

I can save reports that contain no images (fx. jpg or JCharts images).

 

The exception I get is:

java.io.NotSerializableException: sun.awt.windows.WImage

 

and somewhere in the tracestack I find

at net.sf.jasperreports.engine.util.JRSaver.saveObject(JRSaver.java:119)

 

I am running JasperReport v.0.6.1 and am using Eclipse 3.0.1 (i.e. the JavaApp is run from with Eclipse). The reports (the .jasper files) are created with JasperAssistant v.1.3.3

 

Any help will be much appriciated.

 

CW

 

 

 

 

By: Teodor Danciu - teodord

RE: Problem saving reports *.jrprint in JRVie

2004-10-10 02:44

 

Hi,

 

I have corrected this problem a couple of weeks ago.

It will be part of the next release.

The awtImage field inside JRImageRenderer was made

transient.

 

Thank you,

Teodor

Link to comment
Share on other sites

  • Replies 0
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...