StreamCorruptedException : illegal field descriptor typecode Reading uncompressed data
0 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Achyuth_Belgundi
Posted On:   Monday, August 26, 2002 01:57 AM

I have inserted compressed(using DeflaterOutputStream) data into database. I am reading the same from db using InflaterInputStream, but unfortunately, i get StreamCorruptedException : illegal field descriptor typecode java.io.StreamCorruptedException: illegal field descriptor typecode: at java.io.ObjectStreamClass.read(Unknown Source) at java.io.ObjectInputStream.readClassDescriptor(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 ja   More>>

I have inserted compressed(using DeflaterOutputStream) data into database. I am reading the same from db using InflaterInputStream, but unfortunately, i get StreamCorruptedException : illegal field descriptor typecode

java.io.StreamCorruptedException: illegal field descriptor typecode:
at java.io.ObjectStreamClass.read(Unknown Source)
at java.io.ObjectInputStream.readClassDescriptor(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.inputArray(Unknown Source)
at java.io.ObjectInputStream.readObject(Unknown Source)
at java.io.ObjectInputStream.inputClassFields(Unknown Source)
at java.io.ObjectInputStream.defaultReadObject(Unknown Source)
at java.io.ObjectInputStream.inputObject(Unknown Source)
at java.io.ObjectInputStream.readObject(Unknown Source)
at java.io.ObjectInputStream.inputClassFields(Unknown Source)
at java.io.ObjectInputStream.defaultReadObject(Unknown Source)
at java.io.ObjectInputStream.inputObject(Unknown Source)
at java.io.ObjectInputStream.readObject(Unknown Source)
at java.io.ObjectInputStream.readObject(Unknown Source)
at com.gpt.io.dxfimport.entity.parse.SelectObject.retrieveDXFObjects(SelectObject.java:137)
at com.gpt.io.dxfimport.entity.parse.ParsedDataBean.ejbLoad(ParsedDataBean.java:224)
at weblogic.ejb.internal.EntityEJBContext.load(EntityEJBContext.java:160)
at weblogic.ejb.internal.EntityEJBContext.afterBegin(EntityEJBContext.java:214)
at weblogic.ejb.internal.StatefulEJBObject.getContextForInvoke(StatefulEJBObject.java:165)
at weblogic.ejb.internal.BaseEJBObject.preInvoke(BaseEJBObject.java:464)
at com.gpt.io.dxfimport.entity.parse.ParsedDataBeanEOImpl.getBlockVector(ParsedDataBeanEOImpl.java:104)
at com.gpt.transaction.session.UserInfoBean.getDXFData(UserInfoBean.java:3659)
at com.gpt.transaction.session.UserInfoBeanEOImpl.getDXFData(UserInfoBeanEOImpl.java:1772)
at com.gpt.transaction.session.UserInfoBeanEOImpl_WLSkel.invoke(UserInfoBeanEOImpl_WLSkel.java:260)
at weblogic.rmi.extensions.BasicServerObjectAdapter.invoke(BasicServerObjectAdapter.java:347)
at weblogic.rmi.extensions.BasicRequestHandler.handleRequest(BasicRequestHandler.java:86)
at weblogic.rmi.internal.BasicExecuteRequest.execute(BasicExecuteRequest.java:15)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:129)

Could any body help me in finding out the solution?

Thanks in advance

Achyuth

   <<Less
About | Sitemap | Contact