1473300864 Posted January 6, 2022 Posted January 6, 2022 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
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now