3 Replies Latest reply on Oct 10, 2011 6:49 AM by Galder Zamarreño

    java.io.NotActiveException: Fields were never written

    Bertrand GUIRAL Newbie

      Hi,

      I don't undestand what happen: The object can be serializable, but i get the following exception.

      Thank for any help

       

      Bertrand  GUIRAL

       

       

       

      org.infinispan.client.hotrod.exceptions.TransportException:: Unable to marshall object of type [com.amadeus.ocg.framework.session.State]

      Caused by: java.io.NotActiveException: Fields were never written

       

       

       

       

                at org.infinispan.client.hotrod.impl.RemoteCacheImpl.obj2bytes(RemoteCacheImpl.java:416)

                at org.infinispan.client.hotrod.impl.RemoteCacheImpl.put(RemoteCacheImpl.java:202)

                at org.infinispan.CacheSupport.put(CacheSupport.java:51)

                at bg.cacheSession.infinispan.CacheClientHotRod.put(CacheClientHotRod.java:65)

                at bg.cacheSession.CacheHttpSessionAttributesImpl.commit(CacheHttpSessionAttributesImpl.java:107)

                at bg.cacheSession.CachedHttpSessionImpl.commit(CachedHttpSessionImpl.java:219)

                at bg.cacheSession.ServletSessionWrapper.commit(ServletSessionWrapper.java:43)

                at bg.cacheSession.SessionFilter.doFilter(SessionFilter.java:80)

                at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)

                at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3715)

                at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3681)

                at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)

                at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)

                at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2277)

                at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2183)

                at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1454)

                at weblogic.work.ExecuteThread.execute(ExecuteThread.java:207)

                at weblogic.work.ExecuteThread.run(ExecuteThread.java:176)

      Caused by: java.io.NotActiveException: Fields were never written

                at org.jboss.marshalling.river.RiverObjectOutputStream.finish(RiverObjectOutputStream.java:175)

                at org.jboss.marshalling.river.RiverMarshaller.doWriteSerializableObject(RiverMarshaller.java:1003)

                at org.jboss.marshalling.river.RiverMarshaller.doWriteObject(RiverMarshaller.java:879)

                at org.jboss.marshalling.AbstractObjectOutput.writeObject(AbstractObjectOutput.java:62)

                at org.jboss.marshalling.AbstractMarshaller.writeObject(AbstractMarshaller.java:119)

                at org.infinispan.marshall.jboss.GenericJBossMarshaller.objectToObjectStream(GenericJBossMarshaller.java:122)

                at org.infinispan.marshall.jboss.GenericJBossMarshaller.objectToBuffer(GenericJBossMarshaller.java:130)

                at org.infinispan.marshall.AbstractMarshaller.objectToByteBuffer(AbstractMarshaller.java:86)

                at org.infinispan.client.hotrod.impl.RemoteCacheImpl.obj2bytes(RemoteCacheImpl.java:414)

                ... 17 more

      Caused by: an exception which occurred:

                in object com.amadeus.ocg.framework.session.State@1fc4bc2>

      ####<Sep 20, 2011 3:47:38 PM GMT> <Notice> <StdErr> <NCEBGUIRAL> <myserver> <[ACTIVE] ExecuteThread: '3' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1316533658211> <BEA-000000> <Sep 20, 2011 3:47:38 PM bg.cacheSession.CacheHttpSessionAttributesImpl commit

      INFO: cache.commitDebug. remove key : STATE_-1   | value :com.amadeus.ocg.framework.session.State@1fc4bc2>

      ####<Sep 20, 2011 3:47:38 PM GMT> <Notice> <StdErr> <NCEBGUIRAL> <myserver> <[ACTIVE] ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1316533658242> <BEA-000000> <Sep 20, 2011 3:47:38 PM bg.cacheSession.CacheHttpSessionAttributesImpl commitOperationnel

      INFO: cache.commit  done td1wT41WSLsLCsbTQcQlw13zZb8fBp2JJzqFjJMQDbfyxvBXB3fm!-2073755555!1316533622195 | time : 0>

      ####<Sep 20, 2011 3:47:38 PM GMT> <Notice> <StdErr> <NCEBGUIRAL> <myserver> <[ACTIVE] ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1316533658242> <BEA-000000> <Sep 20, 2011 3:47:38 PM bg.cacheSession.CacheHttpSessionAttributesImpl commitOperationnel

      INFO: cache.commit start td1wT41WSLsLCsbTQcQlw13zZb8fBp2JJzqFjJMQDbfyxvBXB3fm!-2073755555!1316533622195  {SITE=0SLW0SLW, HTTP_BINDING=com.amadeus.ocg.framework.context.http.HttpBinding@39f722, LANGUAGE=GB, SESSION=com.amadeus.ocg.framework.session.SessionValues@12d7879, com.amadeus.jcp.ui.framework.localization.HTTPSessionLocaleResolverImpl.LOCALE=en_GB, REPLICATION=false, ARIA_SKIN=nextgen}>

      ####<Sep 20, 2011 3:47:38 PM GMT> <Notice> <StdErr> <NCEBGUIRAL> <myserver> <[ACTIVE] ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1316533658242> <BEA-000000> <Sep 20, 2011 3:47:38 PM bg.cacheSession.CacheHttpSessionAttributesImpl commit

      WARNING: cache.commitDebug.test.Exception  key : STATE_-1   | value :com.amadeus.ocg.framework.session.State@a2d867

      org.infinispan.client.hotrod.exceptions.TransportException:: Unable to marshall object of type [com.amadeus.ocg.framework.session.State]

                at org.infinispan.client.hotrod.impl.RemoteCacheImpl.obj2bytes(RemoteCacheImpl.java:416)

                at org.infinispan.client.hotrod.impl.RemoteCacheImpl.put(RemoteCacheImpl.java:202)

                at org.infinispan.CacheSupport.put(CacheSupport.java:51)

                at bg.cacheSession.infinispan.CacheClientHotRod.put(CacheClientHotRod.java:65)

                at bg.cacheSession.CacheHttpSessionAttributesImpl.commit(CacheHttpSessionAttributesImpl.java:107)

                at bg.cacheSession.CachedHttpSessionImpl.commit(CachedHttpSessionImpl.java:219)

                at bg.cacheSession.ServletSessionWrapper.commit(ServletSessionWrapper.java:43)

                at bg.cacheSession.SessionFilter.doFilter(SessionFilter.java:80)

                at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)

                at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3715)

                at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3681)

                at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)

                at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)

                at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2277)

                at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2183)

                at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1454)

                at weblogic.work.ExecuteThread.execute(ExecuteThread.java:207)

                at weblogic.work.ExecuteThread.run(ExecuteThread.java:176)

      Caused by: java.io.NotActiveException: Fields were never written

                at org.jboss.marshalling.river.RiverObjectOutputStream.finish(RiverObjectOutputStream.java:175)

                at org.jboss.marshalling.river.RiverMarshaller.doWriteSerializableObject(RiverMarshaller.java:1003)

                at org.jboss.marshalling.river.RiverMarshaller.doWriteObject(RiverMarshaller.java:879)

                at org.jboss.marshalling.AbstractObjectOutput.writeObject(AbstractObjectOutput.java:62)

                at org.jboss.marshalling.AbstractMarshaller.writeObject(AbstractMarshaller.java:119)

                at org.infinispan.marshall.jboss.GenericJBossMarshaller.objectToObjectStream(GenericJBossMarshaller.java:122)

                at org.infinispan.marshall.jboss.GenericJBossMarshaller.objectToBuffer(GenericJBossMarshaller.java:130)

                at org.infinispan.marshall.AbstractMarshaller.objectToByteBuffer(AbstractMarshaller.java:86)

                at org.infinispan.client.hotrod.impl.RemoteCacheImpl.obj2bytes(RemoteCacheImpl.java:414)

                ... 17 more

      Caused by: an exception which occurred:

                in object com.amadeus.ocg.framework.session.State@a2d867>