5 Replies Latest reply on Sep 4, 2007 7:21 AM by Daniel Kane

    Exception in JBoss console, the root is java.lang.NoClassDef

    Daniel Kane Novice

      Hello

      After deploying some Seam applications to JBoss on my local PC, occasionally the following exception is being printed to the console (even when no applications are actually used):

      14:26:04,109 ERROR [STDERR] java.lang.reflect.InvocationTargetException
      14:26:04,109 ERROR [STDERR] at sun.reflect.GeneratedMethodAccessor295.invoke(Unknown Source)
      14:26:04,109 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      14:26:04,109 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:615)
      14:26:04,125 ERROR [STDERR] at org.jboss.serial.persister.RegularObjectPersister.writeSlotWithMethod(RegularObjectPersister.java:120)
      14:26:04,140 ERROR [STDERR] at org.jboss.serial.persister.RegularObjectPersister.defaultWrite(RegularObjectPersister.java:86)
      14:26:04,140 ERROR [STDERR] at org.jboss.serial.persister.RegularObjectPersister.writeData(RegularObjectPersister.java:62)
      14:26:04,140 ERROR [STDERR] at org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.describeObject(ObjectDescriptorFactory.java:276)
      14:26:04,140 ERROR [STDERR] at org.jboss.serial.objectmetamodel.DataContainer$DataContainerDirectOutput.writeObject(DataContainer.java:206)
      14:26:04,750 ERROR [STDERR] at org.jboss.serial.persister.ObjectOutputStreamProxy.writeObjectOverride(ObjectOutputStreamProxy.java:60)
      14:26:04,750 ERROR [STDERR] at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:320)
      14:26:04,750 ERROR [STDERR] at java.util.HashMap.writeObject(HashMap.java:1040)
      14:26:04,750 ERROR [STDERR] at sun.reflect.GeneratedMethodAccessor285.invoke(Unknown Source)
      14:26:04,750 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      14:26:04,750 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:615)
      14:26:04,750 ERROR [STDERR] at org.jboss.serial.persister.RegularObjectPersister.writeSlotWithMethod(RegularObjectPersister.java:120)
      14:26:04,750 ERROR [STDERR] at org.jboss.serial.persister.RegularObjectPersister.defaultWrite(RegularObjectPersister.java:86)
      14:26:04,750 ERROR [STDERR] at org.jboss.serial.persister.RegularObjectPersister.writeData(RegularObjectPersister.java:62)
      14:26:04,750 ERROR [STDERR] at org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.describeObject(ObjectDescriptorFactory.java:276)
      14:26:04,750 ERROR [STDERR] at org.jboss.serial.objectmetamodel.DataContainer$DataContainerDirectOutput.writeObject(DataContainer.java:206)
      14:26:04,750 ERROR [STDERR] at org.jboss.serial.persister.RegularObjectPersister.writeSlotWithFields(RegularObjectPersister.java:182)
      14:26:04,750 ERROR [STDERR] at org.jboss.serial.persister.RegularObjectPersister.defaultWrite(RegularObjectPersister.java:90)
      14:26:04,750 ERROR [STDERR] at org.jboss.serial.persister.RegularObjectPersister.writeData(RegularObjectPersister.java:62)
      14:26:04,750 ERROR [STDERR] at org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.describeObject(ObjectDescriptorFactory.java:276)
      14:26:04,750 ERROR [STDERR] at org.jboss.serial.objectmetamodel.DataContainer$DataContainerDirectOutput.writeObject(DataContainer.java:206)
      14:26:04,750 ERROR [STDERR] at org.jboss.serial.persister.RegularObjectPersister.writeSlotWithFields(RegularObjectPersister.java:182)
      14:26:04,750 ERROR [STDERR] at org.jboss.serial.persister.RegularObjectPersister.defaultWrite(RegularObjectPersister.java:90)
      14:26:04,750 ERROR [STDERR] at org.jboss.serial.persister.RegularObjectPersister.writeData(RegularObjectPersister.java:62)
      14:26:04,750 ERROR [STDERR] at org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.describeObject(ObjectDescriptorFactory.java:276)
      14:26:04,750 ERROR [STDERR] at org.jboss.serial.objectmetamodel.DataContainer$DataContainerDirectOutput.writeObject(DataContainer.java:206)
      14:26:04,750 ERROR [STDERR] at org.jboss.serial.persister.RegularObjectPersister.writeSlotWithFields(RegularObjectPersister.java:182)
      14:26:04,765 ERROR [STDERR] at org.jboss.serial.persister.RegularObjectPersister.defaultWrite(RegularObjectPersister.java:90)
      14:26:04,765 ERROR [STDERR] at org.jboss.serial.persister.RegularObjectPersister.writeData(RegularObjectPersister.java:62)
      14:26:04,765 ERROR [STDERR] at org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.describeObject(ObjectDescriptorFactory.java:276)
      14:26:04,765 ERROR [STDERR] at org.jboss.serial.objectmetamodel.DataContainer$DataContainerDirectOutput.writeObject(DataContainer.java:206)
      14:26:04,765 ERROR [STDERR] at org.jboss.serial.persister.ArrayPersister.saveObjectArray(ArrayPersister.java:110)
      14:26:04,765 ERROR [STDERR] at org.jboss.serial.persister.ArrayPersister.writeData(ArrayPersister.java:101)
      14:26:04,765 ERROR [STDERR] at org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.describeObject(ObjectDescriptorFactory.java:276)
      14:26:04,765 ERROR [STDERR] at org.jboss.serial.objectmetamodel.DataContainer$DataContainerDirectOutput.writeObject(DataContainer.java:206)
      14:26:04,765 ERROR [STDERR] at org.jboss.serial.io.JBossObjectOutputStream.writeObjectOverride(JBossObjectOutputStream.java:181)
      14:26:04,765 ERROR [STDERR] at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:320)
      14:26:04,765 ERROR [STDERR] at org.jboss.serial.io.MarshalledObject.<init>(MarshalledObject.java:51)
      14:26:04,765 ERROR [STDERR] at org.jboss.ejb3.stateful.StatefulBeanContext.writeExternal(StatefulBeanContext.java:405)
      14:26:04,765 ERROR [STDERR] at org.jboss.serial.persister.ExternalizePersister.writeData(ExternalizePersister.java:58)
      14:26:04,765 ERROR [STDERR] at org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.describeObject(ObjectDescriptorFactory.java:276)
      14:26:04,765 ERROR [STDERR] at org.jboss.serial.objectmetamodel.DataContainer$DataContainerDirectOutput.writeObject(DataContainer.java:206)
      14:26:04,765 ERROR [STDERR] at org.jboss.serial.io.JBossObjectOutputStream.writeObjectOverride(JBossObjectOutputStream.java:181)
      14:26:04,765 ERROR [STDERR] at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:320)
      14:26:04,765 ERROR [STDERR] at org.jboss.ejb3.cache.simple.StatefulSessionFilePersistenceManager.passivateSession(StatefulSessionFilePersistenceManager.java:347)
      14:26:04,765 ERROR [STDERR] at org.jboss.ejb3.cache.simple.SimpleStatefulCache.passivate(SimpleStatefulCache.java:196)
      14:26:04,765 ERROR [STDERR] at org.jboss.ejb3.cache.simple.SimpleStatefulCache$SessionTimeoutTask.run(SimpleStatefulCache.java:129)
      14:26:04,765 ERROR [STDERR] Caused by:
      14:26:04,765 ERROR [STDERR] java.io.IOException
      14:26:04,765 ERROR [STDERR] at org.jboss.serial.persister.RegularObjectPersister.writeSlotWithMethod(RegularObjectPersister.java:129)
      14:26:04,765 ERROR [STDERR] at org.jboss.serial.persister.RegularObjectPersister.defaultWrite(RegularObjectPersister.java:86)
      14:26:04,765 ERROR [STDERR] at org.jboss.serial.persister.RegularObjectPersister.writeData(RegularObjectPersister.java:62)
      14:26:04,765 ERROR [STDERR] at org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.describeObject(ObjectDescriptorFactory.java:276)
      14:26:04,765 ERROR [STDERR] at org.jboss.serial.objectmetamodel.DataContainer$DataContainerDirectOutput.writeObject(DataContainer.java:206)
      14:26:04,765 ERROR [STDERR] at org.jboss.serial.persister.RegularObjectPersister.writeSlotWithFields(RegularObjectPersister.java:182)
      14:26:04,765 ERROR [STDERR] at org.jboss.serial.persister.RegularObjectPersister.defaultWrite(RegularObjectPersister.java:90)
      14:26:04,765 ERROR [STDERR] at org.jboss.serial.persister.RegularObjectPersister.writeData(RegularObjectPersister.java:62)
      14:26:04,765 ERROR [STDERR] at org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.describeObject(ObjectDescriptorFactory.java:276)
      14:26:04,765 ERROR [STDERR] at org.jboss.serial.objectmetamodel.DataContainer$DataContainerDirectOutput.writeObject(DataContainer.java:206)
      14:26:04,765 ERROR [STDERR] at org.jboss.serial.persister.RegularObjectPersister.writeSlotWithFields(RegularObjectPersister.java:182)
      14:26:04,765 ERROR [STDERR] at org.jboss.serial.persister.RegularObjectPersister.defaultWrite(RegularObjectPersister.java:90)
      14:26:04,765 ERROR [STDERR] at org.jboss.serial.persister.RegularObjectPersister.writeData(RegularObjectPersister.java:62)
      14:26:04,765 ERROR [STDERR] at org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.describeObject(ObjectDescriptorFactory.java:276)
      14:26:04,765 ERROR [STDERR] at org.jboss.serial.objectmetamodel.DataContainer$DataContainerDirectOutput.writeObject(DataContainer.java:206)
      14:26:04,765 ERROR [STDERR] at org.jboss.serial.persister.RegularObjectPersister.writeSlotWithFields(RegularObjectPersister.java:182)
      14:26:04,765 ERROR [STDERR] at org.jboss.serial.persister.RegularObjectPersister.defaultWrite(RegularObjectPersister.java:90)
      14:26:04,765 ERROR [STDERR] at org.jboss.serial.persister.RegularObjectPersister.writeData(RegularObjectPersister.java:62)
      14:26:04,765 ERROR [STDERR] at org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.describeObject(ObjectDescriptorFactory.java:276)
      14:26:04,765 ERROR [STDERR] at org.jboss.serial.objectmetamodel.DataContainer$DataContainerDirectOutput.writeObject(DataContainer.java:206)
      14:26:04,765 ERROR [STDERR] at org.jboss.serial.persister.RegularObjectPersister.writeSlotWithFields(RegularObjectPersister.java:182)
      14:26:04,765 ERROR [STDERR] at org.jboss.serial.persister.RegularObjectPersister.defaultWrite(RegularObjectPersister.java:90)
      14:26:04,765 ERROR [STDERR] at org.jboss.serial.persister.RegularObjectPersister.writeData(RegularObjectPersister.java:62)
      14:26:04,765 ERROR [STDERR] at org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.describeObject(ObjectDescriptorFactory.java:276)
      14:26:04,765 ERROR [STDERR] at org.jboss.serial.objectmetamodel.DataContainer$DataContainerDirectOutput.writeObject(DataContainer.java:206)
      14:26:04,765 ERROR [STDERR] at org.jboss.serial.persister.ArrayPersister.saveObjectArray(ArrayPersister.java:110)
      14:26:04,765 ERROR [STDERR] at org.jboss.serial.persister.ArrayPersister.writeData(ArrayPersister.java:101)
      14:26:04,765 ERROR [STDERR] at org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.describeObject(ObjectDescriptorFactory.java:276)
      14:26:04,765 ERROR [STDERR] at org.jboss.serial.objectmetamodel.DataContainer$DataContainerDirectOutput.writeObject(DataContainer.java:206)
      14:26:04,765 ERROR [STDERR] at org.jboss.serial.persister.RegularObjectPersister.writeSlotWithFields(RegularObjectPersister.java:182)
      14:26:04,765 ERROR [STDERR] at org.jboss.serial.persister.RegularObjectPersister.defaultWrite(RegularObjectPersister.java:90)
      14:26:04,765 ERROR [STDERR] at org.jboss.serial.persister.RegularObjectPersister.writeData(RegularObjectPersister.java:62)
      14:26:04,765 ERROR [STDERR] at org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.describeObject(ObjectDescriptorFactory.java:276)
      14:26:04,765 ERROR [STDERR] at org.jboss.serial.objectmetamodel.DataContainer$DataContainerDirectOutput.writeObject(DataContainer.java:206)
      14:26:04,765 ERROR [STDERR] at org.jboss.serial.persister.RegularObjectPersister.writeSlotWithFields(RegularObjectPersister.java:182)
      14:26:04,765 ERROR [STDERR] at org.jboss.serial.persister.RegularObjectPersister.defaultWrite(RegularObjectPersister.java:90)
      14:26:04,765 ERROR [STDERR] at org.jboss.serial.persister.RegularObjectPersister.writeData(RegularObjectPersister.java:62)
      14:26:04,765 ERROR [STDERR] at org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.describeObject(ObjectDescriptorFactory.java:276)
      14:26:04,765 ERROR [STDERR] at org.jboss.serial.objectmetamodel.DataContainer$DataContainerDirectOutput.writeObject(DataContainer.java:206)
      14:26:04,765 ERROR [STDERR] at org.jboss.serial.persister.RegularObjectPersister.writeSlotWithFields(RegularObjectPersister.java:182)
      14:26:04,765 ERROR [STDERR] at org.jboss.serial.persister.RegularObjectPersister.defaultWrite(RegularObjectPersister.java:90)
      14:26:04,765 ERROR [STDERR] at org.jboss.serial.persister.RegularObjectPersister.writeData(RegularObjectPersister.java:62)
      14:26:04,796 ERROR [STDERR] at org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.describeObject(ObjectDescriptorFactory.java:276)
      14:26:04,796 ERROR [STDERR] at org.jboss.serial.objectmetamodel.DataContainer$DataContainerDirectOutput.writeObject(DataContainer.java:206)
      14:26:04,796 ERROR [STDERR] at org.jboss.serial.persister.RegularObjectPersister.writeSlotWithFields(RegularObjectPersister.java:182)
      14:26:04,796 ERROR [STDERR] at org.jboss.serial.persister.RegularObjectPersister.defaultWrite(RegularObjectPersister.java:90)
      14:26:04,812 ERROR [STDERR] at org.jboss.serial.persister.RegularObjectPersister.writeData(RegularObjectPersister.java:62)
      14:26:04,812 ERROR [STDERR] at org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.describeObject(ObjectDescriptorFactory.java:276)
      14:26:04,812 ERROR [STDERR] at org.jboss.serial.objectmetamodel.DataContainer$DataContainerDirectOutput.writeObject(DataContainer.java:206)
      14:26:04,812 ERROR [STDERR] at org.jboss.serial.persister.RegularObjectPersister.writeSlotWithFields(RegularObjectPersister.java:182)
      14:26:04,828 ERROR [STDERR] at org.jboss.serial.persister.RegularObjectPersister.defaultWrite(RegularObjectPersister.java:90)
      14:26:04,828 ERROR [STDERR] at org.jboss.serial.persister.RegularObjectPersister.writeData(RegularObjectPersister.java:62)
      14:26:04,828 ERROR [STDERR] at org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.describeObject(ObjectDescriptorFactory.java:276)
      14:26:04,828 ERROR [STDERR] at org.jboss.serial.objectmetamodel.DataContainer$DataContainerDirectOutput.writeObject(DataContainer.java:206)
      14:26:04,843 ERROR [STDERR] at org.jboss.serial.persister.ObjectOutputStreamProxy.writeObjectOverride(ObjectOutputStreamProxy.java:60)
      14:26:04,843 ERROR [STDERR] at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:320)
      14:26:04,843 ERROR [STDERR] at java.util.LinkedList.writeObject(LinkedList.java:770)
      14:26:04,843 ERROR [STDERR] ... 50 more
      14:26:04,843 ERROR [STDERR] Caused by:
      14:26:04,859 ERROR [STDERR] java.lang.reflect.InvocationTargetException
      14:26:04,859 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      14:26:04,859 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:64)
      14:26:04,859 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      14:26:04,859 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:615)
      14:26:04,890 ERROR [STDERR] at org.jboss.serial.persister.RegularObjectPersister.writeSlotWithMethod(RegularObjectPersister.java:120)
      14:26:04,890 ERROR [STDERR] ... 106 more
      14:26:04,890 ERROR [STDERR] Caused by:
      14:26:04,890 ERROR [STDERR] java.io.IOException
      14:26:04,890 ERROR [STDERR] at org.jboss.serial.persister.RegularObjectPersister.writeSlotWithMethod(RegularObjectPersister.java:129)
      14:26:04,906 ERROR [STDERR] at org.jboss.serial.persister.RegularObjectPersister.defaultWrite(RegularObjectPersister.java:86)
      14:26:04,906 ERROR [STDERR] at org.jboss.serial.persister.RegularObjectPersister.writeData(RegularObjectPersister.java:62)
      14:26:04,906 ERROR [STDERR] at org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.describeObject(ObjectDescriptorFactory.java:276)
      14:26:04,906 ERROR [STDERR] at org.jboss.serial.objectmetamodel.DataContainer$DataContainerDirectOutput.writeObject(DataContainer.java:206)
      14:26:04,921 ERROR [STDERR] at org.jboss.serial.persister.RegularObjectPersister.writeSlotWithFields(RegularObjectPersister.java:182)
      14:26:04,921 ERROR [STDERR] at org.jboss.serial.persister.RegularObjectPersister.defaultWrite(RegularObjectPersister.java:90)
      14:26:04,921 ERROR [STDERR] at org.jboss.serial.persister.RegularObjectPersister.writeData(RegularObjectPersister.java:62)
      14:26:04,921 ERROR [STDERR] at org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.describeObject(ObjectDescriptorFactory.java:276)
      14:26:04,937 ERROR [STDERR] at org.jboss.serial.objectmetamodel.DataContainer$DataContainerDirectOutput.writeObject(DataContainer.java:206)
      14:26:04,937 ERROR [STDERR] at org.jboss.serial.persister.ObjectOutputStreamProxy.writeObjectOverride(ObjectOutputStreamProxy.java:60)
      14:26:04,937 ERROR [STDERR] at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:320)
      14:26:04,937 ERROR [STDERR] at EDU.oswego.cs.dl.util.concurrent.CopyOnWriteArrayList.writeObject(CopyOnWriteArrayList.java:772)
      14:26:04,937 ERROR [STDERR] ... 111 more
      14:26:04,937 ERROR [STDERR] Caused by:
      14:26:04,937 ERROR [STDERR] java.lang.reflect.InvocationTargetException
      14:26:04,937 ERROR [STDERR] at sun.reflect.GeneratedMethodAccessor284.invoke(Unknown Source)
      14:26:04,937 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      14:26:04,937 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:615)
      14:26:04,937 ERROR [STDERR] at org.jboss.serial.persister.RegularObjectPersister.writeSlotWithMethod(RegularObjectPersister.java:120)
      14:26:04,937 ERROR [STDERR] ... 123 more
      14:26:04,937 ERROR [STDERR] Caused by:
      14:26:04,937 ERROR [STDERR] java.lang.NoClassDefFoundError: org.jbpm.graph.exe.ProcessInstance
      14:26:04,937 ERROR [STDERR] at java.lang.Class.getDeclaredFieldsImpl(Native Method)
      14:26:04,937 ERROR [STDERR] at java.lang.Class.getDeclaredFields(Class.java:505)
      14:26:04,937 ERROR [STDERR] at org.jboss.serial.classmetamodel.ClassMetaDataSlot.exploreFields(ClassMetaDataSlot.java:89)
      14:26:04,937 ERROR [STDERR] at org.jboss.serial.classmetamodel.ClassMetaDataSlot.<init>(ClassMetaDataSlot.java:58)
      14:26:04,937 ERROR [STDERR] at org.jboss.serial.classmetamodel.ClassMetaData.exploreSlots(ClassMetaData.java:411)
      14:26:04,937 ERROR [STDERR] at org.jboss.serial.classmetamodel.ClassMetaData.<init>(ClassMetaData.java:138)
      14:26:04,937 ERROR [STDERR] at org.jboss.serial.classmetamodel.ClassMetamodelFactory.getClassMetaData(ClassMetamodelFactory.java:350)
      14:26:04,937 ERROR [STDERR] at org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.describeObject(ObjectDescriptorFactory.java:168)
      14:26:04,937 ERROR [STDERR] at org.jboss.serial.objectmetamodel.DataContainer$DataContainerDirectOutput.writeObject(DataContainer.java:206)
      14:26:04,937 ERROR [STDERR] at org.jboss.serial.persister.ObjectOutputStreamProxy.writeObjectOverride(ObjectOutputStreamProxy.java:60)
      14:26:04,937 ERROR [STDERR] at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:320)
      14:26:04,937 ERROR [STDERR] at java.util.Hashtable.writeObject(Hashtable.java:793)
      14:26:04,937 ERROR [STDERR] ... 127 more
      


      Looking at root cause, I suppose this is something jbpm-related, but how to catch the reason ?

        • 1. Re: Exception in JBoss console, the root is java.lang.NoClas
          Alex Ka Novice

          Are you really "occasionally" getting a NoClassDefFoundError exception?

          Have you included the jbpm jar? It has to be either in a /lib directory inside your ear, or in the root of the ear with a declaration for the jar in application.xml

          Are you using jbpm in your application?

          • 2. Re: Exception in JBoss console, the root is java.lang.NoClas
            Alex Ka Novice

            Also notice that the code that is causing this to happen is:

            14:26:04,765 ERROR [STDERR] at org.jboss.ejb3.cache.simple.SimpleStatefulCache.passivate(SimpleStatefulCache.java:196)
            14:26:04,765 ERROR [STDERR] at org.jboss.ejb3.cache.simple.SimpleStatefulCache$SessionTimeoutTask.run(SimpleStatefulCache.java:129)


            • 3. Re: Exception in JBoss console, the root is java.lang.NoClas
              Daniel Kane Novice

              wise_guybg,
              thank you for your reply.

              No, my application does not use jbpm. Earlier I have deployed application with jbpm, keeping to all rules, and it worked well. But now I have undeployed it.

              Exception occurs without any user action , just appears in console in background.

              • 4. Re: Exception in JBoss console, the root is java.lang.NoClas
                Daniel Kane Novice

                Forgot to mention the second sort of exception that happens occasionally in console :

                14:40:19,468 ERROR [SimpleStatefulCache] problem passivation thread
                javax.ejb.EJBException: Could not passivate; failed to save state
                 at org.jboss.ejb3.cache.simple.StatefulSessionFilePersistenceManager.passivateSession(StatefulSessionFilePersistenceManager.java:363)
                 at org.jboss.ejb3.cache.simple.SimpleStatefulCache.passivate(SimpleStatefulCache.java:196)
                 at org.jboss.ejb3.cache.simple.SimpleStatefulCache$SessionTimeoutTask.run(SimpleStatefulCache.java:129)
                Caused by:
                java.io.IOException
                 at org.jboss.serial.persister.RegularObjectPersister.writeSlotWithMethod(RegularObjectPersister.java:129)
                 at org.jboss.serial.persister.RegularObjectPersister.defaultWrite(RegularObjectPersister.java:86)
                 at org.jboss.serial.persister.RegularObjectPersister.writeData(RegularObjectPersister.java:62)
                 at org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.describeObject(ObjectDescriptorFactory.java:276)
                 at org.jboss.serial.objectmetamodel.DataContainer$DataContainerDirectOutput.writeObject(DataContainer.java:206)
                 at org.jboss.serial.persister.RegularObjectPersister.writeSlotWithFields(RegularObjectPersister.java:182)
                 at org.jboss.serial.persister.RegularObjectPersister.defaultWrite(RegularObjectPersister.java:90)
                 at org.jboss.serial.persister.RegularObjectPersister.writeData(RegularObjectPersister.java:62)
                 at org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.describeObject(ObjectDescriptorFactory.java:276)
                 at org.jboss.serial.objectmetamodel.DataContainer$DataContainerDirectOutput.writeObject(DataContainer.java:206)
                 at org.jboss.serial.persister.RegularObjectPersister.writeSlotWithFields(RegularObjectPersister.java:182)
                 at org.jboss.serial.persister.RegularObjectPersister.defaultWrite(RegularObjectPersister.java:90)
                 at org.jboss.serial.persister.RegularObjectPersister.writeData(RegularObjectPersister.java:62)
                 at org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.describeObject(ObjectDescriptorFactory.java:276)
                 at org.jboss.serial.objectmetamodel.DataContainer$DataContainerDirectOutput.writeObject(DataContainer.java:206)
                 at org.jboss.serial.persister.RegularObjectPersister.writeSlotWithFields(RegularObjectPersister.java:182)
                 at org.jboss.serial.persister.RegularObjectPersister.defaultWrite(RegularObjectPersister.java:90)
                 at org.jboss.serial.persister.RegularObjectPersister.writeData(RegularObjectPersister.java:62)
                 at org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.describeObject(ObjectDescriptorFactory.java:276)
                 at org.jboss.serial.objectmetamodel.DataContainer$DataContainerDirectOutput.writeObject(DataContainer.java:206)
                 at org.jboss.serial.persister.RegularObjectPersister.writeSlotWithFields(RegularObjectPersister.java:182)
                 at org.jboss.serial.persister.RegularObjectPersister.defaultWrite(RegularObjectPersister.java:90)
                 at org.jboss.serial.persister.RegularObjectPersister.writeData(RegularObjectPersister.java:62)
                 at org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.describeObject(ObjectDescriptorFactory.java:276)
                 at org.jboss.serial.objectmetamodel.DataContainer$DataContainerDirectOutput.writeObject(DataContainer.java:206)
                 at org.jboss.serial.persister.ArrayPersister.saveObjectArray(ArrayPersister.java:110)
                 at org.jboss.serial.persister.ArrayPersister.writeData(ArrayPersister.java:101)
                 at org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.describeObject(ObjectDescriptorFactory.java:276)
                 at org.jboss.serial.objectmetamodel.DataContainer$DataContainerDirectOutput.writeObject(DataContainer.java:206)
                 at org.jboss.serial.persister.RegularObjectPersister.writeSlotWithFields(RegularObjectPersister.java:182)
                 at org.jboss.serial.persister.RegularObjectPersister.defaultWrite(RegularObjectPersister.java:90)
                 at org.jboss.serial.persister.RegularObjectPersister.writeData(RegularObjectPersister.java:62)
                 at org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.describeObject(ObjectDescriptorFactory.java:276)
                 at org.jboss.serial.objectmetamodel.DataContainer$DataContainerDirectOutput.writeObject(DataContainer.java:206)
                 at org.jboss.serial.persister.RegularObjectPersister.writeSlotWithFields(RegularObjectPersister.java:182)
                 at org.jboss.serial.persister.RegularObjectPersister.defaultWrite(RegularObjectPersister.java:90)
                 at org.jboss.serial.persister.RegularObjectPersister.writeData(RegularObjectPersister.java:62)
                 at org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.describeObject(ObjectDescriptorFactory.java:276)
                 at org.jboss.serial.objectmetamodel.DataContainer$DataContainerDirectOutput.writeObject(DataContainer.java:206)
                 at org.jboss.serial.persister.RegularObjectPersister.writeSlotWithFields(RegularObjectPersister.java:182)
                 at org.jboss.serial.persister.RegularObjectPersister.defaultWrite(RegularObjectPersister.java:90)
                 at org.jboss.serial.persister.RegularObjectPersister.writeData(RegularObjectPersister.java:62)
                 at org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.describeObject(ObjectDescriptorFactory.java:276)
                 at org.jboss.serial.objectmetamodel.DataContainer$DataContainerDirectOutput.writeObject(DataContainer.java:206)
                 at org.jboss.serial.persister.RegularObjectPersister.writeSlotWithFields(RegularObjectPersister.java:182)
                 at org.jboss.serial.persister.RegularObjectPersister.defaultWrite(RegularObjectPersister.java:90)
                 at org.jboss.serial.persister.RegularObjectPersister.writeData(RegularObjectPersister.java:62)
                 at org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.describeObject(ObjectDescriptorFactory.java:276)
                 at org.jboss.serial.objectmetamodel.DataContainer$DataContainerDirectOutput.writeObject(DataContainer.java:206)
                 at org.jboss.serial.persister.RegularObjectPersister.writeSlotWithFields(RegularObjectPersister.java:182)
                 at org.jboss.serial.persister.RegularObjectPersister.defaultWrite(RegularObjectPersister.java:90)
                 at org.jboss.serial.persister.RegularObjectPersister.writeData(RegularObjectPersister.java:62)
                 at org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.describeObject(ObjectDescriptorFactory.java:276)
                 at org.jboss.serial.objectmetamodel.DataContainer$DataContainerDirectOutput.writeObject(DataContainer.java:206)
                 at org.jboss.serial.persister.RegularObjectPersister.writeSlotWithFields(RegularObjectPersister.java:182)
                 at org.jboss.serial.persister.RegularObjectPersister.defaultWrite(RegularObjectPersister.java:90)
                 at org.jboss.serial.persister.RegularObjectPersister.writeData(RegularObjectPersister.java:62)
                 at org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.describeObject(ObjectDescriptorFactory.java:276)
                 at org.jboss.serial.objectmetamodel.DataContainer$DataContainerDirectOutput.writeObject(DataContainer.java:206)
                 at org.jboss.serial.persister.RegularObjectPersister.writeSlotWithFields(RegularObjectPersister.java:182)
                 at org.jboss.serial.persister.RegularObjectPersister.defaultWrite(RegularObjectPersister.java:90)
                 at org.jboss.serial.persister.RegularObjectPersister.writeData(RegularObjectPersister.java:62)
                 at org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.describeObject(ObjectDescriptorFactory.java:276)
                 at org.jboss.serial.objectmetamodel.DataContainer$DataContainerDirectOutput.writeObject(DataContainer.java:206)
                 at org.jboss.serial.persister.RegularObjectPersister.writeSlotWithFields(RegularObjectPersister.java:182)
                 at org.jboss.serial.persister.RegularObjectPersister.defaultWrite(RegularObjectPersister.java:90)
                 at org.jboss.serial.persister.RegularObjectPersister.writeData(RegularObjectPersister.java:62)
                 at org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.describeObject(ObjectDescriptorFactory.java:276)
                 at org.jboss.serial.objectmetamodel.DataContainer$DataContainerDirectOutput.writeObject(DataContainer.java:206)
                 at org.jboss.serial.persister.RegularObjectPersister.writeSlotWithFields(RegularObjectPersister.java:182)
                 at org.jboss.serial.persister.RegularObjectPersister.defaultWrite(RegularObjectPersister.java:90)
                 at org.jboss.serial.persister.RegularObjectPersister.writeData(RegularObjectPersister.java:62)
                 at org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.describeObject(ObjectDescriptorFactory.java:276)
                 at org.jboss.serial.objectmetamodel.DataContainer$DataContainerDirectOutput.writeObject(DataContainer.java:206)
                 at org.jboss.serial.persister.RegularObjectPersister.writeSlotWithFields(RegularObjectPersister.java:182)
                 at org.jboss.serial.persister.RegularObjectPersister.defaultWrite(RegularObjectPersister.java:90)
                 at org.jboss.serial.persister.RegularObjectPersister.writeData(RegularObjectPersister.java:62)
                 at org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.describeObject(ObjectDescriptorFactory.java:276)
                 at org.jboss.serial.objectmetamodel.DataContainer$DataContainerDirectOutput.writeObject(DataContainer.java:206)
                 at org.jboss.serial.persister.RegularObjectPersister.writeSlotWithFields(RegularObjectPersister.java:182)
                 at org.jboss.serial.persister.RegularObjectPersister.defaultWrite(RegularObjectPersister.java:90)
                 at org.jboss.serial.persister.RegularObjectPersister.writeData(RegularObjectPersister.java:62)
                 at org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.describeObject(ObjectDescriptorFactory.java:276)
                 at org.jboss.serial.objectmetamodel.DataContainer$DataContainerDirectOutput.writeObject(DataContainer.java:206)
                 at org.jboss.serial.persister.ArrayPersister.saveObjectArray(ArrayPersister.java:110)
                 at org.jboss.serial.persister.ArrayPersister.writeData(ArrayPersister.java:101)
                 at org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.describeObject(ObjectDescriptorFactory.java:276)
                 at org.jboss.serial.objectmetamodel.DataContainer$DataContainerDirectOutput.writeObject(DataContainer.java:206)
                 at org.jboss.serial.io.JBossObjectOutputStream.writeObjectOverride(JBossObjectOutputStream.java:181)
                 at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:320)
                 at org.jboss.serial.io.MarshalledObject.<init>(MarshalledObject.java:51)
                 at org.jboss.ejb3.stateful.StatefulBeanContext.writeExternal(StatefulBeanContext.java:405)
                 at org.jboss.serial.persister.ExternalizePersister.writeData(ExternalizePersister.java:58)
                 at org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.describeObject(ObjectDescriptorFactory.java:276)
                 at org.jboss.serial.objectmetamodel.DataContainer$DataContainerDirectOutput.writeObject(DataContainer.java:206)
                 at org.jboss.serial.io.JBossObjectOutputStream.writeObjectOverride(JBossObjectOutputStream.java:181)
                 at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:320)
                 at org.jboss.ejb3.cache.simple.StatefulSessionFilePersistenceManager.passivateSession(StatefulSessionFilePersistenceManager.java:347)
                 ... 2 more
                Caused by:
                java.lang.reflect.InvocationTargetException
                 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
                 at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:64)
                 at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
                 at java.lang.reflect.Method.invoke(Method.java:615)
                 at org.jboss.serial.persister.RegularObjectPersister.writeSlotWithMethod(RegularObjectPersister.java:120)
                 ... 99 more
                Caused by:
                java.io.IOException
                 at org.jboss.serial.persister.RegularObjectPersister.writeSlotWithMethod(RegularObjectPersister.java:129)
                 at org.jboss.serial.persister.RegularObjectPersister.defaultWrite(RegularObjectPersister.java:86)
                 at org.jboss.serial.persister.RegularObjectPersister.writeData(RegularObjectPersister.java:62)
                 at org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.describeObject(ObjectDescriptorFactory.java:276)
                 at org.jboss.serial.objectmetamodel.DataContainer$DataContainerDirectOutput.writeObject(DataContainer.java:206)
                 at org.jboss.serial.persister.RegularObjectPersister.writeSlotWithFields(RegularObjectPersister.java:182)
                 at org.jboss.serial.persister.RegularObjectPersister.defaultWrite(RegularObjectPersister.java:90)
                 at org.jboss.serial.persister.RegularObjectPersister.writeData(RegularObjectPersister.java:62)
                 at org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.describeObject(ObjectDescriptorFactory.java:276)
                 at org.jboss.serial.objectmetamodel.DataContainer$DataContainerDirectOutput.writeObject(DataContainer.java:206)
                 at org.jboss.serial.persister.ObjectOutputStreamProxy.writeObjectOverride(ObjectOutputStreamProxy.java:60)
                 at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:320)
                 at EDU.oswego.cs.dl.util.concurrent.CopyOnWriteArrayList.writeObject(CopyOnWriteArrayList.java:772)
                 ... 104 more
                Caused by:
                java.lang.reflect.InvocationTargetException
                 at sun.reflect.GeneratedMethodAccessor910.invoke(Unknown Source)
                 at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
                 at java.lang.reflect.Method.invoke(Method.java:615)
                 at org.jboss.serial.persister.RegularObjectPersister.writeSlotWithMethod(RegularObjectPersister.java:120)
                 ... 116 more
                Caused by:
                java.lang.NoClassDefFoundError: org.drools.WorkingMemory
                 at java.lang.Class.getDeclaredFieldsImpl(Native Method)
                 at java.lang.Class.getDeclaredFields(Class.java:505)
                 at org.jboss.serial.classmetamodel.ClassMetaDataSlot.exploreFields(ClassMetaDataSlot.java:89)
                 at org.jboss.serial.classmetamodel.ClassMetaDataSlot.<init>(ClassMetaDataSlot.java:58)
                 at org.jboss.serial.classmetamodel.ClassMetaData.exploreSlots(ClassMetaData.java:411)
                 at org.jboss.serial.classmetamodel.ClassMetaData.<init>(ClassMetaData.java:138)
                 at org.jboss.serial.classmetamodel.ClassMetamodelFactory.getClassMetaData(ClassMetamodelFactory.java:350)
                 at org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.describeObject(ObjectDescriptorFactory.java:168)
                 at org.jboss.serial.objectmetamodel.DataContainer$DataContainerDirectOutput.writeObject(DataContainer.java:206)
                 at org.jboss.serial.persister.ObjectOutputStreamProxy.writeObjectOverride(ObjectOutputStreamProxy.java:60)
                 at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:320)
                 at java.util.Hashtable.writeObject(Hashtable.java:793)
                 ... 120 more



                No points to my code in stack trace, no idea how to locate the error..



                • 5. Re: Exception in JBoss console, the root is java.lang.NoClas
                  Daniel Kane Novice

                  And, yet another one, coming again from background process (sorry for overflooding the thread with these long stack traces)


                  15:18:32,890 ERROR [SimpleStatefulCache] problem passivation thread
                  javax.ejb.EJBException: Could not passivate; failed to save state
                   at org.jboss.ejb3.cache.simple.StatefulSessionFilePersistenceManager.passivateSession(StatefulSessionFilePersistenceManager.java:363)
                   at org.jboss.ejb3.cache.simple.SimpleStatefulCache.passivate(SimpleStatefulCache.java:196)
                   at org.jboss.ejb3.cache.simple.SimpleStatefulCache$SessionTimeoutTask.run(SimpleStatefulCache.java:129)
                  Caused by:
                  java.io.IOException
                   at org.jboss.serial.persister.RegularObjectPersister.writeSlotWithMethod(RegularObjectPersister.java:129)
                   at org.jboss.serial.persister.RegularObjectPersister.defaultWrite(RegularObjectPersister.java:86)
                   at org.jboss.serial.persister.RegularObjectPersister.writeData(RegularObjectPersister.java:62)
                   at org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.describeObject(ObjectDescriptorFactory.java:276)
                   at org.jboss.serial.objectmetamodel.DataContainer$DataContainerDirectOutput.writeObject(DataContainer.java:206)
                   at org.jboss.serial.persister.RegularObjectPersister.writeSlotWithFields(RegularObjectPersister.java:182)
                   at org.jboss.serial.persister.RegularObjectPersister.defaultWrite(RegularObjectPersister.java:90)
                   at org.jboss.serial.persister.RegularObjectPersister.writeData(RegularObjectPersister.java:62)
                   at org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.describeObject(ObjectDescriptorFactory.java:276)
                   at org.jboss.serial.objectmetamodel.DataContainer$DataContainerDirectOutput.writeObject(DataContainer.java:206)
                   at org.jboss.serial.persister.RegularObjectPersister.writeSlotWithFields(RegularObjectPersister.java:182)
                   at org.jboss.serial.persister.RegularObjectPersister.defaultWrite(RegularObjectPersister.java:90)
                   at org.jboss.serial.persister.RegularObjectPersister.writeData(RegularObjectPersister.java:62)
                   at org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.describeObject(ObjectDescriptorFactory.java:276)
                   at org.jboss.serial.objectmetamodel.DataContainer$DataContainerDirectOutput.writeObject(DataContainer.java:206)
                   at org.jboss.serial.persister.RegularObjectPersister.writeSlotWithFields(RegularObjectPersister.java:182)
                   at org.jboss.serial.persister.RegularObjectPersister.defaultWrite(RegularObjectPersister.java:90)
                   at org.jboss.serial.persister.RegularObjectPersister.writeData(RegularObjectPersister.java:62)
                   at org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.describeObject(ObjectDescriptorFactory.java:276)
                   at org.jboss.serial.objectmetamodel.DataContainer$DataContainerDirectOutput.writeObject(DataContainer.java:206)
                   at org.jboss.serial.persister.RegularObjectPersister.writeSlotWithFields(RegularObjectPersister.java:182)
                   at org.jboss.serial.persister.RegularObjectPersister.defaultWrite(RegularObjectPersister.java:90)
                   at org.jboss.serial.persister.RegularObjectPersister.writeData(RegularObjectPersister.java:62)
                   at org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.describeObject(ObjectDescriptorFactory.java:276)
                   at org.jboss.serial.objectmetamodel.DataContainer$DataContainerDirectOutput.writeObject(DataContainer.java:206)
                   at org.jboss.serial.persister.ArrayPersister.saveObjectArray(ArrayPersister.java:110)
                   at org.jboss.serial.persister.ArrayPersister.writeData(ArrayPersister.java:101)
                   at org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.describeObject(ObjectDescriptorFactory.java:276)
                   at org.jboss.serial.objectmetamodel.DataContainer$DataContainerDirectOutput.writeObject(DataContainer.java:206)
                   at org.jboss.serial.persister.RegularObjectPersister.writeSlotWithFields(RegularObjectPersister.java:182)
                   at org.jboss.serial.persister.RegularObjectPersister.defaultWrite(RegularObjectPersister.java:90)
                   at org.jboss.serial.persister.RegularObjectPersister.writeData(RegularObjectPersister.java:62)
                   at org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.describeObject(ObjectDescriptorFactory.java:276)
                   at org.jboss.serial.objectmetamodel.DataContainer$DataContainerDirectOutput.writeObject(DataContainer.java:206)
                   at org.jboss.serial.persister.RegularObjectPersister.writeSlotWithFields(RegularObjectPersister.java:182)
                   at org.jboss.serial.persister.RegularObjectPersister.defaultWrite(RegularObjectPersister.java:90)
                   at org.jboss.serial.persister.RegularObjectPersister.writeData(RegularObjectPersister.java:62)
                   at org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.describeObject(ObjectDescriptorFactory.java:276)
                   at org.jboss.serial.objectmetamodel.DataContainer$DataContainerDirectOutput.writeObject(DataContainer.java:206)
                   at org.jboss.serial.persister.RegularObjectPersister.writeSlotWithFields(RegularObjectPersister.java:182)
                   at org.jboss.serial.persister.RegularObjectPersister.defaultWrite(RegularObjectPersister.java:90)
                   at org.jboss.serial.persister.RegularObjectPersister.writeData(RegularObjectPersister.java:62)
                   at org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.describeObject(ObjectDescriptorFactory.java:276)
                   at org.jboss.serial.objectmetamodel.DataContainer$DataContainerDirectOutput.writeObject(DataContainer.java:206)
                   at org.jboss.serial.persister.RegularObjectPersister.writeSlotWithFields(RegularObjectPersister.java:182)
                   at org.jboss.serial.persister.RegularObjectPersister.defaultWrite(RegularObjectPersister.java:90)
                   at org.jboss.serial.persister.RegularObjectPersister.writeData(RegularObjectPersister.java:62)
                   at org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.describeObject(ObjectDescriptorFactory.java:276)
                   at org.jboss.serial.objectmetamodel.DataContainer$DataContainerDirectOutput.writeObject(DataContainer.java:206)
                   at org.jboss.serial.persister.RegularObjectPersister.writeSlotWithFields(RegularObjectPersister.java:182)
                   at org.jboss.serial.persister.RegularObjectPersister.defaultWrite(RegularObjectPersister.java:90)
                   at org.jboss.serial.persister.RegularObjectPersister.writeData(RegularObjectPersister.java:62)
                   at org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.describeObject(ObjectDescriptorFactory.java:276)
                   at org.jboss.serial.objectmetamodel.DataContainer$DataContainerDirectOutput.writeObject(DataContainer.java:206)
                   at org.jboss.serial.persister.RegularObjectPersister.writeSlotWithFields(RegularObjectPersister.java:182)
                   at org.jboss.serial.persister.RegularObjectPersister.defaultWrite(RegularObjectPersister.java:90)
                   at org.jboss.serial.persister.RegularObjectPersister.writeData(RegularObjectPersister.java:62)
                   at org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.describeObject(ObjectDescriptorFactory.java:276)
                   at org.jboss.serial.objectmetamodel.DataContainer$DataContainerDirectOutput.writeObject(DataContainer.java:206)
                   at org.jboss.serial.persister.RegularObjectPersister.writeSlotWithFields(RegularObjectPersister.java:182)
                   at org.jboss.serial.persister.RegularObjectPersister.defaultWrite(RegularObjectPersister.java:90)
                   at org.jboss.serial.persister.RegularObjectPersister.writeData(RegularObjectPersister.java:62)
                   at org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.describeObject(ObjectDescriptorFactory.java:276)
                   at org.jboss.serial.objectmetamodel.DataContainer$DataContainerDirectOutput.writeObject(DataContainer.java:206)
                   at org.jboss.serial.persister.RegularObjectPersister.writeSlotWithFields(RegularObjectPersister.java:182)
                   at org.jboss.serial.persister.RegularObjectPersister.defaultWrite(RegularObjectPersister.java:90)
                   at org.jboss.serial.persister.RegularObjectPersister.writeData(RegularObjectPersister.java:62)
                   at org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.describeObject(ObjectDescriptorFactory.java:276)
                   at org.jboss.serial.objectmetamodel.DataContainer$DataContainerDirectOutput.writeObject(DataContainer.java:206)
                   at org.jboss.serial.persister.RegularObjectPersister.writeSlotWithFields(RegularObjectPersister.java:182)
                   at org.jboss.serial.persister.RegularObjectPersister.defaultWrite(RegularObjectPersister.java:90)
                   at org.jboss.serial.persister.RegularObjectPersister.writeData(RegularObjectPersister.java:62)
                   at org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.describeObject(ObjectDescriptorFactory.java:276)
                   at org.jboss.serial.objectmetamodel.DataContainer$DataContainerDirectOutput.writeObject(DataContainer.java:206)
                   at org.jboss.serial.persister.RegularObjectPersister.writeSlotWithFields(RegularObjectPersister.java:182)
                   at org.jboss.serial.persister.RegularObjectPersister.defaultWrite(RegularObjectPersister.java:90)
                   at org.jboss.serial.persister.RegularObjectPersister.writeData(RegularObjectPersister.java:62)
                   at org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.describeObject(ObjectDescriptorFactory.java:276)
                   at org.jboss.serial.objectmetamodel.DataContainer$DataContainerDirectOutput.writeObject(DataContainer.java:206)
                   at org.jboss.serial.persister.RegularObjectPersister.writeSlotWithFields(RegularObjectPersister.java:182)
                   at org.jboss.serial.persister.RegularObjectPersister.defaultWrite(RegularObjectPersister.java:90)
                   at org.jboss.serial.persister.RegularObjectPersister.writeData(RegularObjectPersister.java:62)
                   at org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.describeObject(ObjectDescriptorFactory.java:276)
                   at org.jboss.serial.objectmetamodel.DataContainer$DataContainerDirectOutput.writeObject(DataContainer.java:206)
                   at org.jboss.serial.persister.ArrayPersister.saveObjectArray(ArrayPersister.java:110)
                   at org.jboss.serial.persister.ArrayPersister.writeData(ArrayPersister.java:101)
                   at org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.describeObject(ObjectDescriptorFactory.java:276)
                   at org.jboss.serial.objectmetamodel.DataContainer$DataContainerDirectOutput.writeObject(DataContainer.java:206)
                   at org.jboss.serial.io.JBossObjectOutputStream.writeObjectOverride(JBossObjectOutputStream.java:181)
                   at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:320)
                   at org.jboss.serial.io.MarshalledObject.<init>(MarshalledObject.java:51)
                   at org.jboss.ejb3.stateful.StatefulBeanContext.writeExternal(StatefulBeanContext.java:405)
                   at org.jboss.serial.persister.ExternalizePersister.writeData(ExternalizePersister.java:58)
                   at org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.describeObject(ObjectDescriptorFactory.java:276)
                   at org.jboss.serial.objectmetamodel.DataContainer$DataContainerDirectOutput.writeObject(DataContainer.java:206)
                   at org.jboss.serial.io.JBossObjectOutputStream.writeObjectOverride(JBossObjectOutputStream.java:181)
                   at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:320)
                   at org.jboss.ejb3.cache.simple.StatefulSessionFilePersistenceManager.passivateSession(StatefulSessionFilePersistenceManager.java:347)
                   ... 2 more
                  Caused by:
                  java.lang.reflect.InvocationTargetException
                   at sun.reflect.GeneratedMethodAccessor1040.invoke(Unknown Source)
                   at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
                   at java.lang.reflect.Method.invoke(Method.java:615)
                   at org.jboss.serial.persister.RegularObjectPersister.writeSlotWithMethod(RegularObjectPersister.java:120)
                   ... 99 more
                  Caused by:
                  java.io.IOException
                   at org.jboss.serial.persister.RegularObjectPersister.writeSlotWithMethod(RegularObjectPersister.java:129)
                   at org.jboss.serial.persister.RegularObjectPersister.defaultWrite(RegularObjectPersister.java:86)
                   at org.jboss.serial.persister.RegularObjectPersister.writeData(RegularObjectPersister.java:62)
                   at org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.describeObject(ObjectDescriptorFactory.java:276)
                   at org.jboss.serial.objectmetamodel.DataContainer$DataContainerDirectOutput.writeObject(DataContainer.java:206)
                   at org.jboss.serial.persister.RegularObjectPersister.writeSlotWithFields(RegularObjectPersister.java:182)
                   at org.jboss.serial.persister.RegularObjectPersister.defaultWrite(RegularObjectPersister.java:90)
                   at org.jboss.serial.persister.RegularObjectPersister.writeData(RegularObjectPersister.java:62)
                   at org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.describeObject(ObjectDescriptorFactory.java:276)
                   at org.jboss.serial.objectmetamodel.DataContainer$DataContainerDirectOutput.writeObject(DataContainer.java:206)
                   at org.jboss.serial.persister.ObjectOutputStreamProxy.writeObjectOverride(ObjectOutputStreamProxy.java:60)
                   at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:320)
                   at EDU.oswego.cs.dl.util.concurrent.CopyOnWriteArrayList.writeObject(CopyOnWriteArrayList.java:772)
                   ... 103 more
                  Caused by:
                  java.lang.reflect.InvocationTargetException
                   at sun.reflect.GeneratedMethodAccessor910.invoke(Unknown Source)
                   at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
                   at java.lang.reflect.Method.invoke(Method.java:615)
                   at org.jboss.serial.persister.RegularObjectPersister.writeSlotWithMethod(RegularObjectPersister.java:120)
                   ... 115 more
                  Caused by:
                  java.lang.NoClassDefFoundError: com.octo.captcha.service.image.ImageCaptchaService
                   at java.lang.Class.getDeclaredFieldsImpl(Native Method)
                   at java.lang.Class.getDeclaredFields(Class.java:505)
                   at org.jboss.serial.classmetamodel.ClassMetaDataSlot.explorefieldsNonSerializable(ClassMetaDataSlot.java:111)
                   at org.jboss.serial.classmetamodel.ClassMetaDataSlot.<init>(ClassMetaDataSlot.java:54)
                   at org.jboss.serial.classmetamodel.ClassMetaData.exploreSlots(ClassMetaData.java:417)
                   at org.jboss.serial.classmetamodel.ClassMetaData.<init>(ClassMetaData.java:138)
                   at org.jboss.serial.classmetamodel.ClassMetamodelFactory.getClassMetaData(ClassMetamodelFactory.java:350)
                   at org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.describeObject(ObjectDescriptorFactory.java:168)
                   at org.jboss.serial.objectmetamodel.DataContainer$DataContainerDirectOutput.writeObject(DataContainer.java:206)
                   at org.jboss.serial.persister.ObjectOutputStreamProxy.writeObjectOverride(ObjectOutputStreamProxy.java:60)
                   at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:320)
                   at java.util.Hashtable.writeObject(Hashtable.java:793)
                   ... 119 more
                  


                  What is com.octo.captcha.service.image.ImageCaptchaService ? Never used in my apps.