Unit Test Results

Designed for use with JUnit and Ant.

Summary

TestsFailuresErrorsSuccess rateTime
9119079.12%0.426
Note: failures are anticipated and checked for with assertions while errors are unanticipated.

Packages

Note: package statistics are not computed recursively, they only sum up all of its testsuites numbers.
NameTestsErrorsFailuresTime(s)
910190.426

Package

NameTestsErrorsFailuresTime(s)
Business Method Interceptors910190.426
Back to top


TestCase Business Method Interceptors

NameStatusTypeTime(s)
startUpFailureN/A

javax.naming.ServiceUnavailableException [Root exception is java.rmi.ConnectException: Connection refused to host: localhost; nested exception is: java.net.ConnectException: Connection refused] at com.sun.jndi.rmi.registry.RegistryContext.lookup(RegistryContext.java:97) at javax.naming.InitialContext.lookup(InitialContext.java:355) at org.objectweb.carol.jndi.spi.AbsContext.lookup(AbsContext.java:140) at org.objectweb.carol.jndi.spi.AbsContext.lookup(AbsContext.java:150) at javax.naming.InitialContext.lookup(InitialContext.java:351) at org.objectweb.carol.jndi.spi.MultiContext.lookup(MultiContext.java:118) at javax.naming.InitialContext.lookup(InitialContext.java:351) at org.objectweb.easybeans.tests.common.helper.EJBHelper.getBeanLocalInstance(EJBHelper.java:88) at org.objectweb.easybeans.tests.interceptors.business.TestBeanInheritance00.startUp(TestBeanInheritance00.java:68) 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:585) at org.testng.internal.MethodHelper.invokeMethod(MethodHelper.java:485) at org.testng.internal.Invoker.invokeConfigurationMethod(Invoker.java:311) at org.testng.internal.Invoker.invokeConfigurations(Invoker.java:149) at org.testng.internal.Invoker.invokeMethod(Invoker.java:357) at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:625) at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:88) at org.testng.TestRunner.privateRun(TestRunner.java:614) at org.testng.TestRunner.run(TestRunner.java:505) at org.testng.SuiteRunner.privateRun(SuiteRunner.java:221) at org.testng.SuiteRunner.run(SuiteRunner.java:147) at org.testng.TestNG.createAndRunSuiteRunners(TestNG.java:576) at org.testng.TestNG.runSuitesLocally(TestNG.java:539) at org.testng.TestNG.run(TestNG.java:316) at org.testng.TestNG.privateMain(TestNG.java:666) at org.testng.TestNG.main(TestNG.java:608)Caused by: java.rmi.ConnectException: Connection refused to host: localhost; nested exception is: java.net.ConnectException: Connection refused at sun.rmi.transport.tcp.TCPEndpoint.newSocket(TCPEndpoint.java:574) at sun.rmi.transport.tcp.TCPChannel.createConnection(TCPChannel.java:185) at sun.rmi.transport.tcp.TCPChannel.newConnection(TCPChannel.java:171) at sun.rmi.server.UnicastRef.newCall(UnicastRef.java:306) at sun.rmi.registry.RegistryImpl_Stub.lookup(Unknown Source) at com.sun.jndi.rmi.registry.RegistryContext.lookup(RegistryContext.java:93) ... 27 moreCaused by: java.net.ConnectException: Connection refused at java.net.PlainSocketImpl.socketConnect(Native Method) at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333) at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195) at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182) at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366) at java.net.Socket.connect(Socket.java:507) at java.net.Socket.connect(Socket.java:457) at java.net.Socket.<init>(Socket.java:365) at java.net.Socket.<init>(Socket.java:178) at sun.rmi.transport.proxy.RMIDirectSocketFactory.createSocket(RMIDirectSocketFactory.java:22) at sun.rmi.transport.proxy.RMIMasterSocketFactory.createSocket(RMIMasterSocketFactory.java:128) at sun.rmi.transport.tcp.TCPEndpoint.newSocket(TCPEndpoint.java:569) ... 32 more
0.000
test01Success0.000
startUpSuccess0.000
test00Success0.000
startUpFailureN/A

