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.
Created attachment 135433 [details] Build failure Recently, there are many build failures caused by java.lang.NoClassDefFoundError: junit/framework/TestListener
not project support not ant support related. is nb.org build related.. this is likely the place to start looking.. /hudson/workdir/jobs/NB-Core-Build/workspace/nbbuild/build.xml:1785: The following error occurred while executing this line: /hudson/workdir/jobs/NB-Core-Build/workspace/nbbuild/templates/common.xml:671: The following error occurred while executing this line: /hudson/workdir/jobs/NB-Core-Build/workspace/nbbuild/templates/common.xml:664: The following error occurred while executing this line: /hudson/workdir/jobs/NB-Core-Build/workspace/nbbuild/templates/common.xml:698: The following error occurred while executing this line: reassigning to www/builds, not sure if that's the right component.
It seems to be fixed by somebody. The build #10305 is OK already. http://deadlock.netbeans.org/hudson/job/NB-Core-Build/10305/
This defect is random. I will reopen as soon as the issue reappears.
http://deadlock.netbeans.org/hudson/job/NB-Core-Build/10313/console
For me it is reproducible with steps: - open web.struts project in IDE - open "Functional Test Packages|org.netbeans.modules.web.struts|EndToEndTest.java" - run test (Ctrl+F6) Product Version: NetBeans IDE Dev (Build 201306102301) Java: 1.7.0_25; Java HotSpot(TM) 64-Bit Server VM 23.25-b01 Runtime: Java(TM) SE Runtime Environment 1.7.0_25-b14 System: Windows 7 version 6.1 running on amd64; Cp1250; en_US (nb)
This is not a stopper.
It might be related to very long classpath which exceeds command line limits. For me workaround is to comment out <pathelement path="${module.run.classpath}"/> in <path id="test.@{test.type}.run.cp"> definition in common.xml (line 511). I think that module.run.classpath is there only for historical backward compatibility as expressed in associated comment. We should remove it and fix test dependencies in project.xml where it is not already done. I am cc-ing Jesse if he is willing to comment.
Isn't this also somewhat related to the recent upgrade to Ant 1.9?
http://deadlock.netbeans.org/hudson/job/NB-Core-Build/10346/console
http://deadlock.netbeans.org/hudson/job/NB-Core-Build/10351/console
The last three failures are in core.output2.-do-junit. This does not seem to be a coincidence. It fails in Testsuite: org.netbeans.core.output2.IOExtensionsTest When I run: $ export PATH=.../apache-ant-1.9.1/bin:${PATH} $ cd core-main/core.output2 $ ant test I get timeout error in Testcase: org.netbeans.core.output2.IOExtensionsTest:testWrappedScroll This is a different failure that occurs in the hudson build, but it shows that there is really some problem in this test when run with ant-1.9.1. The test pass fine with ant-1.8.1 for me.
> It fails in Testsuite: org.netbeans.core.output2.IOExtensionsTest http://hg.netbeans.org/core-main/rev/ba9107e729d3 This could help, hopefully. We'll see.
Integrated into 'main-golden', will be available in build *201306212301* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-golden/rev/ba9107e729d3 User: Jaroslav Havlin <jhavlin@netbeans.org> Log: #230840: Fix livelock in WrappedTextView
It seems to work fine now. Closing. Please reopen if IOExtensionsTest fails again. Thank you.