[
http://jira.jboss.com/jira/browse/EJBTHREE-633?page=comments#action_12347191 ]
Ramil Israfilov commented on EJBTHREE-633:
------------------------------------------
Issue is in JBOSS microcontainer
http://jira.jboss.com/jira/browse/JBMICROCONT-102
get latest jboss-dependency.jar from JBOSS repository:
http://repository.jboss.com/jboss/microcontainer/snapshot/lib/
OutOfBound exception during startup of EJB3 embeddable
------------------------------------------------------
Key: EJBTHREE-633
URL:
http://jira.jboss.com/jira/browse/EJBTHREE-633
Project: EJB 3.0
Issue Type: Bug
Affects Versions: EJB 3.0 RC8 - FD
Environment: windows xp, JDK1.5_07
Reporter: Ramil Israfilov
We use EJB3 embeddabel RC8 for JUNIT tests of our EJBs.
After moving to RC8 version we have strange problem on JDK1.5_07 running on windows.
From junit log file:
64952 [main] INFO org.hibernate.impl.SessionFactoryImpl - closing
64983 [main] ERROR junit.certipost.customers.belgacom.transformation.SignEncryptSplitTest
- java.lang.RuntimeException: java.lang.IndexOutOfBoundsException: Index: 7, Size: 7
java.lang.RuntimeException: java.lang.RuntimeException:
java.lang.IndexOutOfBoundsException: Index: 7, Size: 7
at
org.jboss.ejb3.embedded.EJB3StandaloneBootstrap.scanClasspath(EJB3StandaloneBootstrap.java:296)
at
junit.certipost.customers.belgacom.transformation.SignEncryptSplitTest.startupEmbeddedJboss(SignEncryptSplitTest.java:204)
at
junit.certipost.customers.belgacom.transformation.SignEncryptSplitTest$1.setUp(SignEncryptSplitTest.java:142)
at junit.extensions.TestSetup$1.protect(TestSetup.java:18)
at junit.framework.TestResult.runProtected(TestResult.java:124)
at junit.extensions.TestSetup.run(TestSetup.java:23)
at
org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner.java:297)
at
org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.launch(JUnitTestRunner.java:672)
at
org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.java:567)
Caused by: java.lang.RuntimeException: java.lang.IndexOutOfBoundsException: Index: 7,
Size: 7
at org.jboss.ejb3.MCKernelAbstraction.install(MCKernelAbstraction.java:95)
at org.jboss.ejb3.Ejb3Deployment.registerEJBContainer(Ejb3Deployment.java:439)
at org.jboss.ejb3.Ejb3Deployment.start(Ejb3Deployment.java:486)
at org.jboss.ejb3.embedded.EJB3StandaloneDeployer.start(EJB3StandaloneDeployer.java:460)
at
org.jboss.ejb3.embedded.EJB3StandaloneBootstrap.scanClasspath(EJB3StandaloneBootstrap.java:291)
... 8 more
Caused by: java.lang.IndexOutOfBoundsException: Index: 7, Size: 7
at
EDU.oswego.cs.dl.util.concurrent.CopyOnWriteArrayList.rangeCheck(CopyOnWriteArrayList.java:752)
at
EDU.oswego.cs.dl.util.concurrent.CopyOnWriteArrayList.get(CopyOnWriteArrayList.java:372)
at
org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:341)
at
org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:438)
at
org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:379)
at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:225)
at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:151)
at
org.jboss.kernel.plugins.dependency.AbstractKernelController.install(AbstractKernelController.java:79)
at
org.jboss.kernel.plugins.dependency.AbstractKernelController.install(AbstractKernelController.java:73)
at org.jboss.ejb3.MCKernelAbstraction.install(MCKernelAbstraction.java:91)
... 12 more
Strange thing if we run the same test on Solaris JVM (AMD64 platform) with JDK1.5_01 we
never had such error.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira