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 185346 - AssertionError at org.netbeans.modules.masterfs.filebasedfs.children.ChildrenSupport.addChild
Summary: AssertionError at org.netbeans.modules.masterfs.filebasedfs.children.Children...
Status: RESOLVED FIXED
Alias: None
Product: platform
Classification: Unclassified
Component: Filesystems (show other bugs)
Version: 6.x
Hardware: All All
: P3 normal (vote)
Assignee: Jaroslav Tulach
URL:
Keywords:
: 185800 186083 186149 186186 186442 187079 (view as bug list)
Depends on: 184854
Blocks: 184127
  Show dependency tree
 
Reported: 2010-05-03 10:12 UTC by Jindrich Sedek
Modified: 2010-06-15 21:50 UTC (History)
14 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 169003


Attachments
stacktrace (3.38 KB, text/plain)
2010-05-03 10:12 UTC, Jindrich Sedek
Details
stacktrace (5.33 KB, text/plain)
2010-05-05 23:26 UTC, Jesse Glick
Details
stacktrace (3.39 KB, text/plain)
2010-05-10 22:55 UTC, emiddio
Details
stacktrace (2.62 KB, text/plain)
2010-05-10 23:01 UTC, emiddio
Details
stacktrace (2.68 KB, text/plain)
2010-05-11 14:22 UTC, leonhad
Details
stacktrace (2.99 KB, text/plain)
2010-05-12 12:55 UTC, Alexandr Scherbatiy
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jindrich Sedek 2010-05-03 10:12:37 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.0-b13, Java(TM) SE Runtime Environment, 1.6.0_18-b06
OS: Linux

User Comments:
jsedek: Create  new WebApplication on Tomcat
invoke Rename action on project
type new name; check 'Rename Folder' checkbox and submit the Action 
->AE is thrown and the project disapears from Projects view




Stacktrace: 
java.lang.AssertionError
   at org.netbeans.modules.masterfs.filebasedfs.children.ChildrenSupport.addChild(ChildrenSupport.java:125)
   at org.netbeans.modules.masterfs.filebasedfs.children.ChildrenSupport.rescanChild(ChildrenSupport.java:183)
   at org.netbeans.modules.masterfs.filebasedfs.children.ChildrenSupport.getChild(ChildrenSupport.java:103)
   at org.netbeans.modules.masterfs.filebasedfs.fileobjects.FolderObj$FolderChildrenCache.getChild(FolderObj.java:556)
   at org.netbeans.modules.masterfs.filebasedfs.fileobjects.FileObjectFactory.getFileObject(FileObjectFactory.java:181)
   at org.netbeans.modules.masterfs.filebasedfs.fileobjects.FileObjectFactory.getValidFileObject(FileObjectFactory.java:681)
Comment 1 Jindrich Sedek 2010-05-03 10:12:41 UTC
Created attachment 98355 [details]
stacktrace
Comment 2 Jaroslav Tulach 2010-05-03 17:14:26 UTC
Why P2? What happens when the code is executed without assertions?
Comment 3 Jesse Glick 2010-05-05 23:26:26 UTC
Created attachment 98529 [details]
stacktrace
Comment 4 Exceptions Reporter 2010-05-07 21:46:10 UTC
This bug already has 5 duplicates 
see http://statistics.netbeans.org/exceptions/detail.do?id=169003
Comment 5 emiddio 2010-05-10 22:55:20 UTC
Created attachment 98734 [details]
stacktrace

rename project -- folder only -- project name already renamed with earlier rename
Comment 6 emiddio 2010-05-10 23:01:20 UTC
Created attachment 98735 [details]
stacktrace
Comment 7 leonhad 2010-05-11 14:22:21 UTC
Created attachment 98774 [details]
stacktrace

Rename project
Comment 8 Jaroslav Tulach 2010-05-12 07:51:21 UTC
*** Bug 185800 has been marked as a duplicate of this bug. ***
Comment 9 Alexandr Scherbatiy 2010-05-12 12:55:25 UTC
Created attachment 98845 [details]
stacktrace

netbeans-trunk-nightly-201005112200-javafx-full-windows.exe 

Use the full NetBeans with JavaFX and Mobile modules 

Steps to reproduce:
To reproduce:
- create a new MobileApplication with all defaults
- in Projects tree select root node of the project and invoke Rename. Set new
project name, check 'Also Rename Project Folder', press Rename button
Comment 10 Exceptions Reporter 2010-05-12 12:55:35 UTC
This bug already has 10 duplicates 
see http://statistics.netbeans.org/exceptions/detail.do?id=169003
Comment 11 Jaroslav Tulach 2010-05-17 04:49:44 UTC
*** Bug 186186 has been marked as a duplicate of this bug. ***
Comment 12 Jaroslav Tulach 2010-05-17 04:56:57 UTC
*** Bug 186083 has been marked as a duplicate of this bug. ***
Comment 13 Jaroslav Tulach 2010-05-25 07:21:54 UTC
*** Bug 186149 has been marked as a duplicate of this bug. ***
Comment 14 Jaroslav Tulach 2010-05-25 07:27:10 UTC
*** Bug 186442 has been marked as a duplicate of this bug. ***
Comment 15 Jaroslav Tulach 2010-06-04 10:15:01 UTC
*** Bug 187079 has been marked as a duplicate of this bug. ***
Comment 16 Jaroslav Tulach 2010-06-15 21:50:01 UTC
Should be fixed after rewrite done due to bug 184854