Jump to content
JasperReports Library 7.0 is now available ×

JasperViewer: DcmParseException


rainer.friesen

Recommended Posts

Hello,

I get a DcmParseException when I try to watch a Report with a build in image. The strange thing is that the exception doesn't occur every time. I have tested it with a small jpg and a gif image.

When I export the report to PDF no exception occurs.

 

Here is the beginning of the exception:

 

net.sf.jasperreports.engine.JRException: org.dcm4che.data.DcmParseException: rPos:8 (D8FF,E0FF) UN #1179258880, MaxAlloc:67108864

at net.sf.jasperreports.engine.util.JRJdk14ImageReader.readImage(JRJdk14ImageReader.java:62)

at net.sf.jasperreports.engine.util.JRImageLoader.loadImage(JRImageLoader.java:248)

at net.sf.jasperreports.engine.JRImageRenderer.getImage(JRImageRenderer.java:330)

at net.sf.jasperreports.engine.JRImageRenderer.getDimension(JRImageRenderer.java:371)

at net.sf.jasperreports.engine.export.JRGraphics2DExporter.exportImage(JRGraphics2DExporter.java:511)

Link to comment
Share on other sites

  • Replies 1
  • Created
  • Last Reply

Top Posters In This Topic

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...