SecurityInterceptor is not serializable
---------------------------------------
Key: JBSEAM-3526
URL:
https://jira.jboss.org/jira/browse/JBSEAM-3526
Project: Seam
Issue Type: Bug
Components: Security
Reporter: Pete Muir
Assignee: Shane Bryzak
Fix For: 2.1.0.GA
All interceptors should be serializable (as AbstractInterceptor implemenets Serializable)
but Method isn't Serializable.
4:34:40,786 ERROR [Objects] Error serializing object class
org.jboss.seam.example.wicket.Main [object=[Page class =
org.jboss.seam.example.wicket.Main, id = 6, version = 0]]
org.apache.wicket.util.io.SerializableChecker$WicketNotSerializableException: Unable to
serialize class: java.lang.reflect.Method
Field hierarchy is:
6 [class=org.jboss.seam.example.wicket.Main, path=6]
private java.lang.Object org.apache.wicket.MarkupContainer.children
[class=org.apache.wicket.MarkupContainer$ChildList]
private java.lang.Object[] org.apache.wicket.MarkupContainer$ChildList.childs
[class=[Ljava.lang.Object;]
private java.lang.Object[] org.apache.wicket.MarkupContainer$ChildList.childs[0]
[class=org.jboss.seam.example.wicket.Template, path=6:body]
private java.lang.Object org.apache.wicket.MarkupContainer.children
[class=org.apache.wicket.MarkupContainer$ChildList]
private java.lang.Object[] org.apache.wicket.MarkupContainer$ChildList.childs
[class=[Ljava.lang.Object;]
java.lang.Object org.apache.wicket.Component.data[5]
[class=org.jboss.seam.example.wicket.Main$HotelSearchForm, path=6:body:searchCriteria]
private java.lang.Object org.apache.wicket.MarkupContainer.children
[class=org.apache.wicket.MarkupContainer$ChildList]
private java.lang.Object[]
org.apache.wicket.MarkupContainer$ChildList.childs [class=[Ljava.lang.Object;]
private java.lang.Object[]
org.apache.wicket.MarkupContainer$ChildList.childs[0]
[class=org.apache.wicket.markup.html.form.TextField,
path=6:body:searchCriteria:searchString]
java.lang.Object org.apache.wicket.Component.data
[class=org.jboss.seam.example.wicket.Main$HotelSearchForm$1]
private org.apache.wicket.model.PropertyModel
org.jboss.seam.wicket.SeamPropertyModel.model
[class=org.apache.wicket.model.PropertyModel]
private java.lang.Object
org.apache.wicket.model.AbstractPropertyModel.target
[class=org.javassist.tmp.java.lang.Object_$$_javassist_2]
private java.util.List
org.jboss.seam.intercept.RootInterceptor.userInterceptors [class=java.util.ArrayList]
private final java.util.concurrent.locks.ReentrantLock$Sync
java.util.concurrent.locks.ReentrantLock.sync[write:2][write:4][write:5]
[class=org.jboss.seam.security.SecurityInterceptor]
private java.util.Map
org.jboss.seam.security.SecurityInterceptor.restrictions [class=java.util.HashMap]
private java.util.Map
org.jboss.seam.security.SecurityInterceptor.restrictions[write:1]
[class=java.lang.reflect.Method] <----- field that is not serializable
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira