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 185444 - AssertionError at org.netbeans.modules.masterfs.filebasedfs.children.ChildrenSupport.addChild
Summary: AssertionError at org.netbeans.modules.masterfs.filebasedfs.children.Children...
Status: RESOLVED WORKSFORME
Alias: None
Product: platform
Classification: Unclassified
Component: Filesystems (show other bugs)
Version: 6.x
Hardware: All All
: P2 normal (vote)
Assignee: Jaroslav Tulach
URL:
Keywords:
: 185576 (view as bug list)
Depends on:
Blocks:
 
Reported: 2010-05-04 15:20 UTC by carlo.salinari
Modified: 2010-05-10 09:23 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 169088


Attachments
stacktrace (2.43 KB, text/plain)
2010-05-04 15:20 UTC, carlo.salinari
Details

Note You need to log in before you can comment on or make changes to this bug.
Description carlo.salinari 2010-05-04 15:20:11 UTC
This bug was originally marked as duplicate of bug 161960, that is already resolved. This bug is still valid, so this seems to be another bug, but it might be related.

Build: NetBeans IDE Dev (Build 201005030200)
VM: Java HotSpot(TM) 64-Bit Server VM, 16.3-b01, Java(TM) SE Runtime Environment, 1.6.0_20-b02
OS: Windows 7

User Comments:
carlo.salinari: renamed project




Stacktrace: 
java.lang.AssertionError
   at org.netbeans.modules.masterfs.filebasedfs.children.ChildrenSupport.addChild(ChildrenSupport.java:125)
   at org.netbeans.modules.masterfs.filebasedfs.children.ChildrenSupport.rescanChildren(ChildrenSupport.java:233)
   at org.netbeans.modules.masterfs.filebasedfs.children.ChildrenSupport.getChildren(ChildrenSupport.java:82)
   at org.netbeans.modules.masterfs.filebasedfs.fileobjects.FolderObj$FolderChildrenCache.getChildren(FolderObj.java:551)
   at org.netbeans.modules.masterfs.filebasedfs.fileobjects.FolderObj.getChildren(FolderObj.java:131)
   at org.netbeans.modules.parsing.impl.indexing.FileObjectCrawler.collect(FileObjectCrawler.java:176)
Comment 1 carlo.salinari 2010-05-04 15:20:14 UTC
Created attachment 98441 [details]
stacktrace
Comment 2 Jaroslav Tulach 2010-05-06 07:52:00 UTC
*** Bug 185576 has been marked as a duplicate of this bug. ***
Comment 3 Jaroslav Tulach 2010-05-06 07:53:32 UTC
The proper fix relies on rewrite suggested in bug 184854. But that is something I don't want to do for 6.9.

To address this problem, I probably just remove the assert.
Comment 4 Jaroslav Tulach 2010-05-06 11:00:57 UTC
I have at least improved the assert error message in core-main#ce36868c5b85
Comment 5 Quality Engineering 2010-05-10 09:23:41 UTC
Integrated into 'main-golden', will be available in build *201005100200* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main/rev/
User: 
Log: