Jump to content

Recommended Posts

Posted

Exception in thread "main" net.sf.jasperreports.engine.JRException: Error loading object from file: C:UsersadminDesktoptestpocpocExcel.xls.
    at net.sf.jasperreports.engine.util.JRLoader.loadObject(JRLoader.java:144)
    at net.sf.jasperreports.engine.util.JRLoader.loadObject(JRLoader.java:116)
    at net.sf.jasperreports.engine.JasperExportManager.exportToPdfFile(JasperExportManager.java:106)
    at net.sf.jasperreports.engine.JasperExportManager.exportReportToPdfFile(JasperExportManager.java:479)
    at net.sf.jasperreports.Test2PDF.main(Test2PDF.java:13)
Caused by: java.io.StreamCorruptedException: invalid stream header: D0CF11E0
    at java.io.ObjectInputStream.readStreamHeader(ObjectInputStream.java:866)
    at java.io.ObjectInputStream.<init>(ObjectInputStream.java:358)
    at net.sf.jasperreports.engine.util.ContextClassLoaderObjectInputStream.<init>(ContextClassLoaderObjectInputStream.java:56)
    at net.sf.jasperreports.engine.util.JRLoader.loadObject(JRLoader.java:139)
    ... 4 more

  • Replies 0
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

Popular Days

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