myfaces-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gerhard Petracek (JIRA)" <...@myfaces.apache.org>
Subject [jira] [Commented] (EXTCDI-118) Could not serialize state: org.jboss.weld.bean.ManagedBean
Date Tue, 14 Jun 2011 20:36:47 GMT

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

Gerhard Petracek commented on EXTCDI-118:
-----------------------------------------

if you use the latest version of weld, it should work.
+ we implemented a workaround for weld (see EXTCDI-152)
if you have to use glassfish, you have to take care which version you are using.

> 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

        

Mime
View raw message