[
http://jira.jboss.com/jira/browse/RF-1239?page=all ]
Ilya Shaikovsky reassigned RF-1239:
-----------------------------------
Assignee: Nick Belaevski (was: Ilya Shaikovsky)
commit in 3.1.x branch and resolve to both versions please
org.richfaces.component.state.TreeState cannot be de-serialized
---------------------------------------------------------------
Key: RF-1239
URL:
http://jira.jboss.com/jira/browse/RF-1239
Project: RichFaces
Issue Type: Bug
Affects Versions: 3.1.0
Reporter: Adam Warski
Assigned To: Nick Belaevski
Priority: Minor
Fix For: 3.2.0
When holding a TreeState in a component (Seam - either session or conversation), when the
session times out and the component is removed there is an exception:
17:20:44,677 WARN [Component] Exception calling stateful session bean default @Remove
method: pageT
ree
java.lang.RuntimeException: java.lang.RuntimeException:
org.jboss.serial.exception.SerializationExce
ption: Could not create instance of org.richfaces.component.state.TreeState -
org.richfaces.componen
t.state.TreeState
at
org.jboss.ejb3.interceptor.LifecycleInterceptorHandler.postActivate(LifecycleInterceptorH
andler.java:152)
at
org.jboss.ejb3.stateful.StatefulContainer.invokePostActivate(StatefulContainer.java:400)
at
org.jboss.ejb3.stateful.StatefulBeanContext.postActivate(StatefulBeanContext.java:381)
at
org.jboss.ejb3.cache.simple.StatefulSessionFilePersistenceManager.activateSession(Statefu
lSessionFilePersistenceManager.java:316)
(...)
Caused by: org.jboss.serial.exception.SerializationException: Could not create instance
of org.richf
aces.component.state.TreeState - org.richfaces.component.state.TreeState
at
org.jboss.serial.classmetamodel.ClassMetaData.newInstance(ClassMetaData.java:342)
at
org.jboss.serial.persister.RegularObjectPersister.readData(RegularObjectPersister.java:23
9)
at
org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.readObjectDescriptionFromStreami
ng(ObjectDescriptorFactory.java:412)
at
(...)
Caused by: java.lang.InstantiationException: org.richfaces.component.state.TreeState
at java.lang.Class.newInstance0(Class.java:335)
at java.lang.Class.newInstance(Class.java:303)
at
org.jboss.serial.classmetamodel.ClassMetaData.newInstance(ClassMetaData.java:334)
... 78 more
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira