Skip navigation
Prasanta Lenka
Currently Being Moderated

java.io.NotActiveException: Fields were never written

Sep 17, 2013 3:01 PM

We are trying to run a flex application from jboss with below technology stack and  getting "java.io.NotActiveException: Fields were never written" .

1.Flex4.1

2.Spring3.2

3. BlazeDS 4

4.JBOSS EAP 6.1.1

5.java1.6

 

We tried to get help from JBOSS support team and got the feedback to correct HttpFlexSession classes from flex. 

 

Kindly advise If anyone already encountered above problem   ?

 

Thanks in Advance.

 

Complete console error is as below:

 

  -> toString = Bucket{entries={URCi4tm+YUN7RHAtKZXn9UZL=ImmortalCacheEntry{key=URCi4 tm+YUN7RHAtKZXn9UZL, value=ImmortalCacheValue {value=AtomicHashMap}}}, bucketId='-817514496'}

16:17:55,330 ERROR [org.infinispan.loaders.file.FileCacheStore] (http-/10.197.128.38:8230-2) ISPN000063: Exception while saving bucket Bucket{entries={URCi4tm+YUN7RHAtKZXn9UZL=ImmortalCacheEntry{key=URCi4 tm+YUN7RHAtKZXn9UZL, value=ImmortalCacheValue {value=AtomicHashMap}}}, bucketId='-817514496'}: java.io.NotActiveException: Fields were never written
at org.jboss.marshalling.river.RiverObjectOutputStream.finish(RiverObjec tOutputStream.java:175)
at org.jboss.marshalling.river.RiverMarshaller.doWriteSerializableObject (RiverMarshaller.java:1009)
at org.jboss.marshalling.river.RiverMarshaller.doWriteObject(RiverMarsha ller.java:885)
at org.jboss.marshalling.river.RiverMarshaller.doWriteObject(RiverMarsha ller.java:680)
at org.jboss.marshalling.AbstractObjectOutput.writeObject(AbstractObject Output.java:62)
at org.jboss.marshalling.AbstractMarshaller.writeObject(AbstractMarshall er.java:119)
at org.jboss.as.clustering.SimpleMarshalledValue.getBytes(SimpleMarshall edValue.java:85)
at org.jboss.as.clustering.SimpleMarshalledValue.writeExternal(SimpleMar shalledValue.java:175)
at org.jboss.as.clustering.infinispan.io.ExternalizableExternalizer.writ eObject(ExternalizableExternalizer.java:47)
at org.jboss.as.clustering.infinispan.io.ExternalizableExternalizer.writ eObject(ExternalizableExternalizer.java:36)
at org.infinispan.marshall.jboss.ExternalizerTable$ForeignExternalizerAd apter.writeObject(ExternalizerTable.java:459)
at org.jboss.marshalling.river.RiverMarshaller.doWriteObject(RiverMarsha ller.java:145)
at org.jboss.marshalling.AbstractObjectOutput.writeObject(AbstractObject Output.java:62)
at org.jboss.marshalling.AbstractMarshaller.writeObject(AbstractMarshall er.java:119)
at org.infinispan.marshall.MarshallUtil.marshallMap(MarshallUtil.java:59 )
at org.infinispan.marshall.exts.MapExternalizer.writeObject(MapExternali zer.java:63)
at org.infinispan.marshall.exts.MapExternalizer.writeObject(MapExternali zer.java:47)
at org.infinispan.marshall.jboss.ExternalizerTable$ExternalizerAdapter.w riteObject(ExternalizerTable.java:410)
at org.jboss.marshalling.river.RiverMarshaller.doWriteObject(RiverMarsha ller.java:145)
at org.jboss.marshalling.AbstractObjectOutput.writeObject(AbstractObject Output.java:62)
at org.jboss.marshalling.AbstractMarshaller.writeObject(AbstractMarshall er.java:119)
at org.infinispan.atomic.AtomicHashMap$Externalizer.writeObject(AtomicHa shMap.java:250)
at org.infinispan.atomic.AtomicHashMap$Externalizer.writeObject(AtomicHa shMap.java:247)
at org.infinispan.marshall.jboss.ExternalizerTable$ExternalizerAdapter.w riteObject(ExternalizerTable.java:410)
at org.jboss.marshalling.river.RiverMarshaller.doWriteObject(RiverMarsha ller.java:145)
at org.jboss.marshalling.AbstractObjectOutput.writeObject(AbstractObject Output.java:62)
at org.jboss.marshalling.AbstractMarshaller.writeObject(AbstractMarshall er.java:119)
at org.infinispan.container.entries.ImmortalCacheEntry$Externalizer.writ eObject(ImmortalCacheEntry.java:154)
at org.infinispan.container.entries.ImmortalCacheEntry$Externalizer.writ eObject(ImmortalCacheEntry.java:150)
at org.infinispan.marshall.jboss.ExternalizerTable$ExternalizerAdapter.w riteObject(ExternalizerTable.java:410)
at org.jboss.marshalling.river.RiverMarshaller.doWriteObject(RiverMarsha ller.java:145)
at org.jboss.marshalling.AbstractObjectOutput.writeObject(AbstractObject Output.java:62)
at org.jboss.marshalling.AbstractMarshaller.writeObject(AbstractMarshall er.java:119)
at org.infinispan.loaders.bucket.Bucket$Externalizer.writeObject(Bucket. java:148)
at org.infinispan.loaders.bucket.Bucket$Externalizer.writeObject(Bucket. java:139)
at org.infinispan.marshall.jboss.ExternalizerTable$ExternalizerAdapter.w riteObject(ExternalizerTable.java:410)
at org.jboss.marshalling.river.RiverMarshaller.doWriteObject(RiverMarsha ller.java:145)
at org.jboss.marshalling.AbstractObjectOutput.writeObject(AbstractObject Output.java:62)
at org.jboss.marshalling.AbstractMarshaller.writeObject(AbstractMarshall er.java:119)
at org.infinispan.marshall.jboss.AbstractJBossMarshaller.objectToObjectS tream(AbstractJBossMarshaller.java:96)
at org.infinispan.marshall.VersionAwareMarshaller.objectToBuffer(Version AwareMarshaller.java:92)
at org.infinispan.marshall.AbstractMarshaller.objectToByteBuffer(Abstrac tMarshaller.java:94)
at org.infinispan.marshall.AbstractMarshaller.objectToByteBuffer(Abstrac tMarshaller.java:84)
at org.infinispan.marshall.AbstractDelegatingMarshaller.objectToByteBuff er(AbstractDelegatingMarshaller.java:94)
at org.infinispan.loaders.file.FileCacheStore.updateBucket(FileCacheStor e.java:335)
at org.infinispan.loaders.bucket.BucketBasedCacheStore.insertBucket(Buck etBasedCacheStore.java:137)
at org.infinispan.loaders.bucket.BucketBasedCacheStore.storeLockSafe(Buc ketBasedCacheStore.java:94)
at org.infinispan.loaders.bucket.BucketBasedCacheStore.storeLockSafe(Buc ketBasedCacheStore.java:49)
at org.infinispan.loaders.LockSupportCacheStore.store(LockSupportCacheSt ore.java:213)
at org.infinispan.loaders.AbstractCacheStore.applyModifications(Abstract CacheStore.java:126)
at org.infinispan.loaders.AbstractCacheStore.commit(AbstractCacheStore.j ava:163)
at org.infinispan.interceptors.CacheStoreInterceptor.commitCommand(Cache StoreInterceptor.java:161)
at org.infinispan.interceptors.CacheStoreInterceptor.visitCommitCommand( CacheStoreInterceptor.java:143)
at org.infinispan.commands.tx.CommitCommand.acceptVisitor(CommitCommand. java:60)
at org.infinispan.interceptors.base.CommandInterceptor.invokeNextInterce ptor(CommandInterceptor.java:120)
at org.infinispan.interceptors.base.CommandInterceptor.handleDefault(Com mandInterceptor.java:134)
at org.infinispan.commands.AbstractVisitor.visitCommitCommand(AbstractVi sitor.java:136)
at org.infinispan.commands.tx.CommitCommand.acceptVisitor(CommitCommand. java:60)
at org.infinispan.interceptors.base.CommandInterceptor.invokeNextInterce ptor(CommandInterceptor.java:120)
at org.infinispan.interceptors.EntryWrappingInterceptor.visitCommitComma nd(EntryWrappingInterceptor.java:116)
at org.infinispan.commands.tx.CommitCommand.acceptVisitor(CommitCommand. java:60)
at org.infinispan.interceptors.base.CommandInterceptor.invokeNextInterce ptor(CommandInterceptor.java:120)
at org.infinispan.interceptors.base.CommandInterceptor.handleDefault(Com mandInterceptor.java:134)
at org.infinispan.commands.AbstractVisitor.visitCommitCommand(AbstractVi sitor.java:136)
at org.infinispan.interceptors.locking.AbstractTxLockingInterceptor.visi tCommitCommand(AbstractTxLockingInterceptor.java:101)
at org.infinispan.commands.tx.CommitCommand.acceptVisitor(CommitCommand. java:60)
at org.infinispan.interceptors.base.CommandInterceptor.invokeNextInterce ptor(CommandInterceptor.java:120)
at org.infinispan.interceptors.NotificationInterceptor.visitCommitComman d(NotificationInterceptor.java:65)
at org.infinispan.commands.tx.CommitCommand.acceptVisitor(CommitCommand. java:60)
at org.infinispan.interceptors.base.CommandInterceptor.invokeNextInterce ptor(CommandInterceptor.java:120)
at org.infinispan.interceptors.TxInterceptor.visitCommitCommand(TxInterc eptor.java:153)
at org.infinispan.commands.tx.CommitCommand.acceptVisitor(CommitCommand. java:60)
at org.infinispan.interceptors.base.CommandInterceptor.invokeNextInterce ptor(CommandInterceptor.java:120)
at org.infinispan.interceptors.base.CommandInterceptor.handleDefault(Com mandInterceptor.java:134)
at org.infinispan.commands.AbstractVisitor.visitCommitCommand(AbstractVi sitor.java:136)
at org.infinispan.commands.tx.CommitCommand.acceptVisitor(CommitCommand. java:60)
at org.infinispan.interceptors.base.CommandInterceptor.invokeNextInterce ptor(CommandInterceptor.java:120)
at org.infinispan.interceptors.InvocationContextInterceptor.handleAll(In vocationContextInterceptor.java:128)
at org.infinispan.interceptors.InvocationContextInterceptor.handleDefaul t(InvocationContextInterceptor.java:92)
at org.infinispan.commands.AbstractVisitor.visitCommitCommand(AbstractVi sitor.java:136)
at org.infinispan.commands.tx.CommitCommand.acceptVisitor(CommitCommand. java:60)
at org.infinispan.interceptors.base.CommandInterceptor.invokeNextInterce ptor(CommandInterceptor.java:120)
at org.infinispan.interceptors.BatchingInterceptor.handleDefault(Batchin gInterceptor.java:92)
at org.infinispan.commands.AbstractVisitor.visitCommitCommand(AbstractVi sitor.java:136)
at org.infinispan.commands.tx.CommitCommand.acceptVisitor(CommitCommand. java:60)
at org.infinispan.interceptors.InterceptorChain.invoke(InterceptorChain. java:343)
at org.infinispan.transaction.TransactionCoordinator.commit(TransactionC oordinator.java:182)
at org.infinispan.transaction.synchronization.SynchronizationAdapter.aft erCompletion(SynchronizationAdapter.java:81)
at org.infinispan.transaction.tm.DummyTransaction.notifyAfterCompletion( DummyTransaction.java:285)
at org.infinispan.transaction.tm.DummyTransaction.runCommitTx(DummyTrans action.java:334)
at org.infinispan.transaction.tm.DummyTransaction.commit(DummyTransactio n.java:91)
at org.infinispan.transaction.tm.DummyBaseTransactionManager.commit(Dumm yBaseTransactionManager.java:102)
at org.jboss.as.clustering.web.impl.TransactionBatchingManager.endBatch( TransactionBatchingManager.java:75)
at org.jboss.as.web.session.DistributableSessionManager.processSessionRe pl(DistributableSessionManager.java:1564) [jboss-as-web-7.2.1.Final-redhat-10.jar:7.2.1.Final-redhat-10]
at org.jboss.as.web.session.DistributableSessionManager.storeSession(Dis tributableSessionManager.java:865) [jboss-as-web-7.2.1.Final-redhat-10.jar:7.2.1.Final-redhat-10]
at org.jboss.as.web.session.InstantSnapshotManager.snapshot(InstantSnaps hotManager.java:47) [jboss-as-web-7.2.1.Final-redhat-10.jar:7.2.1.Final-redhat-10]
at org.jboss.as.web.session.ClusteredSessionValve.handleRequest(Clustere dSessionValve.java:142) [jboss-as-web-7.2.1.Final-redhat-10.jar:7.2.1.Final-redhat-10]
at org.jboss.as.web.session.ClusteredSessionValve.invoke(ClusteredSessio nValve.java:99) [jboss-as-web-7.2.1.Final-redhat-10.jar:7.2.1.Final-redhat-10]
at org.jboss.as.web.session.JvmRouteValve.invoke(JvmRouteValve.java:92) [jboss-as-web-7.2.1.Final-redhat-10.jar:7.2.1.Final-redhat-10]
at org.jboss.as.web.session.LockingValve.invoke(LockingValve.java:64) [jboss-as-web-7.2.1.Final-redhat-10.jar:7.2.1.Final-redhat-10]
at org.jboss.as.web.security.SecurityContextAssociationValve.invoke(Secu rityContextAssociationValve.java:169) [jboss-as-web-7.2.1.Final-redhat-10.jar:7.2.1.Final-redhat-10]
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.j ava:145) [jbossweb-7.2.2.Final-redhat-1.jar:7.2.2.Final-redhat-1]
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.j ava:97) [jbossweb-7.2.2.Final-redhat-1.jar:7.2.2.Final-redhat-1]
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineVal ve.java:102) [jbossweb-7.2.2.Final-redhat-1.jar:7.2.2.Final-redhat-1]
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.jav a:336) [jbossweb-7.2.2.Final-redhat-1.jar:7.2.2.Final-redhat-1]
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java :856) [jbossweb-7.2.2.Final-redhat-1.jar:7.2.2.Final-redhat-1]
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.proce ss(Http11Protocol.java:653) [jbossweb-7.2.2.Final-redhat-1.jar:7.2.2.Final-redhat-1]
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:92 0) [jbossweb-7.2.2.Final-redhat-1.jar:7.2.2.Final-redhat-1]
at java.lang.Thread.run(Thread.java:662) [rt.jar:1.6.0_29]

 

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points