You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "Thomas Andraschko (JIRA)" <de...@myfaces.apache.org> on 2011/06/14 22:20:47 UTC

[jira] [Commented] (EXTCDI-118) Could not serialize state: org.jboss.weld.bean.ManagedBean

    [ https://issues.apache.org/jira/browse/EXTCDI-118?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13049384#comment-13049384 ] 

Thomas Andraschko commented on EXTCDI-118:
------------------------------------------

Did anyone created a ticket in jboss jira for this issue or is there a workaround available?
I can not get any information on this issue which is very weird because it is not possible to use simple @ViewScoped bean...

> Could not serialize state: org.jboss.weld.bean.ManagedBean
> ----------------------------------------------------------
>
>                 Key: EXTCDI-118
>                 URL: https://issues.apache.org/jira/browse/EXTCDI-118
>             Project: MyFaces CODI
>          Issue Type: Bug
>    Affects Versions: 0.9.1, 0.9.2
>         Environment: JbossAS6Final, MyFaces2, 
> jdk1.6_21, win7 64bit
>            Reporter: Michael Schuetz
>            Priority: Minor
>
> Having MyFaces configured now.
> Getting following error:
> 09:58:21,068 INFO  [org.apache.myfaces.util.ExternalSpecifications] MyFaces Unified EL support enabled
> 09:58:21,209 INFO  [org.apache.catalina.core.ContainerBase.[jboss.web].[localhost].[/myfaces-cdi-1.0.2-SNAPSHOT]] No state saving method defined, assuming default server state saving
> 09:58:28,820 SCHWERWIEGEND [org.apache.myfaces.view.facelets.DefaultFaceletsStateManagementHelper] Exiting serializeView - Could not serialize state: org.jboss.weld.bean.ManagedBean: java.io.NotSerializableException: org.jboss.weld.bean.ManagedBean
>         at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1156) [:1.6.0_21]
>         at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:326) [:1.6.0_21]
>         at java.util.concurrent.ConcurrentHashMap.writeObject(ConcurrentHashMap.java:1246) [:1.6.0_21]
>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [:1.6.0_21]
>         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) [:1.6.0_21]
>         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) [:1.6.0_21]
>         at java.lang.reflect.Method.invoke(Method.java:597) [:1.6.0_21]
>         at java.io.ObjectStreamClass.invokeWriteObject(ObjectStreamClass.java:945) [:1.6.0_21]
>         at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1461) [:1.6.0_21]
>         at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1392) [:1.6.0_21]
>         at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1150) [:1.6.0_21]
>         at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:326) [:1.6.0_21]
>         at java.util.HashMap.writeObject(HashMap.java:1001) [:1.6.0_21]
>         at sun.reflect.GeneratedMethodAccessor270.invoke(Unknown Source) [:1.6.0_21]

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira