The following error occurs when we run our junit tests with Code Coverage 
in RAD8.0. 
The same tests ran successfully with RAD8.0's Code Coverage turned off, or 
when they are run in RAD7.5.5.1's Code Coverage 

Apache OpenEJB 3.1.4    build: 20101112-03:32
http://openejb.apache.org/
FOO moduleName = C:\workspace\_RAD80\MyApplication\
ERROR - FATAL ERROR: Unknown error in Assembler.  Please send the 
following stack trace and this message to [email protected] :
 java.lang.ArrayIndexOutOfBoundsException: Array index out of range: 1
        at 
com.ibm.rational.llc.engine.instrumentation.DefaultDataCollector.executableUnitAccessed(
DefaultDataCollector.java:190)
        at llc_probe$Probe_0._executableUnit(llc_probe.java:28)
        at $Proxy29.annotationType(Unknown Source)
        at java.lang.Class.getAnnotations(Class.java:1611)
        at java.lang.Class.getAnnotation(Class.java:1589)
        at java.lang.Class.isAnnotationPresent(Class.java:1676)
        at org.apache.xbean.finder.AbstractFinder.findAnnotatedClasses(
AbstractFinder.java:110)
        at 
org.apache.openejb.config.AnnotationDeployer$DiscoverAnnotatedBeans.deploy(
AnnotationDeployer.java:467)
        at 
org.apache.openejb.config.AnnotationDeployer$DiscoverAnnotatedBeans.deploy(
AnnotationDeployer.java:257)
        at org.apache.openejb.config.AnnotationDeployer.deploy(
AnnotationDeployer.java:192)
        at org.apache.openejb.config.ConfigurationFactory$Chain.deploy(
ConfigurationFactory.java:248)
        at 
org.apache.openejb.config.ConfigurationFactory.configureApplication(
ConfigurationFactory.java:626)
        at 
org.apache.openejb.config.ConfigurationFactory.configureApplication(
ConfigurationFactory.java:576)
        at 
org.apache.openejb.config.ConfigurationFactory.getOpenEjbConfiguration(
ConfigurationFactory.java:391)
        at 
org.apache.openejb.assembler.classic.Assembler.getOpenEjbConfiguration(
Assembler.java:300)
        at org.apache.openejb.assembler.classic.Assembler.build(
Assembler.java:279)
        at org.apache.openejb.OpenEJB$Instance.<init>(OpenEJB.java:125)
        at org.apache.openejb.OpenEJB$Instance.<init>(OpenEJB.java:60)
        at org.apache.openejb.OpenEJB.init(OpenEJB.java:271)
        at org.apache.openejb.OpenEJB.init(OpenEJB.java:250)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(
NativeMethodAccessorImpl.java:60)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(
DelegatingMethodAccessorImpl.java:37)
        at java.lang.reflect.Method.invoke(Method.java:611)
        at org.apache.openejb.loader.OpenEJBInstance.init(
OpenEJBInstance.java:36)
        at org.apache.openejb.client.LocalInitialContextFactory.init(
LocalInitialContextFactory.java:71)
        at org.apache.openejb.client.LocalInitialContextFactory.init(
LocalInitialContextFactory.java:53)
        at 
org.apache.openejb.client.LocalInitialContextFactory.getInitialContext(
LocalInitialContextFactory.java:42)
        at javax.naming.spi.NamingManager.getInitialContext(
NamingManager.java:235)
        at javax.naming.InitialContext.initializeDefaultInitCtx(
InitialContext.java:318)
        at javax.naming.InitialContext.getDefaultInitCtx(
InitialContext.java:348)
        at javax.naming.InitialContext.internalInit(
InitialContext.java:286)
        at javax.naming.InitialContext.<init>(InitialContext.java:211)
        at 
my.application.common.testing.util.MyAppTestingConfigurationUtil.createContext(
MyAppTestingConfigurationUtil.java:127)
        at 
my.application.common.testing.util.MyAppTestingConfigurationUtil.createContext(
MyAppTestingConfigurationUtil.java:52)
        at 
my.application.common.testing.util.MyAppTestingConfigurationUtil.createContext(
MyAppTestingConfigurationUtil.java:34)
        at 
my.application.common.testing.util.MyAppTestingConfigurationUtil.createContext(
MyAppTestingConfigurationUtil.java:27)
        at 
