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 67388 - DataObjectInvalidationTest expected:<1> but was:<2>
Summary: DataObjectInvalidationTest expected:<1> but was:<2>
Status: RESOLVED FIXED
Alias: None
Product: platform
Classification: Unclassified
Component: Data Systems (show other bugs)
Version: 5.x
Hardware: All All
: P3 blocker (vote)
Assignee: Jaroslav Tulach
URL: http://beetle.czech.sun.com:8080/unit...
Keywords: TEST
Depends on:
Blocks:
 
Reported: 2005-10-24 08:56 UTC by Jaroslav Tulach
Modified: 2008-12-22 19:30 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Nov 13, failure (38.38 KB, text/html)
2005-11-14 12:53 UTC, Jaroslav Tulach
Details
Dev 12, 2005 (51.71 KB, text/html)
2005-12-12 07:21 UTC, Jaroslav Tulach
Details
A bit different, but very likely related failure on Jan 15, 2006 (92.86 KB, text/html)
2006-01-16 09:22 UTC, Jaroslav Tulach
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jaroslav Tulach 2005-10-24 08:56:03 UTC
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)
Comment 1 Jaroslav Tulach 2005-10-24 09:28:22 UTC
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 
Comment 2 Jaroslav Tulach 2005-10-25 08:10:35 UTC
New failure is here and I think I have a fix. 
Comment 3 Jaroslav Tulach 2005-10-25 08:12:48 UTC
"#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 
 
Comment 4 Jaroslav Tulach 2005-11-14 12:52:37 UTC
Again? 
Comment 5 Jaroslav Tulach 2005-11-14 12:53:07 UTC
Created attachment 26916 [details]
Nov 13, failure
Comment 6 Jaroslav Tulach 2005-11-15 08:36:44 UTC
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 
Comment 7 Jaroslav Tulach 2005-12-12 07:21:32 UTC
New failure is here, 
Comment 8 Jaroslav Tulach 2005-12-12 07:21:58 UTC
Created attachment 27726 [details]
Dev 12, 2005
Comment 9 Jaroslav Tulach 2006-01-16 09:22:14 UTC
Created attachment 28399 [details]
A bit different, but very likely related failure on Jan 15, 2006
Comment 10 Jaroslav Tulach 2006-01-18 08:13:30 UTC
/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