[jboss-jira] [JBoss JIRA] Commented: (JBAS-5846) org.jboss.test.asynch.AsynchTestCase

Shelly McGowan (JIRA) jira-events at lists.jboss.org
Tue Aug 12 15:15:40 EDT 2008


    [ https://jira.jboss.org/jira/browse/JBAS-5846?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12424648#action_12424648 ] 

Shelly McGowan commented on JBAS-5846:
--------------------------------------


java.lang.NullPointerException
java.lang.Exception: java.lang.NullPointerException
        at org.jboss.test.asynch.AsynchTestCase.testLocal(AsynchTestCase.java:93)
        at junit.extensions.TestDecorator.basicRun(TestDecorator.java:22)
        at junit.extensions.TestSetup$1.protect(TestSetup.java:19)
        at junit.extensions.TestSetup.run(TestSetup.java:23)
Caused by: java.lang.NullPointerException
        at org.jboss.aop.Advisor.dynamicInvoke(Advisor.java:1465)
        at org.jboss.aop.Dispatcher.invoke(Dispatcher.java:101)
        at org.jboss.aspects.remoting.AOPRemotingInvocationHandler.invoke(AOPRemotingInvocationHandler.java:82)
        at org.jboss.remoting.ServerInvoker.invoke(ServerInvoker.java:847)
        at org.jboss.remoting.transport.socket.ServerThread.completeInvocation(ServerThread.java:681)
        at org.jboss.remoting.transport.socket.ServerThread.processInvocation(ServerThread.java:634)
        at org.jboss.remoting.transport.socket.ServerThread.dorun(ServerThread.java:459)
        at org.jboss.remoting.transport.socket.ServerThread.run(ServerThread.java:197)
        at org.jboss.remoting.MicroRemoteClientInvoker.invoke(MicroRemoteClientInvoker.java:203)
        at org.jboss.remoting.Client.invoke(Client.java:1685)
        at org.jboss.remoting.Client.invoke(Client.java:589)
        at org.jboss.aspects.remoting.InvokeRemoteInterceptor.invoke(InvokeRemoteInterceptor.java:60)
        at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)
        at org.jboss.aspects.remoting.MergeMetaDataInterceptor.invoke(MergeMetaDataInterceptor.java:74)
        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.aspects.security.SecurityClientInterceptor.invoke(SecurityClientInterceptor.java:65)
        at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)
        at org.jboss.aspects.remoting.IsLocalInterceptor.invoke(IsLocalInterceptor.java:48)
        at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)
        at org.jboss.aspects.asynch.AsynchProxyInterceptor.invoke(AsynchProxyInterceptor.java:53)
        at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)
        at AOPClassProxy$1.test(AOPClassProxy$1.java)
        at org.jboss.test.asynch.AsynchTestCase.testLocal(AsynchTestCase.java:88)
        at junit.extensions.TestDecorator.basicRun(TestDecorator.java:22)
        at junit.extensions.TestSetup$1.protect(TestSetup.java:19)
        at junit.extensions.TestSetup.run(TestSetup.java:23)


> org.jboss.test.asynch.AsynchTestCase
> ------------------------------------
>
>                 Key: JBAS-5846
>                 URL: https://jira.jboss.org/jira/browse/JBAS-5846
>             Project: JBoss Application Server
>          Issue Type: Sub-task
>      Security Level: Public(Everyone can see) 
>            Reporter: Shelly McGowan
>            Assignee: Shelly McGowan
>             Fix For: JBossAS-5.0.0.CR2
>
>
> After making adjustments to the classpaths to resolve ClassNotFoundExceptions, there are still issues running on Hudson due to the hardcoding of localhost in the test classes.  
> When the server is bound to localhost, only 1 of the 3 tests, testRemote, passes.
> The other two, testLocal and testCollocated, Error when invoking test method on the pojo.
> testRemote took 0.878 sec
> Testcase: testLocal took 0.036 sec
>         Caused an ERROR
> null
> java.lang.Exception
>         at org.jboss.test.asynch.AsynchTestCase.testLocal(AsynchTestCase.java:89)
>         at junit.extensions.TestDecorator.basicRun(TestDecorator.java:22)
>         at junit.extensions.TestSetup$1.protect(TestSetup.java:19)
>         at junit.extensions.TestSetup.run(TestSetup.java:23)
> Testcase: testCollocated took 0.039 sec
>         Caused an ERROR
> null
> java.lang.Exception
>         at org.jboss.test.asynch.AsynchTestCase.testCollocated(AsynchTestCase.java:103)
>         at junit.extensions.TestDecorator.basicRun(TestDecorator.java:22)
>         at junit.extensions.TestSetup$1.protect(TestSetup.java:19)
>         at junit.extensions.TestSetup.run(TestSetup.java:23)

-- 
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 jboss-jira mailing list