Spocke - 2008-10-06

Hi,

I have a requirement wherein i need to have a Web client (say c) from which i can view reports from my two individual applications (say A and B). I will simply display the response obtained from them.

I have almost completed, but when the response from A or B contains image (which have been generated using cewolf taglib) then, i would save the image locally and display them  (since path are relative).

I have no problem in saving the images, but when displaying them, i get a sometimes StreamCorruptedException. Below is the stack trace for the same,

java.io.StreamCorruptedException
at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1326)|
at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1912)|
at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1836)|
at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1713)|
at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1299)|
at
java.io.ObjectInputStream.readObject(ObjectInputStream.java:339)|
at de.laures.cewolf.storage.FileStorage.getChartImage(FileStorage.java:98)|
at
de.laures.cewolf.CewolfRenderer.doGet(CewolfRenderer.java:133)|

Please let me know why I am getting this exception and how to overcome this.

Thanks in advance,
-S-