javax.naming.ServiceUnavailableException [Root exception is java.rmi.ConnectException: Connection refused to host: localhost; nested exception is: java.net.ConnectException: Connection refused] at com.sun.jndi.rmi.registry.RegistryContext.lookup(RegistryContext.java:97) at javax.naming.InitialContext.lookup(InitialContext.java:355) at org.objectweb.carol.jndi.spi.AbsContext.lookup(AbsContext.java:140) at org.objectweb.carol.jndi.spi.AbsContext.lookup(AbsContext.java:150) at javax.naming.InitialContext.lookup(InitialContext.java:351) at org.objectweb.carol.jndi.spi.MultiContext.lookup(MultiContext.java:118) at javax.naming.InitialContext.lookup(InitialContext.java:351) at org.objectweb.easybeans.tests.common.helper.EJBHelper.getBeanLocalInstance(EJBHelper.java:88) at org.objectweb.easybeans.tests.interceptors.business.TestClassInterceptor00.startUp(TestClassInterceptor00.java:72) 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:585) at org.testng.internal.MethodHelper.invokeMethod(MethodHelper.java:485) at org.testng.internal.Invoker.invokeConfigurationMethod(Invoker.java:311) at org.testng.internal.Invoker.invokeConfigurations(Invoker.java:149) at org.testng.internal.Invoker.invokeMethod(Invoker.java:357) at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:625) at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:88) at org.testng.TestRunner.privateRun(TestRunner.java:614) at org.testng.TestRunner.run(TestRunner.java:505) at org.testng.SuiteRunner.privateRun(SuiteRunner.java:221) at org.testng.SuiteRunner.run(SuiteRunner.java:147) at org.testng.TestNG.createAndRunSuiteRunners(TestNG.java:576) at org.testng.TestNG.runSuitesLocally(TestNG.java:539) at org.testng.TestNG.run(TestNG.java:316) at org.testng.TestNG.privateMain(TestNG.java:666) at org.testng.TestNG.main(TestNG.java:608)Caused by: java.rmi.ConnectException: Connection refused to host: localhost; nested exception is: java.net.ConnectException: Connection refused at sun.rmi.transport.tcp.TCPEndpoint.newSocket(TCPEndpoint.java:574) at sun.rmi.transport.tcp.TCPChannel.createConnection(TCPChannel.java:185) at sun.rmi.transport.tcp.TCPChannel.newConnection(TCPChannel.java:171) at sun.rmi.server.UnicastRef.newCall(UnicastRef.java:306) at sun.rmi.registry.RegistryImpl_Stub.lookup(Unknown Source) at com.sun.jndi.rmi.registry.RegistryContext.lookup(RegistryContext.java:93) ... 27 moreCaused by: java.net.ConnectException: Connection refused at java.net.PlainSocketImpl.socketConnect(Native Method) at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333) at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195) at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182) at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366) at java.net.Socket.connect(Socket.java:507) at java.net.Socket.connect(Socket.java:457) at java.net.Socket.<init>(Socket.java:365) at java.net.Socket.<init>(Socket.java:178) at sun.rmi.transport.proxy.RMIDirectSocketFactory.createSocket(RMIDirectSocketFactory.java:22) at sun.rmi.transport.proxy.RMIMasterSocketFactory.createSocket(RMIMasterSocketFactory.java:128) at sun.rmi.transport.tcp.TCPEndpoint.newSocket(TCPEndpoint.java:569) ... 32 more
0.000
testClassInterCallOrder02Success0.000
startUpSuccess0.000
testClassInterCallOrder00Success0.000
startUpSuccess0.000
testClassInterCallOrder06Success0.000
startUpSuccess0.000
testClassInterCallOrder01Success0.000
startUpSuccess0.000
testClassInterCallOrder03Success0.000
startUpSuccess0.000
testClassInterCallOrder04Success0.000
startUpSuccess0.000
testClassInterCallOrder05Success0.000
startUpFailureN/A

javax.naming.ServiceUnavailableException [Root exception is java.rmi.ConnectException: Connection refused to host: localhost; nested exception is: java.net.ConnectException: Connection refused] at com.sun.jndi.rmi.registry.RegistryContext.lookup(RegistryContext.java:97) at javax.naming.InitialContext.lookup(InitialContext.java:355) at org.objectweb.carol.jndi.spi.AbsContext.lookup(AbsContext.java:140) at org.objectweb.carol.jndi.spi.AbsContext.lookup(AbsContext.java:150) at javax.naming.InitialContext.lookup(InitialContext.java:351) at org.objectweb.carol.jndi.spi.MultiContext.lookup(MultiContext.java:118) at javax.naming.InitialContext.lookup(InitialContext.java:351) at org.objectweb.easybeans.tests.common.helper.EJBHelper.getBeanLocalInstance(EJBHelper.java:88) at org.objectweb.easybeans.tests.interceptors.business.TestClassInterceptor01.startUp(TestClassInterceptor01.java:74) 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:585) at org.testng.internal.MethodHelper.invokeMethod(MethodHelper.java:485) at org.testng.internal.Invoker.invokeConfigurationMethod(Invoker.java:311) at org.testng.internal.Invoker.invokeConfigurations(Invoker.java:149) at org.testng.internal.Invoker.invokeMethod(Invoker.java:357) at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:625) at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:88) at org.testng.TestRunner.privateRun(TestRunner.java:614) at org.testng.TestRunner.run(TestRunner.java:505) at org.testng.SuiteRunner.privateRun(SuiteRunner.java:221) at org.testng.SuiteRunner.run(SuiteRunner.java:147) at org.testng.TestNG.createAndRunSuiteRunners(TestNG.java:576) at org.testng.TestNG.runSuitesLocally(TestNG.java:539) at org.testng.TestNG.run(TestNG.java:316) at org.testng.TestNG.privateMain(TestNG.java:666) at org.testng.TestNG.main(TestNG.java:608)Caused by: java.rmi.ConnectException: Connection refused to host: localhost; nested exception is: java.net.ConnectException: Connection refused at sun.rmi.transport.tcp.TCPEndpoint.newSocket(TCPEndpoint.java:574) at sun.rmi.transport.tcp.TCPChannel.createConnection(TCPChannel.java:185) at sun.rmi.transport.tcp.TCPChannel.newConnection(TCPChannel.java:171) at sun.rmi.server.UnicastRef.newCall(UnicastRef.java:306) at sun.rmi.registry.RegistryImpl_Stub.lookup(Unknown Source) at com.sun.jndi.rmi.registry.RegistryContext.lookup(RegistryContext.java:93) ... 27 moreCaused by: java.net.ConnectException: Connection refused at java.net.PlainSocketImpl.socketConnect(Native Method) at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333) at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195) at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182) at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366) at java.net.Socket.connect(Socket.java:507) at java.net.Socket.connect(Socket.java:457) at java.net.Socket.<init>(Socket.java:365) at java.net.Socket.<init>(Socket.java:178) at sun.rmi.transport.proxy.RMIDirectSocketFactory.createSocket(RMIDirectSocketFactory.java:22) at sun.rmi.transport.proxy.RMIMasterSocketFactory.createSocket(RMIMasterSocketFactory.java:128) at sun.rmi.transport.tcp.TCPEndpoint.newSocket(TCPEndpoint.java:569) ... 32 more
0.000
testClassInterCallOrder03Success0.000
startUpSuccess0.000
testClassInterCallOrder01Success0.000
startUpSuccess0.000
testClassInterCallOrder06Success0.000
startUpSuccess0.000
testClassInterCallOrder00Success0.000
startUpSuccess0.000
testClassInterCallOrder02Success0.000
startUpSuccess0.000
testClassInterCallOrder05Success0.000
startUpSuccess0.000
testClassInterCallOrder04Success0.000
startUpFailureN/A