my.application.paymentrecovery.business.service.PaymentRecoverySessionTestAddComment.setUp(
PaymentRecoverySessionTestAddComment.java:54)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(
NativeMethodAccessorImpl.java:60)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(
DelegatingMethodAccessorImpl.java:37)
        at java.lang.reflect.Method.invoke(Method.java:611)
        at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(
FrameworkMethod.java:44)
        at org.junit.internal.runners.model.ReflectiveCallable.run(
ReflectiveCallable.java:15)
        at org.junit.runners.model.FrameworkMethod.invokeExplosively(
FrameworkMethod.java:41)
        at org.junit.internal.runners.statements.RunBefores.evaluate(
RunBefores.java:27)
        at org.junit.internal.runners.statements.RunAfters.evaluate(
RunAfters.java:31)
        at org.junit.runners.BlockJUnit4ClassRunner.runChild(
BlockJUnit4ClassRunner.java:76)
        at org.junit.runners.BlockJUnit4ClassRunner.runChild(
BlockJUnit4ClassRunner.java:50)
        at org.junit.runners.ParentRunner$3.run(ParentRunner.java:193)
        at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:52)
        at org.junit.runners.ParentRunner.runChildren(
ParentRunner.java:191)
        at org.junit.runners.ParentRunner.access$000(ParentRunner.java:42)
        at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:184
)
        at org.junit.runners.ParentRunner.run(ParentRunner.java:236)
        at org.eclipse.jdt.internal.junit4.runner.JUnit4TestReference.run(
JUnit4TestReference.java:49)
        at org.eclipse.jdt.internal.junit.runner.TestExecution.run(
TestExecution.java:38)
        at 
org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(
RemoteTestRunner.java:467)
        at 
org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(
RemoteTestRunner.java:683)
        at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(
RemoteTestRunner.java:390)
        at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(
RemoteTestRunner.java:197)

FATAL - OpenEJB has encountered a fatal error and cannot be started: 
Assembler failed to build the container system.
org.apache.openejb.OpenEJBException: 
java.lang.ArrayIndexOutOfBoundsException: Array index out of range: 1: 
Array index out of range: 1
        at org.apache.openejb.assembler.classic.Assembler.build(
Assembler.java:293)
        at org.apache.openejb.OpenEJB$Instance.<init>(OpenEJB.java:125)
        at org.apache.openejb.OpenEJB$Instance.<init>(OpenEJB.java:60)
        at org.apache.openejb.OpenEJB.init(OpenEJB.java:271)
        at org.apache.openejb.OpenEJB.init(OpenEJB.java:250)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(
NativeMethodAccessorImpl.java:60)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(
DelegatingMethodAccessorImpl.java:37)
        at java.lang.reflect.Method.invoke(Method.java:611)
        at org.apache.openejb.loader.OpenEJBInstance.init(
OpenEJBInstance.java:36)
        at org.apache.openejb.client.LocalInitialContextFactory.init(
LocalInitialContextFactory.java:71)
        at org.apache.openejb.client.LocalInitialContextFactory.init(
LocalInitialContextFactory.java:53)
        at 
org.apache.openejb.client.LocalInitialContextFactory.getInitialContext(
LocalInitialContextFactory.java:42)
        at javax.naming.spi.NamingManager.getInitialContext(
NamingManager.java:235)
        at javax.naming.InitialContext.initializeDefaultInitCtx(
InitialContext.java:318)
        at javax.naming.InitialContext.getDefaultInitCtx(
InitialContext.java:348)
        at javax.naming.InitialContext.internalInit(
InitialContext.java:286)
        at javax.naming.InitialContext.<init>(InitialContext.java:211)
        at 
my.application.common.testing.util.MyAppTestingConfigurationUtil.createContext(
MyAppTestingConfigurationUtil.java:127)
        at 
my.application.common.testing.util.MyAppTestingConfigurationUtil.createContext(
MyAppTestingConfigurationUtil.java:52)
        at 
my.application.common.testing.util.MyAppTestingConfigurationUtil.createContext(
MyAppTestingConfigurationUtil.java:34)
        at 
my.application.common.testing.util.MyAppTestingConfigurationUtil.createContext(
MyAppTestingConfigurationUtil.java:27)
        at 
