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.
Test failure occurs during hudson build: Failed org.netbeans.modules.uihandler.SlownessReporterTest.testGetIdeStartup Failing for the past 2 builds (Since Unstable#3220 ) Took 0.1 sec. Error Message expected:<[Application startup]> but was:<[redo]> Stacktrace junit.framework.ComparisonFailure: expected:<[Application startup]> but was:<[redo]> at org.netbeans.modules.uihandler.SlownessReporterTest.testGetIdeStartup(SlownessReporterTest.java:126) at org.netbeans.junit.NbTestCase.access$200(NbTestCase.java:102) at org.netbeans.junit.NbTestCase$2.doSomething(NbTestCase.java:478) at org.netbeans.junit.NbTestCase$1Guard.run(NbTestCase.java:404) at java.lang.Thread.run(Thread.java:744)
The problem is, that the Logger is GC'ed in the mean time. It resets it's logging level and therefore the record is not logged.
Fixed by changeset: 285749:d39e4546170c http://hg.netbeans.org/core-main/rev/d39e4546170c
Integrated into 'main-silver', will be available in build *201503240001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-silver/rev/d39e4546170c User: mentlicher@netbeans.org Log: #249978: Prevent from logger GC so that it's properties are not lost.