javax.naming.ServiceUnavailableException [Root exception is java.rmi.ConnectException: Connection refused to host: localhost; nested exception is: java.net.ConnectException: Connection refused] at com.sun.jndi.rmi.registry.RegistryContext.lookup(RegistryContext.java:97) at javax.naming.InitialContext.lookup(InitialContext.java:355) at org.objectweb.carol.jndi.spi.AbsContext.lookup(AbsContext.java:140) at org.objectweb.carol.jndi.spi.AbsContext.lookup(AbsContext.java:150) at javax.naming.InitialContext.lookup(InitialContext.java:351) at org.objectweb.carol.jndi.spi.MultiContext.lookup(MultiContext.java:118) at javax.naming.InitialContext.lookup(InitialContext.java:351) at org.objectweb.easybeans.tests.common.helper.EJBHelper.getBeanLocalInstance(EJBHelper.java:88) at org.objectweb.easybeans.tests.interceptors.business.TestClassInterceptor02.startUp(TestClassInterceptor02.java:77) 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:585) at org.testng.internal.MethodHelper.invokeMethod(MethodHelper.java:485) at org.testng.internal.Invoker.invokeConfigurationMethod(Invoker.java:311) at org.testng.internal.Invoker.invokeConfigurations(Invoker.java:149) at org.testng.internal.Invoker.invokeMethod(Invoker.java:357) at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:625) at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:88) at org.testng.TestRunner.privateRun(TestRunner.java:614) at org.testng.TestRunner.run(TestRunner.java:505) at org.testng.SuiteRunner.privateRun(SuiteRunner.java:221) at org.testng.SuiteRunner.run(SuiteRunner.java:147) at org.testng.TestNG.createAndRunSuiteRunners(TestNG.java:576) at org.testng.TestNG.runSuitesLocally(TestNG.java:539) at org.testng.TestNG.run(TestNG.java:316) at org.testng.TestNG.privateMain(TestNG.java:666) at org.testng.TestNG.main(TestNG.java:608)Caused by: java.rmi.ConnectException: Connection refused to host: localhost; nested exception is: java.net.ConnectException: Connection refused at sun.rmi.transport.tcp.TCPEndpoint.newSocket(TCPEndpoint.java:574) at sun.rmi.transport.tcp.TCPChannel.createConnection(TCPChannel.java:185) at sun.rmi.transport.tcp.TCPChannel.newConnection(TCPChannel.java:171) at sun.rmi.server.UnicastRef.newCall(UnicastRef.java:306) at sun.rmi.registry.RegistryImpl_Stub.lookup(Unknown Source) at com.sun.jndi.rmi.registry.RegistryContext.lookup(RegistryContext.java:93) ... 27 moreCaused by: java.net.ConnectException: Connection refused at java.net.PlainSocketImpl.socketConnect(Native Method) at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333) at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195) at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182) at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366) at java.net.Socket.connect(Socket.java:507) at java.net.Socket.connect(Socket.java:457) at java.net.Socket.<init>(Socket.java:365) at java.net.Socket.<init>(Socket.java:178) at sun.rmi.transport.proxy.RMIDirectSocketFactory.createSocket(RMIDirectSocketFactory.java:22) at sun.rmi.transport.proxy.RMIMasterSocketFactory.createSocket(RMIMasterSocketFactory.java:128) at sun.rmi.transport.tcp.TCPEndpoint.newSocket(TCPEndpoint.java:569) ... 32 more
0.000
testClassInterCallOrder00Success0.000
startUpSuccess0.000
testClassInterCallOrder06Success0.000
startUpSuccess0.000
testClassInterCallOrder02Success0.000
startUpSuccess0.000
testClassInterCallOrder03Success0.000
startUpSuccess0.000
testClassInterCallOrder01Success0.000
startUpSuccess0.000
testClassInterCallOrder04Success0.000
startUpSuccess0.000
testClassInterCallOrder05Success0.000
startUpFailureN/A

javax.naming.ServiceUnavailableException [Root exception is java.rmi.ConnectException: Connection refused to host: localhost; nested exception is: java.net.ConnectException: Connection refused] at com.sun.jndi.rmi.registry.RegistryContext.lookup(RegistryContext.java:97) at javax.naming.InitialContext.lookup(InitialContext.java:355) at org.objectweb.carol.jndi.spi.AbsContext.lookup(AbsContext.java:140) at org.objectweb.carol.jndi.spi.AbsContext.lookup(AbsContext.java:150) at javax.naming.InitialContext.lookup(InitialContext.java:351) at org.objectweb.carol.jndi.spi.MultiContext.lookup(MultiContext.java:118) at javax.naming.InitialContext.lookup(InitialContext.java:351) at org.objectweb.easybeans.tests.common.helper.EJBHelper.getBeanLocalInstance(EJBHelper.java:88) at org.objectweb.easybeans.tests.interceptors.business.TestExceptions00.startUp(TestExceptions00.java:60) 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:585) at org.testng.internal.MethodHelper.invokeMethod(MethodHelper.java:485) at org.testng.internal.Invoker.invokeConfigurationMethod(Invoker.java:311) at org.testng.internal.Invoker.invokeConfigurations(Invoker.java:149) at org.testng.internal.Invoker.invokeMethod(Invoker.java:357) at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:625) at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:88) at org.testng.TestRunner.privateRun(TestRunner.java:614) at org.testng.TestRunner.run(TestRunner.java:505) at org.testng.SuiteRunner.privateRun(SuiteRunner.java:221) at org.testng.SuiteRunner.run(SuiteRunner.java:147) at org.testng.TestNG.createAndRunSuiteRunners(TestNG.java:576) at org.testng.TestNG.runSuitesLocally(TestNG.java:539) at org.testng.TestNG.run(TestNG.java:316) at org.testng.TestNG.privateMain(TestNG.java:666) at org.testng.TestNG.main(TestNG.java:608)Caused by: java.rmi.ConnectException: Connection refused to host: localhost; nested exception is: java.net.ConnectException: Connection refused at sun.rmi.transport.tcp.TCPEndpoint.newSocket(TCPEndpoint.java:574) at sun.rmi.transport.tcp.TCPChannel.createConnection(TCPChannel.java:185) at sun.rmi.transport.tcp.TCPChannel.newConnection(TCPChannel.java:171) at sun.rmi.server.UnicastRef.newCall(UnicastRef.java:306) at sun.rmi.registry.RegistryImpl_Stub.lookup(Unknown Source) at com.sun.jndi.rmi.registry.RegistryContext.lookup(RegistryContext.java:93) ... 27 moreCaused by: java.net.ConnectException: Connection refused at java.net.PlainSocketImpl.socketConnect(Native Method) at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333) at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195) at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182) at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366) at java.net.Socket.connect(Socket.java:507) at java.net.Socket.connect(Socket.java:457) at java.net.Socket.<init>(Socket.java:365) at java.net.Socket.<init>(Socket.java:178) at sun.rmi.transport.proxy.RMIDirectSocketFactory.createSocket(RMIDirectSocketFactory.java:22) at sun.rmi.transport.proxy.RMIMasterSocketFactory.createSocket(RMIMasterSocketFactory.java:128) at sun.rmi.transport.tcp.TCPEndpoint.newSocket(TCPEndpoint.java:569) ... 32 more
0.000
testException00Failure Expected an exception in test method org.objectweb.easybeans.tests.interceptors.business.TestExceptions00.testException00()

