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.
testDataObjectsCreatedOncePerFile: junit.framework.AssertionFailedError: After getting folder node children, a data object is not started to be created >1 time expected:<1> but was:<2> at junit.framework.Assert.fail(Assert.java:47) at junit.framework.Assert.failNotEquals(Assert.java:282) at junit.framework.Assert.assertEquals(Assert.java:64) at junit.framework.Assert.assertEquals(Assert.java:201) at org.openide.loaders.DataObjectInvalidationTest.testDataObjectsCreatedOncePerFile(DataObjectInvalidationTest.java:170) 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)
Checking in DataObjectInvalidationTest.java; /cvs/openide/loaders/test/unit/src/org/openide/loaders/DataObjectInvalidationTest.java,v <-- DataObjectInvalidationTest.java new revision: 1.3; previous revision: 1.2
New failure is here and I think I have a fix.
"#67388: Results of previous tests influenced the next onces, in case the previous nodes stayed in memory. To fix that, I am garbage collecting the loader in every tearDown, so all its nodes, data objects and the loader itself shall be gone. Found due to improve logging in SlowDataLoader." Checking in loaders/test/unit/src/org/openide/loaders/DataObjectInvalidationTest.java; /cvs/openide/loaders/test/unit/src/org/openide/loaders/DataObjectInvalidationTest.java,v <-- DataObjectInvalidationTest.java new revision: 1.5; previous revision: 1.4
Again?
Created attachment 26916 [details] Nov 13, failure
Bug in test, I guess: /cvs/openide/loaders/test/unit/src/org/openide/loaders/DataObjectInvalidationTest.java,v <-- DataObjectInvalidationTest.java new revision: 1.6; previous revision: 1.5
New failure is here,
Created attachment 27726 [details] Dev 12, 2005
Created attachment 28399 [details] A bit different, but very likely related failure on Jan 15, 2006
/cvs/openide/loaders/src/org/openide/loaders/FolderList.java,v <-- FolderList.java new revision: 1.14; previous revision: 1.13 done RCS file: /cvs/openide/loaders/test/unit/src/org/openide/loaders/FolderListTest.java,v done Checking in test/unit/src/org/openide/loaders/FolderListTest.java; /cvs/openide/loaders/test/unit/src/org/openide/loaders/FolderListTest.java,v <-- FolderListTest.java initial revision: 1.1