Jump to content
Changes to the Jaspersoft community edition download ×

java.io.InvalidClassException???


Recommended Posts

By: Adriana Mestrinelli Paranhos - jasperdri

java.io.InvalidClassException???

2003-04-03 03:57

Hello everyone...

 

when I tried to run my report in the Web, I got this error:

 

java.io.InvalidClassException: dori.jasper.engine.base.JRBaseReport; Local class not compatible: stream classdesc serialVersionUID=405 local class serialVersionUID=402

at java.io.ObjectStreamClass.validateLocalClass(Unknown Source)

at java.io.ObjectStreamClass.setClass(Unknown Source)

at java.io.ObjectInputStream.inputClassDescriptor(Unknown Source)

at java.io.ObjectInputStream.readObject(Unknown Source)

at java.io.ObjectInputStream.readObject(Unknown Source)

at java.io.ObjectInputStream.inputClassDescriptor(Unknown Source)

at java.io.ObjectInputStream.readObject(Unknown Source)

at java.io.ObjectInputStream.readObject(Unknown Source)

at java.io.ObjectInputStream.inputObject(Unknown Source)

at java.io.ObjectInputStream.readObject(Unknown Source)

at java.io.ObjectInputStream.readObject(Unknown Source)

at dori.jasper.engine.util.JRLoader.loadObject(JRLoader.java:120)

at dori.jasper.engine.JasperRunManager.runReportToHtmlFile(JasperRunManager.java:333)

at servlets.teste.service(teste.java:33)

at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)

at org.apache.catalina.servlets.InvokerServlet.serveRequest(InvokerServlet.java:446)

at org.apache.catalina.servlets.InvokerServlet.doGet(InvokerServlet.java:180)

at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)

at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)

at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247)

at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193)

at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:243)

at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)

at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)

at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)

at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:201)

at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)

at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)

at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)

at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2344)

at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:164)

at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)

at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:170)

at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)

at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:170)

at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)

at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:462)

at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)

at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)

at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)

at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:163)

at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)

at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)

at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)

at org.apache.catalina.connector.http.HttpProcessor.process(HttpProcessor.java:1011)

at org.apache.catalina.connector.http.HttpProcessor.run(HttpProcessor.java:1106)

at java.lang.Thread.run(Unknown Source)

 

 

can anyone help me with this error, please??

what does it mean??

 

thanx a lot

 

 

 

 

 

By: Allan Kos - theincongruent

RE: java.io.InvalidClassException???

2004-03-29 10:14

you probably need to rebuild the report file using the original report.xml file. If you have upgraded to a newer version of jasperreports but built all your report files using the previous version, this is definately the case.

 

-Allan

Link to comment
Share on other sites

  • Replies 0
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

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