Jump to content
We've recently updated our Privacy Statement, available here ×

help urgent! EOFException Exception ,why?


Recommended Posts

By: guo haisheng - seacloudy

help urgent! EOFException Exception ,why?

2003-08-19 20:42

java.io.StreamCorruptedException: Caught EOFException while reading the stream header

at java.io.ObjectInputStream.readStreamHeader(ObjectInputStream.java:840)

at java.io.ObjectInputStream.<init>(ObjectInputStream.java:163)

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

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

at dori.jasper.engine.JasperExportManager.exportReportToPdfFile(JasperExportManager.java:120)

at com.zhongxing.client.report.util.report.repprintmanager.RepPrintInterface.outputPDF(RepPrintInterface.java:108)

at com.zhongxing.client.report.util.report.repprintmanager.RepPrintClientManager.outputPDF(RepPrintClientManager.java:551)

at com.zhongxing.client.report.util.report.ReportMain.outputPdf(ReportMain.java:1600)

at com.zhongxing.client.report.util.report.ReportMain.pdfButton_actionPerformed(ReportMain.java:1293)

at com.zhongxing.client.report.util.report.ReportMain$14.actionPerformed(ReportMain.java:567)

at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1445)

at javax.swing.AbstractButton$ForwardActionEvents.actionPerformed(AbstractButton.java:1499)

at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:373)

at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:245)

at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:211)

at java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:225)

at java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:225)

at java.awt.Component.processMouseEvent(Component.java:3710)

at java.awt.Component.processEvent(Component.java:3539)

at java.awt.Container.processEvent(Container.java:1159)

at java.awt.Component.dispatchEventImpl(Component.java:2588)

at java.awt.Container.dispatchEventImpl(Container.java:1208)

at java.awt.Component.dispatchEvent(Component.java:2492)

at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:2451)

at java.awt.LightweightDispatcher.processMouseEvent(Container.java:2216)

at java.awt.LightweightDispatcher.dispatchEvent(Container.java:2125)

at java.awt.Container.dispatchEventImpl(Container.java:1195)

at java.awt.Window.dispatchEventImpl(Window.java:923)

at java.awt.Component.dispatchEvent(Component.java:2492)

at java.awt.EventQueue.dispatchEvent(EventQueue.java:334)

at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:126)

at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:93)

at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:88)

at java.awt.EventDispatchThread.run(EventDispatchThread.java:80)

 

NESTED BY :

dori.jasper.engine.JRException: Error loading object from file : datareportclientjrprintreport1_2003082011.jrprint

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

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

at dori.jasper.engine.JasperExportManager.exportReportToPdfFile(JasperExportManager.java:120)

at com.zhongxing.client.report.util.report.repprintmanager.RepPrintInterface.outputPDF(RepPrintInterface.java:108)

at com.zhongxing.client.report.util.report.repprintmanager.RepPrintClientManager.outputPDF(RepPrintClientManager.java:551)

at com.zhongxing.client.report.util.report.ReportMain.outputPdf(ReportMain.java:1600)

at com.zhongxing.client.report.util.report.ReportMain.pdfButton_actionPerformed(ReportMain.java:1293)

at com.zhongxing.client.report.util.report.ReportMain$14.actionPerformed(ReportMain.java:567)

at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1445)

at javax.swing.AbstractButton$ForwardActionEvents.actionPerformed(AbstractButton.java:1499)

at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:373)

at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:245)

at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:211)

at java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:225)

at java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:225)

at java.awt.Component.processMouseEvent(Component.java:3710)

at java.awt.Component.processEvent(Component.java:3539)

at java.awt.Container.processEvent(Container.java:1159)

at java.awt.Component.dispatchEventImpl(Component.java:2588)

at java.awt.Container.dispatchEventImpl(Container.java:1208)

at java.awt.Component.dispatchEvent(Component.java:2492)

at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:2451)

at java.awt.LightweightDispatcher.processMouseEvent(Container.java:2216)

at java.awt.LightweightDispatcher.dispatchEvent(Container.java:2125)

at java.awt.Container.dispatchEventImpl(Container.java:1195)

at java.awt.Window.dispatchEventImpl(Window.java:923)

at java.awt.Component.dispatchEvent(Component.java:2492)

at java.awt.EventQueue.dispatchEvent(EventQueue.java:334)

at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:126)

at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:93)

at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:88)

at java.awt.EventDispatchThread.run(EventDispatchThread.java:80)

 

 

 

 

 

By: Teodor Danciu - teodord

RE: help urgent! EOFException Exception ,why?

2003-08-19 23:51

 

Hi,

 

It looks like the .jrprint file is not found at the

specified location on disk.

Is that an absolute path or relative to the current

directory?

 

I hope this helps.

Teodor

 

 

 

 

 

By: guo haisheng - seacloudy

RE: help urgent! EOFException Exception ,why?

2003-08-20 01:07

As to the same xml file, sometimes it is ok , sometimes it is wrong.

 

 

 

 

By: guo haisheng - seacloudy

RE: help urgent! EOFException Exception ,why?

2003-08-20 19:31

thinks , Teodor. the reason is what you say!

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