This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 50162 - Test failures "Unsupported DOM document implementation!" in ant/project unit stable tests
Summary: Test failures "Unsupported DOM document implementation!" in ant/project unit ...
Status: CLOSED FIXED
Alias: None
Product: projects
Classification: Unclassified
Component: Ant Project (show other bugs)
Version: 4.x
Hardware: All All
: P3 blocker (vote)
Assignee: Jan Lahoda
URL:
Keywords: TEST
Depends on:
Blocks:
 
Reported: 2004-10-08 10:52 UTC by Milan Kubec
Modified: 2006-03-24 10:34 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
failure stack traces (42.13 KB, text/plain)
2004-10-08 10:53 UTC, Milan Kubec
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Milan Kubec 2004-10-08 10:52:15 UTC
[200410070525, JDK 1.4.2_04, 1.4.2_05, 1.4.2_06]

Ant stable unit tests failures. For details see
attached file. Failed tests are:

AntArtifactQueryTest.*
AntProjectHelperTest.testBrokenPrimaryConfigurationData
AntProjectHelperTest.testPutPrimaryConfigurationData
AntProjectHelperTest.testExtensibleMetadataProviderImpl
GeneratedFilesHelperTest.testGenerateBuildScriptFromStylesheet
GlobFileBuiltQueryTest.*
ProjectGeneratorTest.*
ReferenceHelperTest.*
SharabilityQueryImplTest.*
SimpleAntArtifactTest.*
SourcesHelperTest.*
Comment 1 Milan Kubec 2004-10-08 10:53:03 UTC
Created attachment 18163 [details]
failure stack traces
Comment 2 Jesse Glick 2004-10-08 16:02:48 UTC
Working fine for me. Perhaps your libs/external dir was not
unscrambled correctly? Check in verbose mode for value of
test.unit.run.cp.extra.
Comment 3 Milan Kubec 2004-10-11 10:06:31 UTC
For comment see #50159.
Comment 4 Milan Kubec 2004-10-11 13:17:44 UTC
ant/project tests were temp. removed from regular execution.
Comment 5 Jesse Glick 2004-10-11 19:38:53 UTC
Can change config to use IDE build dir instead.
Comment 6 Jesse Glick 2004-10-11 20:14:18 UTC
committed     Up-To-Date  1.10       
ant/project/nbproject/project.properties
Comment 7 Milan Kubec 2004-10-15 09:36:41 UTC
Verified.
Comment 8 Jaroslav Tulach 2005-04-19 15:41:39 UTC
Tons of failures recently. 
Comment 9 Jesse Glick 2005-04-19 16:19:02 UTC
Jan maybe you can look at it, as a kind of practice exercise. :-)
Comment 10 Jan Lahoda 2005-04-22 09:26:54 UTC
The new failures seem to be caused by some temporary problems on 17-18 April.
The tests should be passing now.
Comment 11 Milan Kubec 2005-07-08 11:13:42 UTC
Verified.
Comment 12 Jaroslav Tulach 2005-10-07 07:25:29 UTC
New failures in org.netbeans.spi.project.support.ant.GlobFileBuiltQueryTest: 
 
testChangeFiring:  
       
junit.framework.AssertionFailedError: /space/test4u2/testrun/work/user/org.netbeans.spi.project.support.ant.GlobFileBuiltQueryTest/testChangeFiring/prj/build/classes/pkg/Foo.class  
created on disk  
        at junit.framework.Assert.fail(Assert.java:47)  
        at junit.framework.Assert.assertTrue(Assert.java:20)  
        at  
org.netbeans.spi.project.support.ant.GlobFileBuiltQueryTest.testChangeFiring(GlobFileBuiltQueryTest.java:196)  
        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:324)  
        at junit.framework.TestCase.runTest(TestCase.java:154)  
        at org.netbeans.junit.NbTestCase.runBare(NbTestCase.java:135)  
        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.netbeans.junit.NbTestCase.run(NbTestCase.java:122)  
        at junit.framework.TestSuite.runTest(TestSuite.java:208)  
        at junit.framework.TestSuite.run(TestSuite.java:203)  
        at  
org.netbeans.xtest.testrunner.JUnitTestRunner.runTests(JUnitTestRunner.java:167)  
        at  
org.netbeans.xtest.testrunner.JUnitTestRunner.runTests(JUnitTestRunner.java:118)  
        at  
org.netbeans.xtest.plugin.jvm.JUnitTestRunnerLauncher.main(JUnitTestRunnerLauncher.java:41)  
Comment 13 Jesse Glick 2005-10-07 22:05:17 UTC
Yarda - for the future it would be better to open a fresh bug report, since the
new failures may not have the same cause. In this case, I think they are
completely unrelated.
Comment 14 Jan Lahoda 2005-10-11 08:07:53 UTC
I have found two independent failures (hope I have not overseen any) and files
issue #66443 and issue #66444 for them. Closing this issue.
Comment 15 Milan Kubec 2005-10-18 15:20:49 UTC
Verified.