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 212133 - AssertionError: If valid, it should be a folder: C:\Users\Mark\Documents\NetBeansProjects\BeansBindingTest\build\classes@9d7c2843:101de8f
Summary: AssertionError: If valid, it should be a folder: C:\Users\Mark\Documents\NetB...
Status: RESOLVED WORKSFORME
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-05-05 22:00 UTC by MackSix
Modified: 2012-05-19 09:56 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 187686


Attachments
stacktrace (7.92 KB, text/plain)
2012-05-05 22:00 UTC, MackSix
Details

Note You need to log in before you can comment on or make changes to this bug.
Description MackSix 2012-05-05 22:00:18 UTC
This bug was originally marked as duplicate of bug 209886, 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 201205050400)
VM: Java HotSpot(TM) Client VM, 23.0-b21, Java(TM) SE Runtime Environment, 1.7.0_04-b20
OS: Windows Vista

User Comments:
MackSix: Changed name of project and package a few times (with refactoring) and ran the project. Everything seemed ok. I renamed project and package back to original names. I did a clean and build and was looking at files tab and noticed that under the "build" directory, no "classes" directory showed. I did another clean and build and still no "classes" directory. I looked in the location with windows file explorer and the "classes" directory was there. I switched to project view in NetBeans and this happened.




Stacktrace: 
java.lang.AssertionError: If valid, it should be a folder: C:\Users\Mark\Documents\NetBeansProjects\BeansBindingTest\build\classes@9d7c2843:101de8f
   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.locateCurrent(FileUtil.java:464)
   at org.openide.filesystems.FileUtil$Holder.someChange(FileUtil.java:484)
   at org.openide.filesystems.FileUtil$Holder.fileDeleted(FileUtil.java:523)
Comment 1 MackSix 2012-05-05 22:00:23 UTC
Created attachment 119125 [details]
stacktrace
Comment 2 Jaroslav Tulach 2012-05-18 14:31:39 UTC
More logging in ergonomics#fbdf945a1f3f
Comment 3 Quality Engineering 2012-05-19 09:56:38 UTC
Integrated into 'main-golden', will be available in build *201205190400* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/fbdf945a1f3f
User: Jaroslav Tulach <jtulach@netbeans.org>
Log: #212133: Print out type of the file object