my.application.paymentrecovery.business.service.PaymentRecoverySessionTestAddComment.setUp(
PaymentRecoverySessionTestAddComment.java:54)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(
NativeMethodAccessorImpl.java:60)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(
DelegatingMethodAccessorImpl.java:37)
        at java.lang.reflect.Method.invoke(Method.java:611)
        at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(
FrameworkMethod.java:44)
        at org.junit.internal.runners.model.ReflectiveCallable.run(
ReflectiveCallable.java:15)
        at org.junit.runners.model.FrameworkMethod.invokeExplosively(
FrameworkMethod.java:41)
        at org.junit.internal.runners.statements.RunBefores.evaluate(
RunBefores.java:27)
        at org.junit.internal.runners.statements.RunAfters.evaluate(
RunAfters.java:31)
        at org.junit.runners.BlockJUnit4ClassRunner.runChild(
BlockJUnit4ClassRunner.java:76)
        at org.junit.runners.BlockJUnit4ClassRunner.runChild(
BlockJUnit4ClassRunner.java:50)
        at org.junit.runners.ParentRunner$3.run(ParentRunner.java:193)
        at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:52)
        at org.junit.runners.ParentRunner.runChildren(
ParentRunner.java:191)
        at org.junit.runners.ParentRunner.access$000(ParentRunner.java:42)
        at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:184
)
        at org.junit.runners.ParentRunner.run(ParentRunner.java:236)
        at org.eclipse.jdt.internal.junit4.runner.JUnit4TestReference.run(
JUnit4TestReference.java:49)
        at org.eclipse.jdt.internal.junit.runner.TestExecution.run(
TestExecution.java:38)
        at 
org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(
RemoteTestRunner.java:467)
        at 
org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(
RemoteTestRunner.java:683)
        at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(
RemoteTestRunner.java:390)
        at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(
RemoteTestRunner.java:197)
Caused by: 
java.lang.ArrayIndexOutOfBoundsException: Array index out of range: 1
        at 
com.ibm.rational.llc.engine.instrumentation.DefaultDataCollector.executableUnitAccessed(
DefaultDataCollector.java:190)
        at llc_probe$Probe_0._executableUnit(llc_probe.java:28)
        at $Proxy29.annotationType(Unknown Source)
        at java.lang.Class.getAnnotations(Class.java:1611)
        at java.lang.Class.getAnnotation(Class.java:1589)
        at java.lang.Class.isAnnotationPresent(Class.java:1676)
        at org.apache.xbean.finder.AbstractFinder.findAnnotatedClasses(
AbstractFinder.java:110)
        at 
org.apache.openejb.config.AnnotationDeployer$DiscoverAnnotatedBeans.deploy(
AnnotationDeployer.java:467)
        at 
org.apache.openejb.config.AnnotationDeployer$DiscoverAnnotatedBeans.deploy(
AnnotationDeployer.java:257)
        at org.apache.openejb.config.AnnotationDeployer.deploy(
AnnotationDeployer.java:192)
        at org.apache.openejb.config.ConfigurationFactory$Chain.deploy(
ConfigurationFactory.java:248)
        at 
org.apache.openejb.config.ConfigurationFactory.configureApplication(
ConfigurationFactory.java:626)
        at 
org.apache.openejb.config.ConfigurationFactory.configureApplication(
ConfigurationFactory.java:576)
        at 
org.apache.openejb.config.ConfigurationFactory.getOpenEjbConfiguration(
ConfigurationFactory.java:391)
        at 
org.apache.openejb.assembler.classic.Assembler.getOpenEjbConfiguration(
Assembler.java:300)
        at org.apache.openejb.assembler.classic.Assembler.build(
Assembler.java:279)
        ... 45 more
Are you expecting or adopting? The  Paid Parental Leave scheme  helps parents 
spend more time at home with their child, and employers keep skilled and 
valuable staff. Find out if you're eligible now. =

______________________________________________________________________
********************************************************************************
NOTICE - This message is intended only for the use of the addressee named above 
and may contain privileged and confidential information. If you are not the 
intended recipient of this message you are hereby notified that you must not 
disseminate, copy or take any action based upon it. If you received this 
message in error please notify Medicare Australia immediately. Any views 
expressed in this message are those of the individual sender, except where the 
sender specifically states them to be the views of Medicare Australia.

Please consider the environment before printing this e-mail
***********************************************************************************

Reply via email to