Win a copy of The Way of the Web Tester: A Beginner's Guide to Automating Tests this week in the Testing forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic invalid type code: 0D

kannan coding
Posts: 12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am using the below code

public boolean checkUniqueness(ssg.net_pro.cables.CableRecord cr) throws Exception, java.rmi.RemoteException {

String mName = "checkUniqueness";
Class[] pType = { CableRecord.class };
Object[] pValue = { cr };

Object obj = getObject( new Serializable[] { mName, pType, pValue } );
return (obj != null) ? ((Boolean)obj).booleanValue() : false;

I got the StreamCorruptedException in the getObject line.

public Object getObject(Serializable[] objs, boolean cache) throws java.lang.Exception
DataProxyCache dpc = null;
Object obj = null;

if( cache ){
dpc = DataProxyCache.getInstance();
obj = dpc.getObject(objs);

if(obj == null){
ObjectInputStream in = postObjects(objs);
obj = in.readObject();
if( cache )
dpc.cacheObject(objs, obj);


The inputStream is properly closed and i am returing the obj too. It was working these many days.
Now suddenly it's throwing exception as below

Save failed. Internal Error: invalid type code: 0D
at Source)
at Source)
at ssg.eiu.rmiproxy.DataProxy.getObject(
at ssg.eiu.rmiproxy.DataProxy.getObject( at

Confused what does OD means here?
I tried restarting the server, but that too did not help.
Please provide your suggestions on this.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic