myfaces-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Matthias Weßendorf (JIRA) <...@myfaces.apache.org>
Subject [jira] Commented: (EXTCDI-130) InstanceProducer not serializable
Date Wed, 09 Feb 2011 08:39:57 GMT

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

Matthias Weßendorf commented on EXTCDI-130:
-------------------------------------------

[#|2011-02-09T09:33:46.687+0100|INFO|glassfish3.1|org.apache.catalina.session.ManagerBase|_ThreadID=35;_ThreadName=Thread-1;|PWC2785:
Cannot serialize session attribute org.jboss.weld.context.http.HttpSessionContext#org.jboss.weld.beanProducerMethod-org.apache.myfaces.extensions.cdi.jsf.impl.scope.conversation.InstanceProducermethod
createWindowContextManager(org.apache.myfaces.extensions.cdi.core.api.scope.conversation.config.WindowContextConfig,
org.apache.myfaces.extensions.cdi.core.api.scope.conversation.config.ConversationConfig, org.apache.myfaces.extensions.cdi.core.api.projectstage.ProjectStage,
javax.enterprise.inject.spi.BeanManager) for session 9858dadc7f77e0526b273defbb22
java.io.NotSerializableException: org.apache.myfaces.extensions.cdi.jsf.impl.scope.conversation.InstanceProducer
	at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1156)
	at java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1509)
	at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1474)
	at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1392)
	at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1150)
	at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:326)
	at java.util.ArrayList.writeObject(ArrayList.java:570)
	at sun.reflect.GeneratedMethodAccessor639.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:597)
	at java.io.ObjectStreamClass.invokeWriteObject(ObjectStreamClass.java:945)
	at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1461)
	at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1392)
	at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1150)
	at java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1509)
	at java.io.ObjectOutputStream.defaultWriteObject(ObjectOutputStream.java:416)
	at java.util.Collections$SynchronizedCollection.writeObject(Collections.java:1602)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:597)
	at java.io.ObjectStreamClass.invokeWriteObject(ObjectStreamClass.java:945)
	at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1461)
	at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1392)
	at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1150)
	at java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1509)
	at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1474)
	at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1392)
	at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1150)
	at java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1509)
	at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1474)
	at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1392)
	at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1150)
	at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:326)
	at org.apache.catalina.session.StandardSession.writeObject(StandardSession.java:2067)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:597)
	at java.io.ObjectStreamClass.invokeWriteObject(ObjectStreamClass.java:945)
	at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1461)
	at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1392)
	at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1150)
	at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:326)
	at org.apache.catalina.session.StandardManager.writeSessions(StandardManager.java:699)
	at org.apache.catalina.session.StandardManager.doUnloadToFile(StandardManager.java:618)
	at org.apache.catalina.session.StandardManager.unload(StandardManager.java:589)
	at org.apache.catalina.session.StandardManager.stop(StandardManager.java:879)
	at org.apache.catalina.core.StandardContext.stop(StandardContext.java:5509)
	at com.sun.enterprise.web.WebModule.stop(WebModule.java:529)
	at org.apache.catalina.core.ContainerBase.removeChild(ContainerBase.java:1049)
	at com.sun.enterprise.web.WebContainer.unloadWebModule(WebContainer.java:2191)
	at com.sun.enterprise.web.WebContainer.unloadWebModule(WebContainer.java:2146)
	at com.sun.enterprise.web.WebApplication.stop(WebApplication.java:151)
	at org.glassfish.internal.data.EngineRef.stop(EngineRef.java:169)
	at org.glassfish.internal.data.ModuleInfo.stop(ModuleInfo.java:302)
	at org.glassfish.internal.data.ApplicationInfo.stop(ApplicationInfo.java:314)
	at com.sun.enterprise.v3.server.ApplicationLifecycle.unload(ApplicationLifecycle.java:997)
	at com.sun.enterprise.v3.server.ApplicationLifecycle.disable(ApplicationLifecycle.java:1952)
	at com.sun.enterprise.v3.server.ApplicationLoaderService.stopApplication(ApplicationLoaderService.java:443)
	at com.sun.enterprise.v3.server.ApplicationLoaderService.preDestroy(ApplicationLoaderService.java:411)
	at com.sun.hk2.component.AbstractCreatorInhabitantImpl.dispose(AbstractCreatorInhabitantImpl.java:80)
	at com.sun.hk2.component.SingletonInhabitant.release(SingletonInhabitant.java:78)
	at com.sun.hk2.component.EventPublishingInhabitant.release(EventPublishingInhabitant.java:105)
	at com.sun.hk2.component.LazyInhabitant.release(LazyInhabitant.java:130)
	at com.sun.enterprise.v3.server.AppServerStartup.stop(AppServerStartup.java:415)
	at com.sun.enterprise.glassfish.bootstrap.GlassFishImpl.stop(GlassFishImpl.java:88)
	at com.sun.enterprise.v3.admin.StopServer.doExecute(StopServer.java:70)
	at com.sun.enterprise.v3.admin.StopDomainCommand.execute(StopDomainCommand.java:95)
	at com.sun.enterprise.v3.admin.CommandRunnerImpl$1.execute(CommandRunnerImpl.java:354)
	at com.sun.enterprise.v3.admin.CommandRunnerImpl$2.run(CommandRunnerImpl.java:382)
|#]


> InstanceProducer not serializable
> ---------------------------------
>
>                 Key: EXTCDI-130
>                 URL: https://issues.apache.org/jira/browse/EXTCDI-130
>             Project: MyFaces CODI
>          Issue Type: Bug
>            Reporter: Matthias Weßendorf
>
> Deploying a WAR file, which contains CoDI 0.9.2 to Glassfish 3.1 (RC2) I am getting a
NotSerializableException

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

       

Mime
View raw message