]
Marek Schmidt commented on SEAM-73:
-----------------------------------
Missed an important detail from the logs, the exception happened in this thread:
SFSB Passivation Thread - jboss.j2ee:jar=seam-booking.war,name=Registrar,service=EJB3
seam-booking example: problem passivation thread:
javax.ejb.EJBException: Could not passivate; failed to save state
-------------------------------------------------------------------------------------------------------------------
Key: SEAM-73
URL:
https://issues.jboss.org/browse/SEAM-73
Project: Seam 3 Distribution
Issue Type: Bug
Components: Shared Examples
Affects Versions: 3.0.0.Final
Environment: JBossAS6
Reporter: Marek Schmidt
Fix For: Future
The following exception start to appear in the server logs, probably when session is
passivated. Likely to be Seam Faces issue, but I am not sure at this time, I'll see if
I can isolate it...
09:55:23,810 FATAL [org.jboss.serial.persister.RegularObjectPersister] error:
java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [:1.6.0_24]
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
[:1.6.0_24]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
[:1.6.0_24]
at java.lang.reflect.Method.invoke(Method.java:597) [:1.6.0_24]
at
org.jboss.serial.persister.RegularObjectPersister.writeSlotWithMethod(RegularObjectPersister.java:120)
[:6.0.0.Final]
at
org.jboss.serial.persister.RegularObjectPersister.defaultWrite(RegularObjectPersister.java:86)
[:6.0.0.Final]
at
org.jboss.serial.persister.RegularObjectPersister.writeData(RegularObjectPersister.java:62)
[:6.0.0.Final]
at
org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.describeObject(ObjectDescriptorFactory.java:276)
[:6.0.0.Final]
at
org.jboss.serial.objectmetamodel.DataContainer$DataContainerDirectOutput.writeObject(DataContainer.java:206)
[:6.0.0.Final]
at
org.jboss.serial.persister.RegularObjectPersister.writeSlotWithFields(RegularObjectPersister.java:182)
[:6.0.0.Final]
at
org.jboss.serial.persister.RegularObjectPersister.defaultWrite(RegularObjectPersister.java:90)
[:6.0.0.Final]
at
org.jboss.serial.persister.RegularObjectPersister.writeData(RegularObjectPersister.java:62)
[:6.0.0.Final]
at
org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.describeObject(ObjectDescriptorFactory.java:276)
[:6.0.0.Final]
at
org.jboss.serial.objectmetamodel.DataContainer$DataContainerDirectOutput.writeObject(DataContainer.java:206)
[:6.0.0.Final]
at
org.jboss.serial.persister.RegularObjectPersister.writeSlotWithFields(RegularObjectPersister.java:182)
[:6.0.0.Final]
at
org.jboss.serial.persister.RegularObjectPersister.defaultWrite(RegularObjectPersister.java:90)
[:6.0.0.Final]
at
org.jboss.serial.persister.RegularObjectPersister.writeData(RegularObjectPersister.java:62)
[:6.0.0.Final]
at
org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.describeObject(ObjectDescriptorFactory.java:276)
[:6.0.0.Final]
at
org.jboss.serial.objectmetamodel.DataContainer$DataContainerDirectOutput.writeObject(DataContainer.java:206)
[:6.0.0.Final]
at org.jboss.serial.persister.ArrayPersister.saveObjectArray(ArrayPersister.java:110)
[:6.0.0.Final]
at org.jboss.serial.persister.ArrayPersister.writeData(ArrayPersister.java:101)
[:6.0.0.Final]
at
org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.describeObject(ObjectDescriptorFactory.java:276)
[:6.0.0.Final]
at
org.jboss.serial.objectmetamodel.DataContainer$DataContainerDirectOutput.writeObject(DataContainer.java:206)
[:6.0.0.Final]
at
org.jboss.serial.io.JBossObjectOutputStream.writeObjectOverride(JBossObjectOutputStream.java:181)
[:6.0.0.Final]
at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:326) [:1.6.0_24]
at org.jboss.serial.io.MarshalledObject.<init>(MarshalledObject.java:51)
[:6.0.0.Final]
at
org.jboss.ejb3.stateful.StatefulBeanContext.writeExternal(StatefulBeanContext.java:1048)
[:1.7.17]
at
org.jboss.serial.persister.ExternalizePersister.writeData(ExternalizePersister.java:58)
[:6.0.0.Final]
at
org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.describeObject(ObjectDescriptorFactory.java:276)
[:6.0.0.Final]
at
org.jboss.serial.objectmetamodel.DataContainer$DataContainerDirectOutput.writeObject(DataContainer.java:206)
[:6.0.0.Final]
at
org.jboss.serial.io.JBossObjectOutputStream.writeObjectOverride(JBossObjectOutputStream.java:181)
[:6.0.0.Final]
at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:326) [:1.6.0_24]
at
org.jboss.ejb3.cache.simple.StatefulSessionFilePersistenceManager.passivateSession(StatefulSessionFilePersistenceManager.java:393)
[:1.7.17]
at
org.jboss.ejb3.cache.simple.SimpleStatefulCache.passivate(SimpleStatefulCache.java:397)
[:1.7.17]
at
org.jboss.ejb3.cache.simple.SimpleStatefulCache$SessionTimeoutTask.run(SimpleStatefulCache.java:301)
[:1.7.17]
Caused by: java.lang.NullPointerException
at javax.faces.component.UIInput.saveState(UIInput.java:1349) [:2.0.3-]
at
javax.faces.component.UIComponentBase$AttributesMap.writeObject(UIComponentBase.java:2452)
[:2.0.3-]
... 35 more
09:55:24,008 ERROR [STDERR] java.lang.reflect.InvocationTargetException
09:55:24,008 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native
Method)
09:55:24,008 ERROR [STDERR] at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
09:55:24,008 ERROR [STDERR] at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
09:55:24,008 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:597)
09:55:24,008 ERROR [STDERR] at
org.jboss.serial.persister.RegularObjectPersister.writeSlotWithMethod(RegularObjectPersister.java:120)
09:55:24,008 ERROR [STDERR] at
org.jboss.serial.persister.RegularObjectPersister.defaultWrite(RegularObjectPersister.java:86)
09:55:24,009 ERROR [STDERR] at
org.jboss.serial.persister.RegularObjectPersister.writeData(RegularObjectPersister.java:62)
09:55:24,009 ERROR [STDERR] at
org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.describeObject(ObjectDescriptorFactory.java:276)
09:55:24,009 ERROR [STDERR] at
org.jboss.serial.objectmetamodel.DataContainer$DataContainerDirectOutput.writeObject(DataContainer.java:206)
09:55:24,009 ERROR [STDERR] at
org.jboss.serial.persister.RegularObjectPersister.writeSlotWithFields(RegularObjectPersister.java:182)
09:55:24,009 ERROR [STDERR] at
org.jboss.serial.persister.RegularObjectPersister.defaultWrite(RegularObjectPersister.java:90)
09:55:24,009 ERROR [STDERR] at
org.jboss.serial.persister.RegularObjectPersister.writeData(RegularObjectPersister.java:62)
09:55:24,009 ERROR [STDERR] at
org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.describeObject(ObjectDescriptorFactory.java:276)
09:55:24,010 ERROR [STDERR] at
org.jboss.serial.objectmetamodel.DataContainer$DataContainerDirectOutput.writeObject(DataContainer.java:206)
09:55:24,010 ERROR [STDERR] at
org.jboss.serial.persister.RegularObjectPersister.writeSlotWithFields(RegularObjectPersister.java:182)
09:55:24,010 ERROR [STDERR] at
org.jboss.serial.persister.RegularObjectPersister.defaultWrite(RegularObjectPersister.java:90)
09:55:24,010 ERROR [STDERR] at
org.jboss.serial.persister.RegularObjectPersister.writeData(RegularObjectPersister.java:62)
09:55:24,010 ERROR [STDERR] at
org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.describeObject(ObjectDescriptorFactory.java:276)
09:55:24,010 ERROR [STDERR] at
org.jboss.serial.objectmetamodel.DataContainer$DataContainerDirectOutput.writeObject(DataContainer.java:206)
09:55:24,010 ERROR [STDERR] at
org.jboss.serial.persister.ArrayPersister.saveObjectArray(ArrayPersister.java:110)
09:55:24,011 ERROR [STDERR] at
org.jboss.serial.persister.ArrayPersister.writeData(ArrayPersister.java:101)
09:55:24,011 ERROR [STDERR] at
org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.describeObject(ObjectDescriptorFactory.java:276)
09:55:24,011 ERROR [STDERR] at
org.jboss.serial.objectmetamodel.DataContainer$DataContainerDirectOutput.writeObject(DataContainer.java:206)
09:55:24,011 ERROR [STDERR] at
org.jboss.serial.io.JBossObjectOutputStream.writeObjectOverride(JBossObjectOutputStream.java:181)
09:55:24,011 ERROR [STDERR] at
java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:326)
09:55:24,011 ERROR [STDERR] at
org.jboss.serial.io.MarshalledObject.<init>(MarshalledObject.java:51)
09:55:24,012 ERROR [STDERR] at
org.jboss.ejb3.stateful.StatefulBeanContext.writeExternal(StatefulBeanContext.java:1048)
09:55:24,012 ERROR [STDERR] at
org.jboss.serial.persister.ExternalizePersister.writeData(ExternalizePersister.java:58)
09:55:24,012 ERROR [STDERR] at
org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.describeObject(ObjectDescriptorFactory.java:276)
09:55:24,012 ERROR [STDERR] at
org.jboss.serial.objectmetamodel.DataContainer$DataContainerDirectOutput.writeObject(DataContainer.java:206)
09:55:24,012 ERROR [STDERR] at
org.jboss.serial.io.JBossObjectOutputStream.writeObjectOverride(JBossObjectOutputStream.java:181)
09:55:24,012 ERROR [STDERR] at
java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:326)
09:55:24,012 ERROR [STDERR] at
org.jboss.ejb3.cache.simple.StatefulSessionFilePersistenceManager.passivateSession(StatefulSessionFilePersistenceManager.java:393)
09:55:24,013 ERROR [STDERR] at
org.jboss.ejb3.cache.simple.SimpleStatefulCache.passivate(SimpleStatefulCache.java:397)
09:55:24,013 ERROR [STDERR] at
org.jboss.ejb3.cache.simple.SimpleStatefulCache$SessionTimeoutTask.run(SimpleStatefulCache.java:301)
09:55:24,013 ERROR [STDERR] Caused by: java.lang.NullPointerException
09:55:24,013 ERROR [STDERR] at
javax.faces.component.UIInput.saveState(UIInput.java:1349)
09:55:24,013 ERROR [STDERR] at
javax.faces.component.UIComponentBase$AttributesMap.writeObject(UIComponentBase.java:2452)
09:55:24,013 ERROR [STDERR] ... 35 more
09:55:24,014 ERROR [org.jboss.ejb3.cache.simple.SimpleStatefulCache.Registrar] problem
passivation thread: javax.ejb.EJBException: Could not passivate; failed to save state
at
org.jboss.ejb3.cache.simple.StatefulSessionFilePersistenceManager.passivateSession(StatefulSessionFilePersistenceManager.java:409)
[:1.7.17]
at
org.jboss.ejb3.cache.simple.SimpleStatefulCache.passivate(SimpleStatefulCache.java:397)
[:1.7.17]
at
org.jboss.ejb3.cache.simple.SimpleStatefulCache$SessionTimeoutTask.run(SimpleStatefulCache.java:301)
[:1.7.17]
Caused by: java.io.IOException
at
org.jboss.serial.persister.RegularObjectPersister.writeSlotWithMethod(RegularObjectPersister.java:129)
[:6.0.0.Final]
at
org.jboss.serial.persister.RegularObjectPersister.defaultWrite(RegularObjectPersister.java:86)
[:6.0.0.Final]
at
org.jboss.serial.persister.RegularObjectPersister.writeData(RegularObjectPersister.java:62)
[:6.0.0.Final]
at
org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.describeObject(ObjectDescriptorFactory.java:276)
[:6.0.0.Final]
at
org.jboss.serial.objectmetamodel.DataContainer$DataContainerDirectOutput.writeObject(DataContainer.java:206)
[:6.0.0.Final]
at
org.jboss.serial.persister.RegularObjectPersister.writeSlotWithFields(RegularObjectPersister.java:182)
[:6.0.0.Final]
at
org.jboss.serial.persister.RegularObjectPersister.defaultWrite(RegularObjectPersister.java:90)
[:6.0.0.Final]
at
org.jboss.serial.persister.RegularObjectPersister.writeData(RegularObjectPersister.java:62)
[:6.0.0.Final]
at
org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.describeObject(ObjectDescriptorFactory.java:276)
[:6.0.0.Final]
at
org.jboss.serial.objectmetamodel.DataContainer$DataContainerDirectOutput.writeObject(DataContainer.java:206)
[:6.0.0.Final]
at
org.jboss.serial.persister.RegularObjectPersister.writeSlotWithFields(RegularObjectPersister.java:182)
[:6.0.0.Final]
at
org.jboss.serial.persister.RegularObjectPersister.defaultWrite(RegularObjectPersister.java:90)
[:6.0.0.Final]
at
org.jboss.serial.persister.RegularObjectPersister.writeData(RegularObjectPersister.java:62)
[:6.0.0.Final]
at
org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.describeObject(ObjectDescriptorFactory.java:276)
[:6.0.0.Final]
at
org.jboss.serial.objectmetamodel.DataContainer$DataContainerDirectOutput.writeObject(DataContainer.java:206)
[:6.0.0.Final]
at org.jboss.serial.persister.ArrayPersister.saveObjectArray(ArrayPersister.java:110)
[:6.0.0.Final]
at org.jboss.serial.persister.ArrayPersister.writeData(ArrayPersister.java:101)
[:6.0.0.Final]
at
org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.describeObject(ObjectDescriptorFactory.java:276)
[:6.0.0.Final]
at
org.jboss.serial.objectmetamodel.DataContainer$DataContainerDirectOutput.writeObject(DataContainer.java:206)
[:6.0.0.Final]
at
org.jboss.serial.io.JBossObjectOutputStream.writeObjectOverride(JBossObjectOutputStream.java:181)
[:6.0.0.Final]
at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:326) [:1.6.0_24]
at org.jboss.serial.io.MarshalledObject.<init>(MarshalledObject.java:51)
[:6.0.0.Final]
at
org.jboss.ejb3.stateful.StatefulBeanContext.writeExternal(StatefulBeanContext.java:1048)
[:1.7.17]
at
org.jboss.serial.persister.ExternalizePersister.writeData(ExternalizePersister.java:58)
[:6.0.0.Final]
at
org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.describeObject(ObjectDescriptorFactory.java:276)
[:6.0.0.Final]
at
org.jboss.serial.objectmetamodel.DataContainer$DataContainerDirectOutput.writeObject(DataContainer.java:206)
[:6.0.0.Final]
at
org.jboss.serial.io.JBossObjectOutputStream.writeObjectOverride(JBossObjectOutputStream.java:181)
[:6.0.0.Final]
at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:326) [:1.6.0_24]
at
org.jboss.ejb3.cache.simple.StatefulSessionFilePersistenceManager.passivateSession(StatefulSessionFilePersistenceManager.java:393)
[:1.7.17]
... 2 more
Caused by: java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [:1.6.0_24]
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
[:1.6.0_24]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
[:1.6.0_24]
at java.lang.reflect.Method.invoke(Method.java:597) [:1.6.0_24]
at
org.jboss.serial.persister.RegularObjectPersister.writeSlotWithMethod(RegularObjectPersister.java:120)
[:6.0.0.Final]
... 30 more
Caused by: java.lang.NullPointerException
at javax.faces.component.UIInput.saveState(UIInput.java:1349) [:2.0.3-]
at
javax.faces.component.UIComponentBase$AttributesMap.writeObject(UIComponentBase.java:2452)
[:2.0.3-]
... 35 more
--
This message is automatically generated by JIRA.
For more information on JIRA, see: