2001 JI Open Discussion Posted August 15, 2006 Share Posted August 15, 2006 By: Lindomar - bahia Subreports 2002-08-29 10:35Hi everyone! I'm trying to put a subreport. It's compile, but when i trying to fill it, the exception: is generate: ************************** java.io.StreamCorruptedException: InputStream does not contain a serialized object at java.io.ObjectInputStream.readStreamHeader(ObjectInputStream.java:84) at java.io.ObjectInputStream.<init>(ObjectInputStream.java:168) at dori.jasper.engine.util.JRLoader.loadObject(JRLoader.java:203) at dori.jasper.engine.util.JRLoader.loadReport(JRLoader.java:57) at dori.jasper.engine.JasperFillManager.fillReportToFile(JasperFillMana er.java:54) at dori.jasper.engine.JasperManager.fillReportToFile(JasperManager.java 561) **************************** Any idea? Thanks. By: Teodor Danciu - teodord RE: Subreports 2002-08-30 00:12 Hi, Make sure it is the .jasper file you are passing to the report filling method and not the XML or other. The .jasper file contains a serialized object that will be loaded by the engine. The exception says that the file being read does not seem to contain a valid serialized object. Good luck! Teodor Link to comment Share on other sites More sharing options...
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