BugRat Report # 633

Project: Ant Release: Ant version 1.2 compiled on October 24 2000
Category: Bug Report SubCategory: New Bug Report
Class: swbug State: received
Priority: high Severity: serious
Confidence: public

Submitter: Anders Janmyr ( anders.janmyr@movearound.com )
Date Submitted: Dec 20 2000, 05:00:00 CST
Responsible: Z_Ant Alias ( ant-bugs@cortexity.com )

Synopsis:
ClassLoader fails to load org.w3c.dom.Document when using junit
Environment: (jvm, os, osrel, platform)
java version "1.3.0", Windows NT, 4.0 1381 SP6, Intel

Additional Environment Description:

Report Description:
runtests: LOG0028E The requested logger, logger, could not be built and no default is defi ned. [junit] Testsuite: test.aspiro.notification.pap.PapTest [junit] Tests run: 1, Failures: 0, Errors: 1, Time elapsed: 0,641 sec [junit] [junit] Testcase: testSubmit took 0,641 sec [junit] Caused an ERROR [junit] Class org/w3c/dom/Document violates loader constraints [junit] java.lang.LinkageError: Class org/w3c/dom/Document violates loader c onstraints [junit] at java.lang.ClassLoader.defineClass0(Native Method) [junit] at java.lang.ClassLoader.defineClass(Unknown Source) [junit] at java.lang.ClassLoader.defineClass(Unknown Source) [junit] at org.apache.tools.ant.AntClassLoader.getClassFromStream(AntCla ssLoader.java:388) [junit] at org.apache.tools.ant.AntClassLoader.findClass(AntClassLoader. java:433) [junit] at org.apache.tools.ant.AntClassLoader.findClass(AntClassLoader. java:406) [junit] at org.apache.tools.ant.AntClassLoader.loadClass(AntClassLoader. java:336) [junit] at java.lang.ClassLoader.loadClass(Unknown Source) [junit] at java.lang.ClassLoader.loadClassInternal(Unknown Source) [junit] at com.aspiro.notification.pap.PapAssembler.toDocument(PapAssemb ler.java:84) [junit] at com.aspiro.notification.pap.PapAssembler.assembleSubmit(PapAs sembler.java:131) [junit] at test.aspiro.notification.pap.PapTest.testSubmit(PapTest.java: 65) [junit] at java.lang.reflect.Method.invoke(Native Method) [junit] at junit.framework.TestCase.runTest(TestCase.java:156) [junit] at junit.framework.TestCase.runBare(TestCase.java:130) [junit] at junit.framework.TestResult$1.protect(TestResult.java:100) [junit] at junit.framework.TestResult.runProtected(TestResult.java:118) [junit] at junit.framework.TestResult.run(TestResult.java:103) [junit] at junit.framework.TestCase.run(TestCase.java:121) [junit] at junit.framework.TestSuite.runTest(TestSuite.java:149) [junit] at junit.framework.TestSuite.run(TestSuite.java:144) [junit] at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner. run(JUnitTestRunner.java:202) [junit] at org.apache.tools.ant.taskdefs.optional.junit.JUnitTask.execut e(JUnitTask.java:268) [junit] at org.apache.tools.ant.Target.execute(Target.java:142) [junit] at org.apache.tools.ant.Project.runTarget(Project.java:818) [junit] at org.apache.tools.ant.Project.executeTarget(Project.java:532) [junit] at org.apache.tools.ant.Project.executeTargets(Project.java:506) [junit] at org.apache.tools.ant.Main.runBuild(Main.java:420) [junit] at org.apache.tools.ant.Main.main(Main.java:149) [junit] BUILD FAILED

How To Reproduce:
null

View this report online...