See the following error when running openejb tests from the
geronimo/testsuite/enterprise-testsuite/test-ejbcontainer
-------------------------------------------------------
T E S T S
-------------------------------------------------------
Running org.apache.geronimo.openejb.test.ReuseOpenEJBTest
org.apache.maven.surefire.booter.SurefireExecutionException:
org.apache.geronimo.openejb.test.ReuseOpenEJBTest; nested exception is
java.lang.StringIndexOutOfBoundsException: String index out of range:
-2; nested exception is
org.apache.maven.surefire.testset.TestSetFailedException:
org.apache.geronimo.openejb.test.ReuseOpenEJBTest; nested exception is
java.lang.StringIndexOutOfBoundsException: String index out of range:
-2
org.apache.maven.surefire.testset.TestSetFailedException:
org.apache.geronimo.openejb.test.ReuseOpenEJBTest; nested exception is
java.lang.StringIndexOutOfBoundsException: String index out of range:
-2
java.lang.StringIndexOutOfBoundsException: String index out of range: -2
at java.lang.String.substring(String.java:1768)
at java.lang.String.substring(String.java:1735)
at
org.apache.openejb.test.NumberedTestCase.removePrefix(NumberedTestCase.java:165)
at
org.apache.openejb.test.NumberedTestCase.removePrefix(NumberedTestCase.java:161)
at
org.apache.openejb.test.NumberedTestCase.createTestName(NumberedTestCase.java:157)
at
org.apache.openejb.test.NumberedTestCase.run(NumberedTestCase.java:96)
at junit.framework.TestSuite.runTest(TestSuite.java:208)
at junit.framework.TestSuite.run(TestSuite.java:203)
at junit.framework.TestSuite.runTest(TestSuite.java:208)
at junit.framework.TestSuite.run(TestSuite.java:203)
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.apache.maven.surefire.junit.JUnitTestSet.execute(JUnitTestSet.java:210)
at
org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:135)
at
org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:122)
at org.apache.maven.surefire.Surefire.run(Surefire.java:129)
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.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:269)
at
org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:788)
[ERROR] There are test failures.
[INFO] [geronimo:undeploy-module {execution: undeploy-modules}]