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 50159

Summary: Test failures "Unsupported DOM document implementation!" in ant/freeform unit stable tests
Product: projects Reporter: Milan Kubec <mkubec>
Component: AntAssignee: Jesse Glick <jglick>
Status: CLOSED FIXED    
Severity: blocker Keywords: TEST
Priority: P3    
Version: 4.x   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:
Attachments: failure stack traces

Description Milan Kubec 2004-10-08 10:30:19 UTC
[custom 20041008, 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:

FreeformProjectGeneratorTest.* (except
testGuessExports)
FreeformProjectGeneratorWebTest.*
Comment 1 Milan Kubec 2004-10-08 10:30:42 UTC
Created attachment 18161 [details]
failure stack traces
Comment 2 Jesse Glick 2004-10-08 16:04:29 UTC
Again, working fine for me in a built nb_all source tree; maybe
libs/external was not unscrambled.
Comment 3 Milan Kubec 2004-10-11 09:51:50 UTC
Does it mean that tests are executed with libs/external/someting on
cp? Tests should be written using only archives from IDE build.
Comment 4 Milan Kubec 2004-10-11 10:05:48 UTC
My last comment applies also for issues #50162 and #50164.
Comment 5 Milan Kubec 2004-10-11 13:16:38 UTC
ant/freeform tests were temp. removed from regular execution.
Comment 6 Jesse Glick 2004-10-11 15:07:08 UTC
"Tests should be written using only archives from IDE build." - I
don't suppose this is documented anywhere. What exactly is available
and what isn't??
Comment 7 Milan Kubec 2004-10-11 15:55:44 UTC
Yes, documentation needs to be fixed.
Tests are supposed to be executed against IDE, it means that
classpaths must be referencing jars in IDE using
${java/platform.dir}/${nb.modules.dir}/...
Comment 8 Jesse Glick 2004-10-11 20:11:04 UTC
Fixed along with issue #50158.
Comment 9 Milan Kubec 2004-10-15 09:36:25 UTC
Verified.