org.testng.TestException: Expected an exception in test method org.objectweb.easybeans.tests.interceptors.business.TestExceptions00.testException00() at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:658) at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:88) at org.testng.TestRunner.privateRun(TestRunner.java:614) at org.testng.TestRunner.run(TestRunner.java:505) at org.testng.SuiteRunner.privateRun(SuiteRunner.java:221) at org.testng.SuiteRunner.run(SuiteRunner.java:147) at org.testng.TestNG.createAndRunSuiteRunners(TestNG.java:576) at org.testng.TestNG.runSuitesLocally(TestNG.java:539) at org.testng.TestNG.run(TestNG.java:316) at org.testng.TestNG.privateMain(TestNG.java:666) at org.testng.TestNG.main(TestNG.java:608)
0.000
startUpSuccess0.000
testException03Failure Expected an exception in test method org.objectweb.easybeans.tests.interceptors.business.TestExceptions00.testException03()

org.testng.TestException: Expected an exception in test method org.objectweb.easybeans.tests.interceptors.business.TestExceptions00.testException03() at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:658) at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:88) at org.testng.TestRunner.privateRun(TestRunner.java:614) at org.testng.TestRunner.run(TestRunner.java:505) at org.testng.SuiteRunner.privateRun(SuiteRunner.java:221) at org.testng.SuiteRunner.run(SuiteRunner.java:147) at org.testng.TestNG.createAndRunSuiteRunners(TestNG.java:576) at org.testng.TestNG.runSuitesLocally(TestNG.java:539) at org.testng.TestNG.run(TestNG.java:316) at org.testng.TestNG.privateMain(TestNG.java:666) at org.testng.TestNG.main(TestNG.java:608)
0.000
startUpSuccess0.000
testException02Failure Expected an exception in test method org.objectweb.easybeans.tests.interceptors.business.TestExceptions00.testException02()

org.testng.TestException: Expected an exception in test method org.objectweb.easybeans.tests.interceptors.business.TestExceptions00.testException02() at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:658) at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:88) at org.testng.TestRunner.privateRun(TestRunner.java:614) at org.testng.TestRunner.run(TestRunner.java:505) at org.testng.SuiteRunner.privateRun(SuiteRunner.java:221) at org.testng.SuiteRunner.run(SuiteRunner.java:147) at org.testng.TestNG.createAndRunSuiteRunners(TestNG.java:576) at org.testng.TestNG.runSuitesLocally(TestNG.java:539) at org.testng.TestNG.run(TestNG.java:316) at org.testng.TestNG.privateMain(TestNG.java:666) at org.testng.TestNG.main(TestNG.java:608)
0.000
startUpSuccess0.000
testException01Failure Expected an exception in test method org.objectweb.easybeans.tests.interceptors.business.TestExceptions00.testException01()

org.testng.TestException: Expected an exception in test method org.objectweb.easybeans.tests.interceptors.business.TestExceptions00.testException01() at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:658) at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:88) at org.testng.TestRunner.privateRun(TestRunner.java:614) at org.testng.TestRunner.run(TestRunner.java:505) at org.testng.SuiteRunner.privateRun(SuiteRunner.java:221) at org.testng.SuiteRunner.run(SuiteRunner.java:147) at org.testng.TestNG.createAndRunSuiteRunners(TestNG.java:576) at org.testng.TestNG.runSuitesLocally(TestNG.java:539) at org.testng.TestNG.run(TestNG.java:316) at org.testng.TestNG.privateMain(TestNG.java:666) at org.testng.TestNG.main(TestNG.java:608)
0.000
startUpFailureN/A

