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 210610 - AssertionError: If valid, it should be a folder: C:\Users\Mark\Documents\NetBeansProjects\JavaApplication20\build\classes\javaapplication18@1626cf6e:117ae20
Summary: AssertionError: If valid, it should be a folder: C:\Users\Mark\Documents\NetB...
Status: RESOLVED DUPLICATE of bug 209886
Alias: None
Product: platform
Classification: Unclassified
Component: Filesystems (show other bugs)
Version: 7.2
Hardware: All All
: P3 normal (vote)
Assignee: Jaroslav Tulach
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-04-03 11:38 UTC by MackSix
Modified: 2012-04-04 15:13 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 186600


Attachments
stacktrace (604 bytes, text/plain)
2012-04-03 11:38 UTC, MackSix
Details

Note You need to log in before you can comment on or make changes to this bug.
Description MackSix 2012-04-03 11:38:50 UTC
This bug was originally marked as duplicate of bug 204849, 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 201204021038)
VM: Java HotSpot(TM) Client VM, 22.1-b02, Java(TM) SE Runtime Environment, 1.7.0_03-b05
OS: Windows Vista

User Comments:
MackSix: I had just been editing another one that is open in another tab and did UNDO on it several times. I opened up another document, looked at it, then looked at another document already open and this occured.




Stacktrace: 
java.lang.AssertionError: If valid, it should be a folder: C:\Users\Mark\Documents\NetBeansProjects\JavaApplication20\build\classes\javaapplication18@1626cf6e:117ae20
   at org.netbeans.modules.masterfs.watcher.Watcher$Ext.unregister(Watcher.java:248)
   at org.netbeans.modules.masterfs.watcher.Watcher.unregister(Watcher.java:127)
   at org.netbeans.modules.masterfs.filebasedfs.fileobjects.BaseFileObj.removeFileChangeListener(BaseFileObj.java:519)
   at org.openide.filesystems.FileUtil$Holder.run(FileUtil.java:561)
   at org.openide.util.lookup.implspi.ActiveQueue$Daemon.run(ActiveQueue.java:185)
Comment 1 MackSix 2012-04-03 11:38:51 UTC
Created attachment 117730 [details]
stacktrace
Comment 2 MackSix 2012-04-03 11:48:00 UTC
This was a project I had changed Name/Folder Name and Package Name on the day before and it was still open and running in NetBeans. So it most likely is related to these two bugs:

http://netbeans.org/bugzilla/show_bug.cgi?id=210311

http://netbeans.org/bugzilla/show_bug.cgi?id=209886

Package javaapplication18 was named javaapplication19 when the AssertionError occurred, so somehow NetBeans was still looking for package javaapplication18.
Comment 3 Jaroslav Tulach 2012-04-04 15:13:33 UTC

*** This bug has been marked as a duplicate of bug 209886 ***