I've update the workspace but cannot build due to glassfish-naming test
failure below. What am I missing?
[INFO] Surefire report directory:
C:\v3-1-25\v3\common\glassfish-naming\target\surefire-reports
-------------------------------------------------------
T E S T S
-------------------------------------------------------
Running com.sun.enterprise.naming.impl.AppTest
**lookup() ==> Hello: foo
**lookup() ==> Hello: foo
**lookup() ==> FACTORY_Created: 1
**lookup() ==> FACTORY_Created: 2
java.lang.StringIndexOutOfBoundsException: String index out of range: -1
at java.lang.String.substring(String.java:1768)
at java.lang.String.substring(String.java:1735)
at
com.sun.enterprise.naming.impl.GlassfishNamingManagerImpl.bindInterme
diateContexts(GlassfishNamingManagerImpl.java:337)
at
com.sun.enterprise.naming.impl.GlassfishNamingManagerImpl.bindToCompo
nentNamespace(GlassfishNamingManagerImpl.java:316)
at
com.sun.enterprise.naming.impl.GlassfishNamingManagerImpl.bindToCompo
nentNamespace(GlassfishNamingManagerImpl.java:329)
at
com.sun.enterprise.naming.impl.AppTest.testNonCachingNamingObjectFact
ory(AppTest.java:174)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at junit.framework.TestCase.runTest(TestCase.java:168)
at junit.framework.TestCase.runBare(TestCase.java:134)
at junit.framework.TestResult$1.protect(TestResult.java:110)
at junit.framework.TestResult.runProtected(TestResult.java:128)
at junit.framework.TestResult.run(TestResult.java:113)
at junit.framework.TestCase.run(TestCase.java:124)
at junit.framework.TestSuite.runTest(TestSuite.java:232)
at junit.framework.TestSuite.run(TestSuite.java:227)
at
org.junit.internal.runners.OldTestClassRunner.run(OldTestClassRunner.
java:76)
at
org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.
java:62)
at
org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTes
tSet(AbstractDirectoryTestSuite.java:140)
at
org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(Ab
stractDirectoryTestSuite.java:127)
at org.apache.maven.surefire.Surefire.run(Surefire.java:177)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at
org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(Su
refireBooter.java:338)
at
org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.j
ava:997)
Tests run: 5, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 0.356
sec <<< FA
ILURE!
Results :
Failed tests:
testNonCachingNamingObjectFactory(com.sun.enterprise.naming.impl.AppTest)
Tests run: 5, Failures: 1, Errors: 0, Skipped: 0
[INFO]
------------------------------------------------------------------------
[ERROR] BUILD FAILURE
[INFO]
------------------------------------------------------------------------
[INFO] There are test failures.
Please refer to
C:\v3-1-25\v3\common\glassfish-naming\target\surefire-reports fo
r the individual test results.