javax.naming.ServiceUnavailableException [Root exception is java.rmi.ConnectException: Connection refused to host: localhost; nested exception is: java.net.ConnectException: Connection refused] at com.sun.jndi.rmi.registry.RegistryContext.lookup(RegistryContext.java:97) at javax.naming.InitialContext.lookup(InitialContext.java:355) at org.objectweb.carol.jndi.spi.AbsContext.lookup(AbsContext.java:140) at org.objectweb.carol.jndi.spi.AbsContext.lookup(AbsContext.java:150) at javax.naming.InitialContext.lookup(InitialContext.java:351) at org.objectweb.carol.jndi.spi.MultiContext.lookup(MultiContext.java:118) at javax.naming.InitialContext.lookup(InitialContext.java:351) at org.objectweb.easybeans.tests.common.helper.EJBHelper.getBeanLocalInstance(EJBHelper.java:88) at org.objectweb.easybeans.tests.interceptors.business.TestMethodInterceptor.startUp(TestMethodInterceptor.java:75) 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:585) at org.testng.internal.MethodHelper.invokeMethod(MethodHelper.java:485) at org.testng.internal.Invoker.invokeConfigurationMethod(Invoker.java:311) at org.testng.internal.Invoker.invokeConfigurations(Invoker.java:149) at org.testng.internal.Invoker.invokeMethod(Invoker.java:357) at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:625) at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:88) at org.testng.TestRunner.privateRun(TestRunner.java:614) at org.testng.TestRunner.run(TestRunner.java:505) at org.testng.SuiteRunner.privateRun(SuiteRunner.java:221) at org.testng.SuiteRunner.run(SuiteRunner.java:147) at org.testng.TestNG.createAndRunSuiteRunners(TestNG.java:576) at org.testng.TestNG.runSuitesLocally(TestNG.java:539) at org.testng.TestNG.run(TestNG.java:316) at org.testng.TestNG.privateMain(TestNG.java:666) at org.testng.TestNG.main(TestNG.java:608)Caused by: java.rmi.ConnectException: Connection refused to host: localhost; nested exception is: java.net.ConnectException: Connection refused at sun.rmi.transport.tcp.TCPEndpoint.newSocket(TCPEndpoint.java:574) at sun.rmi.transport.tcp.TCPChannel.createConnection(TCPChannel.java:185) at sun.rmi.transport.tcp.TCPChannel.newConnection(TCPChannel.java:171) at sun.rmi.server.UnicastRef.newCall(UnicastRef.java:306) at sun.rmi.registry.RegistryImpl_Stub.lookup(Unknown Source) at com.sun.jndi.rmi.registry.RegistryContext.lookup(RegistryContext.java:93) ... 27 moreCaused by: java.net.ConnectException: Connection refused at java.net.PlainSocketImpl.socketConnect(Native Method) at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333) at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195) at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182) at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366) at java.net.Socket.connect(Socket.java:507) at java.net.Socket.connect(Socket.java:457) at java.net.Socket.<init>(Socket.java:365) at java.net.Socket.<init>(Socket.java:178) at sun.rmi.transport.proxy.RMIDirectSocketFactory.createSocket(RMIDirectSocketFactory.java:22) at sun.rmi.transport.proxy.RMIMasterSocketFactory.createSocket(RMIMasterSocketFactory.java:128) at sun.rmi.transport.tcp.TCPEndpoint.newSocket(TCPEndpoint.java:569) ... 32 more
0.000
interceptorMethodTest00Success0.000
startUpSuccess0.000
interceptorMethodTest03Success0.000
startUpSuccess0.000
interceptorMethodTest04Success0.000
startUpSuccess0.000
interceptorMethodTest05Success0.000
startUpSuccess0.000
interceptorMethodTest08Success0.000
startUpSuccess0.000
interceptorMethodTest06Success0.000
startUpSuccess0.000
interceptorMethodTest02Success0.000
startUpSuccess0.000
interceptorMethodTest07Success0.000
startUpFailureN/A

javax.naming.ServiceUnavailableException [Root exception is java.rmi.ConnectException: Connection refused to host: localhost; nested exception is: java.net.ConnectException: Connection refused] at com.sun.jndi.rmi.registry.RegistryContext.lookup(RegistryContext.java:97) at javax.naming.InitialContext.lookup(InitialContext.java:355) at org.objectweb.carol.jndi.spi.AbsContext.lookup(AbsContext.java:140) at org.objectweb.carol.jndi.spi.AbsContext.lookup(AbsContext.java:150) at javax.naming.InitialContext.lookup(InitialContext.java:351) at org.objectweb.carol.jndi.spi.MultiContext.lookup(MultiContext.java:118) at javax.naming.InitialContext.lookup(InitialContext.java:351) at org.objectweb.easybeans.tests.common.helper.EJBHelper.getBeanLocalInstance(EJBHelper.java:88) at org.objectweb.easybeans.tests.interceptors.business.TestMiscInterceptor00.startUp(TestMiscInterceptor00.java:84) 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:585) at org.testng.internal.MethodHelper.invokeMethod(MethodHelper.java:485) at org.testng.internal.Invoker.invokeConfigurationMethod(Invoker.java:311) at org.testng.internal.Invoker.invokeConfigurations(Invoker.java:149) at org.testng.internal.Invoker.invokeMethod(Invoker.java:357) at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:625) at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:88) at org.testng.TestRunner.privateRun(TestRunner.java:614) at org.testng.TestRunner.run(TestRunner.java:505) at org.testng.SuiteRunner.privateRun(SuiteRunner.java:221) at org.testng.SuiteRunner.run(SuiteRunner.java:147) at org.testng.TestNG.createAndRunSuiteRunners(TestNG.java:576) at org.testng.TestNG.runSuitesLocally(TestNG.java:539) at org.testng.TestNG.run(TestNG.java:316) at org.testng.TestNG.privateMain(TestNG.java:666) at org.testng.TestNG.main(TestNG.java:608)Caused by: java.rmi.ConnectException: Connection refused to host: localhost; nested exception is: java.net.ConnectException: Connection refused at sun.rmi.transport.tcp.TCPEndpoint.newSocket(TCPEndpoint.java:574) at sun.rmi.transport.tcp.TCPChannel.createConnection(TCPChannel.java:185) at sun.rmi.transport.tcp.TCPChannel.newConnection(TCPChannel.java:171) at sun.rmi.server.UnicastRef.newCall(UnicastRef.java:306) at sun.rmi.registry.RegistryImpl_Stub.lookup(Unknown Source) at com.sun.jndi.rmi.registry.RegistryContext.lookup(RegistryContext.java:93) ... 27 moreCaused by: java.net.ConnectException: Connection refused at java.net.PlainSocketImpl.socketConnect(Native Method) at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333) at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195) at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182) at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366) at java.net.Socket.connect(Socket.java:507) at java.net.Socket.connect(Socket.java:457) at java.net.Socket.<init>(Socket.java:365) at java.net.Socket.<init>(Socket.java:178) at sun.rmi.transport.proxy.RMIDirectSocketFactory.createSocket(RMIDirectSocketFactory.java:22) at sun.rmi.transport.proxy.RMIMasterSocketFactory.createSocket(RMIMasterSocketFactory.java:128) at sun.rmi.transport.tcp.TCPEndpoint.newSocket(TCPEndpoint.java:569) ... 32 more
0.000
testMiscInheritanceInterCallOrder01Success0.000
startUpSuccess0.000
testMiscInheritanceInterCallOrder00Success0.000
startUpSuccess0.000
testMiscInterCallOrder00Success0.000
startUpSuccess0.000
testMiscPublicInterCallOrder01Success0.000
startUpSuccess0.000
testMiscPrivateInterCallOrder02Success0.000
startUpSuccess0.000
testMiscInheritanceInterCallOrder02Success0.000
testWrongSpec01Failure Expected an exception in test method org.objectweb.easybeans.tests.interceptors.business.TestWrongSpecification.testWrongSpec01()

