Details

    • Type: Sub-task
    • Status: Resolved (View Workflow)
    • Priority: Minor
    • Resolution: Done
    • Affects Version/s: EAP_EWP 5.2.0
    • Fix Version/s: EAP_EWP 5.3.0.ER1
    • Component/s: EJB
    • Labels:
      None
    • Environment:

      Maven version: 2.0.9
      Java version: 1.7.0_40
      OS name: "linux" version: "3.12.5-200.fc19.x86_64" arch: "amd64" Family: "unix"

    • Release Notes Text:
      Committed revision 114659.
    • Release Notes Docs Status:
      Not Required
    • Docs QE Status:
      NEW

      Description

      http://boo.usersys.redhat.com:8380/job/EAP-5.x-tests-ejb3/248/testReport/org.jboss.ejb3.test.entity.unit/EntityUnitTestCase/testManyToMany/

      org.jboss.ejb3.test.entity.unit.EntityUnitTestCase.testManyToMany fails with NPE as:

      Error Message
      
      java.lang.NullPointerException
      
      Stacktrace
      
      javax.ejb.EJBException: java.lang.NullPointerException
      	at org.jboss.ejb3.tx.Ejb3TxPolicy.handleExceptionInOurTx(Ejb3TxPolicy.java:77)
      	at org.jboss.aspects.tx.TxPolicy.invokeInOurTx(TxPolicy.java:83)
      	at org.jboss.aspects.tx.TxInterceptor$Required.invoke(TxInterceptor.java:190)
      	at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)
      	at org.jboss.aspects.tx.TxPropagationInterceptor.invoke(TxPropagationInterceptor.java:76)
      	at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)
      	at org.jboss.ejb3.tx.NullInterceptor.invoke(NullInterceptor.java:42)
      	at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)
      	at org.jboss.ejb3.security.Ejb3AuthenticationInterceptorv2.invoke(Ejb3AuthenticationInterceptorv2.java:187)
      	at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)
      	at org.jboss.ejb3.ENCPropagationInterceptor.invoke(ENCPropagationInterceptor.java:41)
      	at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)
      	at org.jboss.ejb3.BlockContainerShutdownInterceptor.invoke(BlockContainerShutdownInterceptor.java:67)
      	at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)
      	at org.jboss.ejb3.core.context.CurrentInvocationContextInterceptor.invoke(CurrentInvocationContextInterceptor.java:47)
      	at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)
      	at org.jboss.aspects.currentinvocation.CurrentInvocationInterceptor.invoke(CurrentInvocationInterceptor.java:67)
      	at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)
      	at org.jboss.ejb3.interceptor.EJB3TCCLInterceptor.invoke(EJB3TCCLInterceptor.java:86)
      	at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)
      	at org.jboss.ejb3.stateless.StatelessContainer.dynamicInvoke(StatelessContainer.java:361)
      	at org.jboss.ejb3.session.InvokableContextClassProxyHack._dynamicInvoke(InvokableContextClassProxyHack.java:53)
      	at org.jboss.aop.Dispatcher.invoke(Dispatcher.java:91)
      	at org.jboss.aspects.remoting.AOPRemotingInvocationHandler.invoke(AOPRemotingInvocationHandler.java:82)
      	at org.jboss.remoting.ServerInvoker.invoke(ServerInvoker.java:967)
      	at org.jboss.remoting.transport.socket.ServerThread.completeInvocation(ServerThread.java:797)
      	at org.jboss.remoting.transport.socket.ServerThread.processInvocation(ServerThread.java:750)
      	at org.jboss.remoting.transport.socket.ServerThread.dorun(ServerThread.java:586)
      	at org.jboss.remoting.transport.socket.ServerThread.run(ServerThread.java:234)
      Caused by: java.lang.NullPointerException
      	at org.jboss.ejb3.test.entity.EntityTestBean.manyToManyCreate(EntityTestBean.java:153)
      	at org.jboss.aop.joinpoint.MethodInvocation.invokeTarget(MethodInvocation.java:122)
      	at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:111)
      	at org.jboss.ejb3.interceptors.container.ContainerMethodInvocationWrapper.invokeNext(ContainerMethodInvocationWrapper.java:72)
      	at org.jboss.ejb3.interceptors.aop.InterceptorSequencer.invoke(InterceptorSequencer.java:76)
      	at org.jboss.ejb3.interceptors.aop.InterceptorSequencer.aroundInvoke(InterceptorSequencer.java:62)
      	at org.jboss.aop.advice.PerJoinpointAdvice.invoke(PerJoinpointAdvice.java:174)
      	at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)
      	at org.jboss.ejb3.interceptors.aop.InvocationContextInterceptor.fillMethod(InvocationContextInterceptor.java:72)
      	at org.jboss.aop.advice.org.jboss.ejb3.interceptors.aop.InvocationContextInterceptor_z_fillMethod_539402987.invoke(InvocationContextInterceptor_z_fillMethod_539402987.java)
      	at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)
      	at org.jboss.ejb3.interceptors.aop.InvocationContextInterceptor.setup(InvocationContextInterceptor.java:88)
      	at org.jboss.aop.advice.org.jboss.ejb3.interceptors.aop.InvocationContextInterceptor_z_setup_539402987.invoke(InvocationContextInterceptor_z_setup_539402987.java)
      	at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)
      	at org.jboss.ejb3.connectionmanager.CachedConnectionInterceptor.invoke(CachedConnectionInterceptor.java:62)
      	at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)
      	at org.jboss.ejb3.entity.TransactionScopedEntityManagerInterceptor.invoke(TransactionScopedEntityManagerInterceptor.java:56)
      	at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)
      	at org.jboss.ejb3.AllowedOperationsInterceptor.invoke(AllowedOperationsInterceptor.java:47)
      	at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)
      	at org.jboss.ejb3.tx.NullInterceptor.invoke(NullInterceptor.java:42)
      	at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)
      	at org.jboss.ejb3.stateless.StatelessInstanceInterceptor.invoke(StatelessInstanceInterceptor.java:68)
      	at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)
      	at org.jboss.aspects.tx.TxPolicy.invokeInOurTx(TxPolicy.java:79)
      	at org.jboss.aspects.tx.TxInterceptor$Required.invoke(TxInterceptor.java:190)
      	at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)
      	at org.jboss.aspects.tx.TxPropagationInterceptor.invoke(TxPropagationInterceptor.java:76)
      	at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)
      	at org.jboss.ejb3.tx.NullInterceptor.invoke(NullInterceptor.java:42)
      	at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)
      	at org.jboss.ejb3.security.Ejb3AuthenticationInterceptorv2.invoke(Ejb3AuthenticationInterceptorv2.java:187)
      	at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)
      	at org.jboss.ejb3.ENCPropagationInterceptor.invoke(ENCPropagationInterceptor.java:41)
      	at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)
      	at org.jboss.ejb3.BlockContainerShutdownInterceptor.invoke(BlockContainerShutdownInterceptor.java:67)
      	at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)
      	at org.jboss.ejb3.core.context.CurrentInvocationContextInterceptor.invoke(CurrentInvocationContextInterceptor.java:47)
      	at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)
      	at org.jboss.aspects.currentinvocation.CurrentInvocationInterceptor.invoke(CurrentInvocationInterceptor.java:67)
      	at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)
      	at org.jboss.ejb3.interceptor.EJB3TCCLInterceptor.invoke(EJB3TCCLInterceptor.java:86)
      	at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)
      	at org.jboss.ejb3.stateless.StatelessContainer.dynamicInvoke(StatelessContainer.java:361)
      	at org.jboss.ejb3.session.InvokableContextClassProxyHack._dynamicInvoke(InvokableContextClassProxyHack.java:53)
      	at org.jboss.aop.Dispatcher.invoke(Dispatcher.java:91)
      	at org.jboss.aspects.remoting.AOPRemotingInvocationHandler.invoke(AOPRemotingInvocationHandler.java:82)
      	at org.jboss.remoting.ServerInvoker.invoke(ServerInvoker.java:967)
      	at org.jboss.remoting.transport.socket.ServerThread.completeInvocation(ServerThread.java:797)
      	at org.jboss.remoting.transport.socket.ServerThread.processInvocation(ServerThread.java:750)
      	at org.jboss.remoting.transport.socket.ServerThread.dorun(ServerThread.java:586)
      	at org.jboss.remoting.transport.socket.ServerThread.run(ServerThread.java:234)
      	at org.jboss.remoting.MicroRemoteClientInvoker.invoke(MicroRemoteClientInvoker.java:218)
      	at org.jboss.remoting.Client.invoke(Client.java:2084)
      	at org.jboss.remoting.Client.invoke(Client.java:879)
      	at org.jboss.aspects.remoting.InvokeRemoteInterceptor.invoke(InvokeRemoteInterceptor.java:60)
      	at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)
      	at org.jboss.aspects.tx.ClientTxPropagationInterceptor.invoke(ClientTxPropagationInterceptor.java:61)
      	at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)
      	at org.jboss.ejb3.security.client.SecurityClientInterceptor.invoke(SecurityClientInterceptor.java:65)
      	at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)
      	at org.jboss.ejb3.remoting.IsLocalInterceptor.invoke(IsLocalInterceptor.java:77)
      	at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)
      	at org.jboss.aspects.remoting.PojiProxy.invoke(PojiProxy.java:62)
      	at sun.proxy.$Proxy5.invoke(Unknown Source)
      	at org.jboss.ejb3.proxy.impl.handler.session.SessionProxyInvocationHandlerBase.invoke(SessionProxyInvocationHandlerBase.java:188)
      	at sun.proxy.$Proxy4.manyToManyCreate(Unknown Source)
      	at org.jboss.ejb3.test.entity.unit.EntityUnitTestCase.testManyToMany(EntityUnitTestCase.java:99)
      	at junit.extensions.TestDecorator.basicRun(TestDecorator.java:24)
      	at junit.extensions.TestSetup$1.protect(TestSetup.java:23)
      	at junit.extensions.TestSetup.run(TestSetup.java:27)
      	at org.jboss.aspects.remoting.InvokeRemoteInterceptor.invoke(InvokeRemoteInterceptor.java:72)
      	at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)
      	at org.jboss.aspects.tx.ClientTxPropagationInterceptor.invoke(ClientTxPropagationInterceptor.java:61)
      	at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)
      	at org.jboss.ejb3.security.client.SecurityClientInterceptor.invoke(SecurityClientInterceptor.java:65)
      	at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)
      	at org.jboss.ejb3.remoting.IsLocalInterceptor.invoke(IsLocalInterceptor.java:77)
      	at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)
      	at org.jboss.aspects.remoting.PojiProxy.invoke(PojiProxy.java:62)
      	at sun.proxy.$Proxy5.invoke(Unknown Source)
      	at org.jboss.ejb3.proxy.impl.handler.session.SessionProxyInvocationHandlerBase.invoke(SessionProxyInvocationHandlerBase.java:188)
      	at sun.proxy.$Proxy4.manyToManyCreate(Unknown Source)
      	at org.jboss.ejb3.test.entity.unit.EntityUnitTestCase.testManyToMany(EntityUnitTestCase.java:99)
      	at junit.extensions.TestDecorator.basicRun(TestDecorator.java:24)
      	at junit.extensions.TestSetup$1.protect(TestSetup.java:23)
      	at junit.extensions.TestSetup.run(TestSetup.java:27)
      
      Standard Output
      
      Air France customers
      Monica
      Bill
      USAir customers
      Molly
      

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                soul2zimate Chao Wang
                Reporter:
                soul2zimate Chao Wang
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: