Topic
1 reply Latest Post - ‏2013-05-01T12:23:43Z by jhanders
smart_dev
smart_dev
56 Posts
ACCEPTED ANSWER

Pinned topic com.ibm.websphere.objectgrid.ObjectGridRuntimeException: java.io.StreamCorruptedException: invalid type code: 3F

‏2013-04-24T18:23:16Z |

 

Hi,

 

I am using WXS 8.5 stand-alone on linux. I have a grid  configured with security with LDAP. One of the java applications connecting to the Grid for caching data. We are getting following exceptions frequently in the logs..

 

============

 

Caused by: com.ibm.websphere.objectgrid.ObjectGridRuntimeException: java.io.StreamCorruptedException: invalid type code: 3F 
at com.ibm.ws.objectgrid.map.BaseMap.bytesToObject(BaseMap.java:12127) ~[wsogclient.jar:WXS8.5.0.XS [a1216.20150800]] 
at com.ibm.ws.objectgrid.map.BaseMap.getValueCopyForTransaction(BaseMap.java:4763) ~[wsogclient.jar:WXS8.5.0.XS [a1216.20150800]] 
at com.ibm.ws.objectgrid.map.BaseMap.getValueCopyForTransaction(BaseMap.java:4720) ~[wsogclient.jar:WXS8.5.0.XS [a1216.20150800]] 
at com.ibm.ws.objectgrid.DiffMapValue.getCurrentValue(DiffMapValue.java:800) ~[wsogclient.jar:WXS8.5.0.XS [a1216.20150800]] 
at com.ibm.ws.objectgrid.DiffMap.get(DiffMap.java:952) ~[wsogclient.jar:WXS8.5.0.XS [a1216.20150800]] 
at com.ibm.ws.objectgrid.ObjectMapImpl.get(ObjectMapImpl.java:408) ~[wsogclient.jar:WXS8.5.0.XS [a1216.20150800]] 
... 146 common frames omitted 
Caused by: java.io.StreamCorruptedException: invalid type code: 3F 
at java.io.ObjectInputStream$BlockDataInputStream.readBlockHeader(ObjectInputStream.java:2481) ~[na:1.6.0] 
at java.io.ObjectInputStream$BlockDataInputStream.refill(ObjectInputStream.java:2516) ~[na:1.6.0] 
at java.io.ObjectInputStream$BlockDataInputStream.read(ObjectInputStream.java:2588) ~[na:1.6.0] 
at java.io.ObjectInputStream$BlockDataInputStream.readBoolean(ObjectInputStream.java:2729) ~[na:1.6.0] 
at java.io.ObjectInputStream.readBoolean(ObjectInputStream.java:898) ~[na:1.6.0] 
at com.ibm.ws.xs.stats.datamodel.XSStatsStore.readExternal(XSStatsStore.java:73) ~[wsogclient.jar:WXS8.5.0.XS [a1216.20150800]] 
at com.ibm.ws.xs.stats.datamodel.MapStatsStore.readExternal(MapStatsStore.java:104) ~[wsogclient.jar:WXS8.5.0.XS [a1216.20150800]] 
at java.io.ObjectInputStream.readExternalData(ObjectInputStream.java:1809) ~[na:1.6.0] 
at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1768) ~[na:1.6.0] 
at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1346) ~[na:1.6.0] 
at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1964) ~[na:1.6.0] 
at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1888) ~[na:1.6.0] 
at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1770) ~[na:1.6.0] 
at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1346) ~[na:1.6.0] 
at java.io.ObjectInputStream.readObject(ObjectInputStream.java:365) ~[na:1.6.0] 
at com.ibm.ws.objectgrid.plugins.GenericSerializationInfo.inflate(GenericSerializationInfo.java:84) ~[wsogclient.jar:WXS8.5.0.XS [a1216.20150800]] 
at com.ibm.ws.objectgrid.map.BaseMap$BaseMapObjectTransformer2.inflateObject(BaseMap.java:6599) ~[wsogclient.jar:WXS8.5.0.XS [a1216.20150800]] 
at com.ibm.ws.objectgrid.map.BaseMap$BaseMapObjectTransformer.inflateValue(BaseMap.java:6440) ~[wsogclient.jar:WXS8.5.0.XS [a1216.20150800]] 
at com.ibm.ws.objectgrid.map.BaseMap.bytesToObject(BaseMap.java:12046) ~[wsogclient.jar:WXS8.5.0.XS [a1216.20150800]] 
... 151 common frames omitted 
============

Any pointers will certainly help.

Thanks.

 

 

  • jhanders
    jhanders
    253 Posts
    ACCEPTED ANSWER

    Re: com.ibm.websphere.objectgrid.ObjectGridRuntimeException: java.io.StreamCorruptedException: invalid type code: 3F

    ‏2013-05-01T12:23:43Z  in response to smart_dev

    8.5.0.3 has the fix for this problem.  I suggest you move there.  If you are considering 8.6, it is fixed there as well.