[weld-issues] [JBoss JIRA] Closed: (WELD-410) NPE trying to unserialize session bean

Pete Muir (JIRA) jira-events at lists.jboss.org
Fri Jan 29 07:48:19 EST 2010


     [ https://jira.jboss.org/jira/browse/WELD-410?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Pete Muir closed WELD-410.
--------------------------

    Resolution: Duplicate Issue
      Assignee: Pete Muir


Yes, this is a duplicate, please try with trunk/Weld 1.0.1.CR1

> NPE trying to unserialize session bean
> --------------------------------------
>
>                 Key: WELD-410
>                 URL: https://jira.jboss.org/jira/browse/WELD-410
>             Project: Weld
>          Issue Type: Bug
>    Affects Versions: 1.0.0.GA
>         Environment: GlassFish v3
> Linux x64
>            Reporter: Kyle Renfro
>            Assignee: Pete Muir
>         Attachments: test.war
>
>
> Appears similar/same as https://jira.jboss.com/jira/browse/WELD-316
> Steps to reproduce:
> 1. Deploy test.war
> 2. Hit test/index.html
> 3. Stop GlassFish
> 4. Start GlassFish
> In log, after restart:
> INFO: Initializing Mojarra 2.0.2 (FCS b10) for context '/test'
> SEVERE: PWC2773: Exception loading sessions from persistent storage
> java.lang.NullPointerException
>         at org.jboss.weld.introspector.ForwardingAnnotated.isAnnotationPresent(ForwardingAnnotated.java:50)
>         at org.jboss.weld.injection.FieldInjectionPoint.<init>(FieldInjectionPoint.java:62)
>         at org.jboss.weld.injection.FieldInjectionPoint.of(FieldInjectionPoint.java:55)
>         at org.jboss.weld.injection.FieldInjectionPoint$SerializationProxy.readResolve(FieldInjectionPoint.java:169)
>         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.invokeReadResolve(ObjectStreamClass.java:1061)
>         at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1762)
>         at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1329)
>         at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1947)
>         at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1871)
>         at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1753)
>         at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1329)
>         at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1947)
>         at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1871)
>         at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1753)
>         at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1329)
>         at java.io.ObjectInputStream.readObject(ObjectInputStream.java:351)
>         at java.util.ArrayList.readObject(ArrayList.java:593)
>         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.invokeReadObject(ObjectStreamClass.java:974)
>         at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1849)
>         at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1753)
>         at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1329)
>         at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1947)
>         at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1871)
>         at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1753)
>         at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1329)
>         at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1947)
>         at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1871)
>         at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1753)
>         at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1329)
>         at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1947)
>         at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1871)
>         at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1753)
>         at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1329)
>         at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1947)
>         at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1871)
>         at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1753)
>         at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1329)
>         at java.io.ObjectInputStream.readObject(ObjectInputStream.java:351)
>         at org.apache.catalina.session.StandardSession.readRemainingObject(StandardSession.java:1818)
>         at org.apache.catalina.session.StandardSession.readObject(StandardSession.java:1750)
>         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.invokeReadObject(ObjectStreamClass.java:974)
>         at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1849)
>         at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1753)
>         at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1329)
>         at java.io.ObjectInputStream.readObject(ObjectInputStream.java:351)
>         at org.apache.catalina.session.StandardSession.deserialize(StandardSession.java:1063)
>         at org.apache.catalina.session.StandardManager.readSessions(StandardManager.java:511)
>         at org.apache.catalina.session.StandardManager.doLoadFromFile(StandardManager.java:441)
>         at org.apache.catalina.session.StandardManager.load(StandardManager.java:411)
>         at org.apache.catalina.session.StandardManager.start(StandardManager.java:854)
>         at org.apache.catalina.core.StandardContext.start(StandardContext.java:5197)
>         at com.sun.enterprise.web.WebModule.start(WebModule.java:499)
>         at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:928)
>         at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:912)
>         at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:694)
>         at com.sun.enterprise.web.WebContainer.loadWebModule(WebContainer.java:1933)
>         at com.sun.enterprise.web.WebContainer.loadWebModule(WebContainer.java:1605)
>         at com.sun.enterprise.web.WebApplication.start(WebApplication.java:90)
>         at org.glassfish.internal.data.EngineRef.start(EngineRef.java:126)
>         at org.glassfish.internal.data.ModuleInfo.start(ModuleInfo.java:241)
>         at org.glassfish.internal.data.ApplicationInfo.start(ApplicationInfo.java:236)
>         at com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:339)
>         at com.sun.enterprise.v3.server.ApplicationLoaderService.processApplication(ApplicationLoaderService.java:340)
>         at com.sun.enterprise.v3.server.ApplicationLoaderService.postConstruct(ApplicationLoaderService.java:163)
>         at com.sun.hk2.component.AbstractWombImpl.inject(AbstractWombImpl.java:174)
>         at com.sun.hk2.component.ConstructorWomb$1.run(ConstructorWomb.java:87)
>         at java.security.AccessController.doPrivileged(Native Method)
>         at com.sun.hk2.component.ConstructorWomb.initialize(ConstructorWomb.java:84)
>         at com.sun.hk2.component.AbstractWombImpl.get(AbstractWombImpl.java:77)
>         at com.sun.hk2.component.SingletonInhabitant.get(SingletonInhabitant.java:58)
>         at com.sun.hk2.component.LazyInhabitant.get(LazyInhabitant.java:107)
>         at com.sun.hk2.component.AbstractInhabitantImpl.get(AbstractInhabitantImpl.java:60)
>         at com.sun.enterprise.v3.server.AppServerStartup.run(AppServerStartup.java:236)
>         at com.sun.enterprise.v3.server.AppServerStartup.start(AppServerStartup.java:128)
>         at com.sun.enterprise.module.bootstrap.Main.launch(Main.java:457)
>         at com.sun.enterprise.module.bootstrap.Main.launch(Main.java:401)
>         at org.jvnet.hk2.osgiadapter.HK2Main.start(HK2Main.java:125)
>         at org.apache.felix.framework.util.SecureAction.startActivator(SecureAction.java:640)
>         at org.apache.felix.framework.Felix.activateBundle(Felix.java:1700)
>         at org.apache.felix.framework.Felix.startBundle(Felix.java:1622)
>         at org.apache.felix.framework.BundleImpl.start(BundleImpl.java:915)
>         at org.jvnet.hk2.osgimain.Main.start(Main.java:140)
>         at org.apache.felix.framework.util.SecureAction.startActivator(SecureAction.java:640)
>         at org.apache.felix.framework.Felix.activateBundle(Felix.java:1700)
>         at org.apache.felix.framework.Felix.startBundle(Felix.java:1622)
>         at org.apache.felix.framework.Felix.setActiveStartLevel(Felix.java:1077)
>         at org.apache.felix.framework.StartLevelImpl.run(StartLevelImpl.java:264)
>         at java.lang.Thread.run(Thread.java:619)

-- 
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

        


More information about the weld-issues mailing list