org.testng.TestException: Expected an exception in test method org.objectweb.easybeans.tests.interceptors.business.TestWrongSpecification.testWrongSpec01() at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:658) at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:88) at org.testng.TestRunner.privateRun(TestRunner.java:614) at org.testng.TestRunner.run(TestRunner.java:505) at org.testng.SuiteRunner.privateRun(SuiteRunner.java:221) at org.testng.SuiteRunner.run(SuiteRunner.java:147) at org.testng.TestNG.createAndRunSuiteRunners(TestNG.java:576) at org.testng.TestNG.runSuitesLocally(TestNG.java:539) at org.testng.TestNG.run(TestNG.java:316) at org.testng.TestNG.privateMain(TestNG.java:666) at org.testng.TestNG.main(TestNG.java:608)
0.085
testWrongSpec04Failurejava.lang.reflect.InvocationTargetException

java.lang.RuntimeException: java.lang.reflect.InvocationTargetException at org.objectweb.easybeans.tests.common.enhancer.ClassesEnhancer.loadClass(ClassesEnhancer.java:172) at org.objectweb.easybeans.tests.common.enhancer.ClassesEnhancer.enhance(ClassesEnhancer.java:130) at org.objectweb.easybeans.tests.interceptors.business.TestWrongSpecification.testWrongSpec04(TestWrongSpecification.java:140) 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:585) at org.testng.internal.MethodHelper.invokeMethod(MethodHelper.java:485) at org.testng.internal.Invoker.invokeMethod(Invoker.java:398) at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:625) at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:88) at org.testng.TestRunner.privateRun(TestRunner.java:614) at org.testng.TestRunner.run(TestRunner.java:505) at org.testng.SuiteRunner.privateRun(SuiteRunner.java:221) at org.testng.SuiteRunner.run(SuiteRunner.java:147) at org.testng.TestNG.createAndRunSuiteRunners(TestNG.java:576) at org.testng.TestNG.runSuitesLocally(TestNG.java:539) at org.testng.TestNG.run(TestNG.java:316) at org.testng.TestNG.privateMain(TestNG.java:666) at org.testng.TestNG.main(TestNG.java:608)Caused by: java.lang.reflect.InvocationTargetException 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:585) at org.objectweb.easybeans.tests.common.enhancer.ClassesEnhancer.loadClass(ClassesEnhancer.java:167) ... 19 moreCaused by: java.lang.LinkageError: duplicate class definition: org/objectweb/easybeans/tests/common/ejbs/stateless/wrongspecification/SLSBStaticExternalIntercepto at java.lang.ClassLoader.defineClass1(Native Method) at java.lang.ClassLoader.defineClass(ClassLoader.java:620) at java.lang.ClassLoader.defineClass(ClassLoader.java:465) ... 24 more
0.094
testWrongSpec03Success0.003
testWrongSpec08Failurejava.lang.reflect.InvocationTargetException

java.lang.RuntimeException: java.lang.reflect.InvocationTargetException at org.objectweb.easybeans.tests.common.enhancer.ClassesEnhancer.loadClass(ClassesEnhancer.java:172) at org.objectweb.easybeans.tests.common.enhancer.ClassesEnhancer.enhance(ClassesEnhancer.java:130) at org.objectweb.easybeans.tests.interceptors.business.TestWrongSpecification.testWrongSpec08(TestWrongSpecification.java:207) 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:585) at org.testng.internal.MethodHelper.invokeMethod(MethodHelper.java:485) at org.testng.internal.Invoker.invokeMethod(Invoker.java:398) at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:625) at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:88) at org.testng.TestRunner.privateRun(TestRunner.java:614) at org.testng.TestRunner.run(TestRunner.java:505) at org.testng.SuiteRunner.privateRun(SuiteRunner.java:221) at org.testng.SuiteRunner.run(SuiteRunner.java:147) at org.testng.TestNG.createAndRunSuiteRunners(TestNG.java:576) at org.testng.TestNG.runSuitesLocally(TestNG.java:539) at org.testng.TestNG.run(TestNG.java:316) at org.testng.TestNG.privateMain(TestNG.java:666) at org.testng.TestNG.main(TestNG.java:608)Caused by: java.lang.reflect.InvocationTargetException 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:585) at org.objectweb.easybeans.tests.common.enhancer.ClassesEnhancer.loadClass(ClassesEnhancer.java:167) ... 19 moreCaused by: java.lang.LinkageError: duplicate class definition: org/objectweb/easybeans/tests/common/ejbs/stateless/wrongspecification/SLSBFinalInternalInterceptor at java.lang.ClassLoader.defineClass1(Native Method) at java.lang.ClassLoader.defineClass(ClassLoader.java:620) at java.lang.ClassLoader.defineClass(ClassLoader.java:465) ... 24 more
0.017
testWrongSpec07Failurejava.lang.reflect.InvocationTargetException

