Hi,

On 4/13/07, Julian Reschke <[EMAIL PROTECTED]> wrote:
with the current Subversion checkout (528441), I'm getting a build
failure because of one unexpected test case failure:

Hmm, you're right. And our Continuum installation seems to be stuck on
some eternal scp loop so it didn't warn us. I'll fix the Continuum
issue.

-------------------------------------------------------
  T E S T S
-------------------------------------------------------
Running org.apache.jackrabbit.core.nodetype.compact.TestAll
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.094 sec
Running org.apache.jackrabbit.test.TestAll
Tests run: 1055, Failures: 0, Errors: 1, Skipped: 0, Time elapsed:
65.453 sec <<< FAILURE!


Is this a known issue? If not, how can I find out what test case is
failing? (mvn -e doesn't seem to give me the information I'm looking for).

At least Maven 2.0.4 prints the following summary:

   Results :

   Tests in error:
     testNode(org.apache.jackrabbit.test.api.SetValueVersionExceptionTest)

   Tests run: 1245, Failures: 0, Errors: 1, Skipped: 0

There is also a more complete set of test reports in
target/surefire-reports. The full error is included below. It seems
like a test is trying to add a node with a null node type name.
Perhaps because of the recent new test configuration options.

BR,

Jukka Zitting

-------------------------------------------------------------------------------
Test set: org.apache.jackrabbit.test.TestAll
-------------------------------------------------------------------------------
Tests run: 1055, Failures: 0, Errors: 1, Skipped: 0, Time elapsed:
45.14 sec <<< FAILURE!
testNode(org.apache.jackrabbit.test.api.SetValueVersionExceptionTest)
Time elapsed: 0.062 sec  <<< ERROR!
java.lang.NullPointerException
        at 
org.apache.jackrabbit.name.ParsingNameResolver.getQName(ParsingNameResolver.java:104)
        at 
org.apache.jackrabbit.name.CachingNameResolver.getQName(CachingNameResolver.java:75)
        at 
org.apache.jackrabbit.core.LocalNamespaceMappings.retrieveName(LocalNamespaceMappings.java:194)
        at org.apache.jackrabbit.name.NameFormat.parse(NameFormat.java:73)
        at 
org.apache.jackrabbit.core.nodetype.NodeTypeManagerImpl.getNodeType(NodeTypeManagerImpl.java:410)
        at org.apache.jackrabbit.core.NodeImpl.addNode(NodeImpl.java:1939)
        at 
org.apache.jackrabbit.test.api.SetValueVersionExceptionTest.testNode(SetValueVersionExceptionTest.java:272)
        at 
org.apache.jackrabbit.test.api.SetValueVersionExceptionTest.testNode(SetValueVersionExceptionTest.java:272)
        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:589)
        at junit.framework.TestCase.runTest(TestCase.java:154)
        at junit.framework.TestCase.runBare(TestCase.java:127)
        at junit.framework.TestResult$1.protect(TestResult.java:106)
        at junit.framework.TestResult.runProtected(TestResult.java:124)
        at junit.framework.TestResult.run(TestResult.java:109)
        at junit.framework.TestCase.run(TestCase.java:118)
        at 
org.apache.jackrabbit.test.AbstractJCRTest.run(AbstractJCRTest.java:402)
        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 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:589)
        at 
org.apache.maven.surefire.junit.JUnitTestSet.execute(JUnitTestSet.java:213)
        at 
org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:138)
        at 
org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:125)
        at org.apache.maven.surefire.Surefire.run(Surefire.java:132)
        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:589)
        at 
org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:290)
        at 
org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:818)

Reply via email to