net.sf.jasperreports.engine.JRException

net.sf.jasperreports.engine.JRRuntimeException: Error loading object from : sub_REPORT.jrxml

Samebug tips3

Update Tomcat container adapters to 1.0.0.CR8 or further. If that doesn't work, "0D0A3C21" in ASCII is "<!", first characters in a HTML file, so, check if you're not reading a file of a different type or if there's an issue with your deserialization.


rafaelrafael

If you're using Liferay, check the steps in the last message on how to fix it: https://goo.gl/feXWKU


rafaelrafael

Don't give up yet. Our experts can help. Paste your full stack trace to get a solution.

Solutions on the web574

  • via Unknown by Unknown author,
  • Stack trace

    • net.sf.jasperreports.engine.JRException: net.sf.jasperreports.engine.JRRuntimeException: Error loading object from : sub_REPORT.jrxml at com.jaspersoft.studio.editor.preview.PreviewEditor.fillReport(Unknown Source) at com.jaspersoft.studio.editor.preview.PreviewEditor.access$4(Unknown Source) at com.jaspersoft.studio.editor.preview.PreviewEditor$1.run(Unknown Source) at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54) Caused by: net.sf.jasperreports.engine.JRRuntimeException: Error loading object from : sub_REPORT.jrxml at net.sf.jasperreports.repo.DefaultRepositoryService.loadObject(DefaultRepositoryService.java:207) at net.sf.jasperreports.repo.DefaultRepositoryService.getResource(DefaultRepositoryService.java:168) at net.sf.jasperreports.repo.RepositoryUtil.getResource(RepositoryUtil.java:145) at net.sf.jasperreports.repo.RepositoryUtil.getReport(RepositoryUtil.java:125) at net.sf.jasperreports.engine.fill.JRFillSubreport.evaluateReport(JRFillSubreport.java:314) at net.sf.jasperreports.engine.fill.JRFillSubreport.evaluateSubreport(JRFillSubreport.java:344) at net.sf.jasperreports.engine.fill.JRFillSubreport.evaluate(JRFillSubreport.java:272) at net.sf.jasperreports.engine.fill.JRFillElementContainer.evaluate(JRFillElementContainer.java:257) at net.sf.jasperreports.engine.fill.JRFillBand.evaluate(JRFillBand.java:468) at net.sf.jasperreports.engine.fill.JRVerticalFiller.fillColumnBand(JRVerticalFiller.java:2037) at net.sf.jasperreports.engine.fill.JRVerticalFiller.fillDetail(JRVerticalFiller.java:761) at net.sf.jasperreports.engine.fill.JRVerticalFiller.fillReportStart(JRVerticalFiller.java:271) at net.sf.jasperreports.engine.fill.JRVerticalFiller.fillReport(JRVerticalFiller.java:129) at net.sf.jasperreports.engine.fill.JRBaseFiller.fill(JRBaseFiller.java:903) at net.sf.jasperreports.engine.fill.AsynchronousFillHandle$ReportFiller.run(AsynchronousFillHandle.java:152) at java.lang.Thread.run(Thread.java:662) Caused by: java.io.StreamCorruptedException: invalid stream header: 3C3F786D at java.io.ObjectInputStream.readStreamHeader(ObjectInputStream.java:782) at java.io.ObjectInputStream.<init>(ObjectInputStream.java:279) at net.sf.jasperreports.engine.util.ContextClassLoaderObjectInputStream.<init>(ContextClassLoaderObjectInputStream.java:53) at net.sf.jasperreports.repo.DefaultRepositoryService.loadObject(DefaultRepositoryService.java:202) ... 15 more

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    Unknown visitor
    Unknown visitorOnce,
    Unknown visitor
    Unknown visitorOnce,
    Unknown visitor
    Unknown visitorOnce,
    Unknown visitor
    Unknown visitorOnce,
    Unknown visitor
    Unknown visitorOnce,
    48 more bugmates