java.lang.RuntimeException: java.lang.reflect.InvocationTargetException at org.objectweb.easybeans.tests.common.enhancer.ClassesEnhancer.loadClass(ClassesEnhancer.java:172) at org.objectweb.easybeans.tests.common.enhancer.ClassesEnhancer.enhance(ClassesEnhancer.java:130) at org.objectweb.easybeans.tests.interceptors.business.TestWrongSpecification.testWrongSpec07(TestWrongSpecification.java:191) 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:585) at org.testng.internal.MethodHelper.invokeMethod(MethodHelper.java:485) at org.testng.internal.Invoker.invokeMethod(Invoker.java:398) at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:625) at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:88) at org.testng.TestRunner.privateRun(TestRunner.java:614) at org.testng.TestRunner.run(TestRunner.java:505) at org.testng.SuiteRunner.privateRun(SuiteRunner.java:221) at org.testng.SuiteRunner.run(SuiteRunner.java:147) at org.testng.TestNG.createAndRunSuiteRunners(TestNG.java:576) at org.testng.TestNG.runSuitesLocally(TestNG.java:539) at org.testng.TestNG.run(TestNG.java:316) at org.testng.TestNG.privateMain(TestNG.java:666) at org.testng.TestNG.main(TestNG.java:608)Caused by: java.lang.reflect.InvocationTargetException at sun.reflect.GeneratedMethodAccessor2.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.objectweb.easybeans.tests.common.enhancer.ClassesEnhancer.loadClass(ClassesEnhancer.java:167) ... 19 moreCaused by: java.lang.LinkageError: duplicate class definition: org/objectweb/easybeans/tests/common/ejbs/stateless/wrongspecification/SLSBStaticInternalIntercepto at java.lang.ClassLoader.defineClass1(Native Method) at java.lang.ClassLoader.defineClass(ClassLoader.java:620) at java.lang.ClassLoader.defineClass(ClassLoader.java:465) ... 23 more
0.022
testWrongSpec06Failurejava.lang.reflect.InvocationTargetException

java.lang.RuntimeException: java.lang.reflect.InvocationTargetException at org.objectweb.easybeans.tests.common.enhancer.ClassesEnhancer.loadClass(ClassesEnhancer.java:172) at org.objectweb.easybeans.tests.common.enhancer.ClassesEnhancer.enhance(ClassesEnhancer.java:130) at org.objectweb.easybeans.tests.interceptors.business.TestWrongSpecification.testWrongSpec06(TestWrongSpecification.java:175) 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:585) at org.testng.internal.MethodHelper.invokeMethod(MethodHelper.java:485) at org.testng.internal.Invoker.invokeMethod(Invoker.java:398) at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:625) at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:88) at org.testng.TestRunner.privateRun(TestRunner.java:614) at org.testng.TestRunner.run(TestRunner.java:505) at org.testng.SuiteRunner.privateRun(SuiteRunner.java:221) at org.testng.SuiteRunner.run(SuiteRunner.java:147) at org.testng.TestNG.createAndRunSuiteRunners(TestNG.java:576) at org.testng.TestNG.runSuitesLocally(TestNG.java:539) at org.testng.TestNG.run(TestNG.java:316) at org.testng.TestNG.privateMain(TestNG.java:666) at org.testng.TestNG.main(TestNG.java:608)Caused by: java.lang.reflect.InvocationTargetException at sun.reflect.GeneratedMethodAccessor2.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.objectweb.easybeans.tests.common.enhancer.ClassesEnhancer.loadClass(ClassesEnhancer.java:167) ... 19 moreCaused by: java.lang.LinkageError: duplicate class definition: org/objectweb/easybeans/tests/common/ejbs/stateless/wrongspecification/SLSBItfWithInterceptor at java.lang.ClassLoader.defineClass1(Native Method) at java.lang.ClassLoader.defineClass(ClassLoader.java:620) at java.lang.ClassLoader.defineClass(ClassLoader.java:465) ... 23 more
0.014
testWrongSpec02FailureClass org/objectweb/easybeans/tests/common/ejbs/stateless/wrongspecification/SLSBTwoAroundInvokeError has already a @AroundInvoke method which is doNothing1, cannot set new method MethodAnnotationMetadata[ jMethod=JMethod[name=doNothing2, access=1, descriptor=(Ljavax/ejb/InvocationContext;)Ljava/lang/Object;, exceptions=[java/lang/Exception]] inherited=false businessMethod=false aroundInvoke=true postConstruct=false preDestroy=false postActivate=false prePassivate=false timeout=false ]

