4 Replies Latest reply on Mar 25, 2013 12:25 AM by reema.pal

    Serialization failing for a vector object  with error "org.jboss.serial.exception.SerializationException: Object reference 3 was not found" with JBoss 6.1 and JRE 1.7

    reema.pal

      Hi All,

       

      I am using Jboss 6.1 and JRE 1.7 update 17.  I am getting  error while invoking all the remote EJB APIs whose return object contains Vector. Below is the exception trace -

       

      - Caused by: org.jboss.serial.exception.SerializationException: Object reference 3 was not found

      -      at org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.objectFromDescription(ObjectDescriptorFactory.java:118)

      -      at org.jboss.serial.objectmetamodel.DataContainer$DataContainerInput.readObject(DataContainer.java:845)

      -      at org.jboss.serial.persister.RegularObjectPersister.readSlotWithFields(RegularObjectPersister.java:353)

      -      at org.jboss.serial.persister.RegularObjectPersister.defaultRead(RegularObjectPersister.java:273)

      -      at org.jboss.serial.persister.RegularObjectPersister.readData(RegularObjectPersister.java:241)

      -      at org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.readObjectDescriptionFromStreaming(ObjectDescriptorFactory.java:412)

      -      at org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.objectFromDescription(ObjectDescriptorFactory.java:82)

      -      at org.jboss.serial.objectmetamodel.DataContainer$DataContainerInput.readObject(DataContainer.java:845)

      -      at org.jboss.serial.io.MarshalledObjectForLocalCalls.get(MarshalledObjectForLocalCalls.java:60)

      -      at org.jboss.ejb3.remoting.IsLocalInterceptor.marshallOrPass(IsLocalInterceptor.java:117)

      -      at org.jboss.ejb3.remoting.IsLocalInterceptor.invokeLocal(IsLocalInterceptor.java:91)

      -      at org.jboss.ejb3.remoting.IsLocalInterceptor.invoke(IsLocalInterceptor.java:75)

      -      at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)

      -      at org.jboss.ejb3.async.impl.interceptor.AsynchronousClientInterceptor.invoke(AsynchronousClientInterceptor.java:143)

      -      at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)

      -      at org.jboss.aspects.remoting.PojiProxy.invoke(PojiProxy.java:62)

      -      at com.sun.proxy.$Proxy2680.invoke(Unknown Source)

      -      at org.jboss.ejb3.proxy.impl.handler.session.SessionProxyInvocationHandlerBase.invoke(SessionProxyInvocationHandlerBase.java:185)