java.lang.IllegalStateException: Class org/objectweb/easybeans/tests/common/ejbs/stateless/wrongspecification/SLSBTwoAroundInvokeError has already a @AroundInvoke method which is doNothing1, cannot set new method MethodAnnotationMetadata[ jMethod=JMethod[name=doNothing2, access=1, descriptor=(Ljavax/ejb/InvocationContext;)Ljava/lang/Object;, exceptions=[java/lang/Exception]] inherited=false businessMethod=false aroundInvoke=true postConstruct=false preDestroy=false postActivate=false prePassivate=false timeout=false ] at org.objectweb.easybeans.deployment.annotations.metadata.ClassAnnotationMetadata.setAroundInvokeMethodMetadata(ClassAnnotationMetadata.java:675) at org.objectweb.easybeans.deployment.annotations.analyzer.method.JavaxEjbAroundInvokeVisitor.visitEnd(JavaxEjbAroundInvokeVisitor.java:62) at org.objectweb.asm.ClassReader.a(Unknown Source) at org.objectweb.asm.ClassReader.accept(Unknown Source) at org.objectweb.asm.ClassReader.accept(Unknown Source) at org.objectweb.easybeans.tests.common.enhancer.ClassesEnhancer.enhance(ClassesEnhancer.java:83) at org.objectweb.easybeans.tests.interceptors.business.TestWrongSpecification.testWrongSpec02(TestWrongSpecification.java:105) 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:585) at org.testng.internal.MethodHelper.invokeMethod(MethodHelper.java:485) at org.testng.internal.Invoker.invokeMethod(Invoker.java:398) at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:625) at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:88) at org.testng.TestRunner.privateRun(TestRunner.java:614) at org.testng.TestRunner.run(TestRunner.java:505) at org.testng.SuiteRunner.privateRun(SuiteRunner.java:221) at org.testng.SuiteRunner.run(SuiteRunner.java:147) at org.testng.TestNG.createAndRunSuiteRunners(TestNG.java:576) at org.testng.TestNG.runSuitesLocally(TestNG.java:539) at org.testng.TestNG.run(TestNG.java:316) at org.testng.TestNG.privateMain(TestNG.java:666) at org.testng.TestNG.main(TestNG.java:608)
0.003
testWrongSpec05Failurejava.lang.reflect.InvocationTargetException

java.lang.RuntimeException: java.lang.reflect.InvocationTargetException at org.objectweb.easybeans.tests.common.enhancer.ClassesEnhancer.loadClass(ClassesEnhancer.java:172) at org.objectweb.easybeans.tests.common.enhancer.ClassesEnhancer.enhance(ClassesEnhancer.java:130) at org.objectweb.easybeans.tests.interceptors.business.TestWrongSpecification.testWrongSpec05(TestWrongSpecification.java:158) 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:585) at org.testng.internal.MethodHelper.invokeMethod(MethodHelper.java:485) at org.testng.internal.Invoker.invokeMethod(Invoker.java:398) at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:625) at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:88) at org.testng.TestRunner.privateRun(TestRunner.java:614) at org.testng.TestRunner.run(TestRunner.java:505) at org.testng.SuiteRunner.privateRun(SuiteRunner.java:221) at org.testng.SuiteRunner.run(SuiteRunner.java:147) at org.testng.TestNG.createAndRunSuiteRunners(TestNG.java:576) at org.testng.TestNG.runSuitesLocally(TestNG.java:539) at org.testng.TestNG.run(TestNG.java:316) at org.testng.TestNG.privateMain(TestNG.java:666) at org.testng.TestNG.main(TestNG.java:608)Caused by: java.lang.reflect.InvocationTargetException at sun.reflect.GeneratedMethodAccessor2.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.objectweb.easybeans.tests.common.enhancer.ClassesEnhancer.loadClass(ClassesEnhancer.java:167) ... 19 moreCaused by: java.lang.LinkageError: duplicate class definition: org/objectweb/easybeans/tests/common/ejbs/stateless/wrongspecification/SLSBFinalExternalInterceptor at java.lang.ClassLoader.defineClass1(Native Method) at java.lang.ClassLoader.defineClass(ClassLoader.java:620) at java.lang.ClassLoader.defineClass(ClassLoader.java:465) ... 23 more
0.010
testWrongSpec00FailureClass org/objectweb/easybeans/tests/common/interceptors/business/wrongspecification/TwoAroundInvokeInterceptor has already a @AroundInvoke method which is doException, cannot set new method MethodAnnotationMetadata[ jMethod=JMethod[name=doException2, access=1, descriptor=(Ljavax/ejb/InvocationContext;)Ljava/lang/Object;, exceptions=[java/lang/Exception]] inherited=false businessMethod=false aroundInvoke=true postConstruct=false preDestroy=false postActivate=false prePassivate=false timeout=false ]

java.lang.IllegalStateException: Class org/objectweb/easybeans/tests/common/interceptors/business/wrongspecification/TwoAroundInvokeInterceptor has already a @AroundInvoke method which is doException, cannot set new method MethodAnnotationMetadata[ jMethod=JMethod[name=doException2, access=1, descriptor=(Ljavax/ejb/InvocationContext;)Ljava/lang/Object;, exceptions=[java/lang/Exception]] inherited=false businessMethod=false aroundInvoke=true postConstruct=false preDestroy=false postActivate=false prePassivate=false timeout=false ] at org.objectweb.easybeans.deployment.annotations.metadata.ClassAnnotationMetadata.setAroundInvokeMethodMetadata(ClassAnnotationMetadata.java:675) at org.objectweb.easybeans.deployment.annotations.analyzer.method.JavaxEjbAroundInvokeVisitor.visitEnd(JavaxEjbAroundInvokeVisitor.java:62) at org.objectweb.asm.ClassReader.a(Unknown Source) at org.objectweb.asm.ClassReader.accept(Unknown Source) at org.objectweb.asm.ClassReader.accept(Unknown Source) at org.objectweb.easybeans.tests.common.enhancer.ClassesEnhancer.enhance(ClassesEnhancer.java:83) at org.objectweb.easybeans.tests.interceptors.business.TestWrongSpecification.testWrongSpec00(TestWrongSpecification.java:73) 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:585) at org.testng.internal.MethodHelper.invokeMethod(MethodHelper.java:485) at org.testng.internal.Invoker.invokeMethod(Invoker.java:398) at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:625) at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:88) at org.testng.TestRunner.privateRun(TestRunner.java:614) at org.testng.TestRunner.run(TestRunner.java:505) at org.testng.SuiteRunner.privateRun(SuiteRunner.java:221) at org.testng.SuiteRunner.run(SuiteRunner.java:147) at org.testng.TestNG.createAndRunSuiteRunners(TestNG.java:576) at org.testng.TestNG.runSuitesLocally(TestNG.java:539) at org.testng.TestNG.run(TestNG.java:316) at org.testng.TestNG.privateMain(TestNG.java:666) at org.testng.TestNG.main(TestNG.java:608)
0.002
Properties »

Back to top