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 203384 - [71cat] AssertionError: Should be a folder: C:\Users\Saptarshi\Documents\NetBeansProjects\WebApp\build\WEB-INF\classes\webapp@e1dd8a31:23fda199
Summary: [71cat] AssertionError: Should be a folder: C:\Users\Saptarshi\Documents\NetB...
Status: RESOLVED DUPLICATE of bug 204849
Alias: None
Product: platform
Classification: Unclassified
Component: Filesystems (show other bugs)
Version: 7.0
Hardware: All All
: P3 normal (vote)
Assignee: Jaroslav Tulach
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-10-09 07:17 UTC by sunbiz
Modified: 2011-11-21 14:10 UTC (History)
3 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 181331


Attachments
stacktrace (2.44 KB, text/plain)
2011-10-09 07:17 UTC, sunbiz
Details
Log of error. (42.55 KB, application/octet-stream)
2011-11-15 06:40 UTC, MackSix
Details

Note You need to log in before you can comment on or make changes to this bug.
Description sunbiz 2011-10-09 07:17:50 UTC
Build: NetBeans IDE Dev (Build 201110030601)
VM: Java HotSpot(TM) 64-Bit Server VM, 20.2-b06, Java(TM) SE Runtime Environment, 1.6.0_27-b07
OS: Windows 7

User Comments:
sunbiz: Renaming a JavaCard project does not work correct. It throws the exception when renaming a project and its folder




Stacktrace: 
java.lang.AssertionError: Should be a folder: C:\Users\Saptarshi\Documents\NetBeansProjects\WebApp\build\WEB-INF\classes\webapp@e1dd8a31:23fda199
   at org.netbeans.modules.masterfs.watcher.Watcher$Ext.unregister(Watcher.java:247)
   at org.netbeans.modules.masterfs.watcher.Watcher.unregister(Watcher.java:130)
   at org.netbeans.modules.masterfs.filebasedfs.fileobjects.BaseFileObj.removeFileChangeListener(BaseFileObj.java:508)
   at org.openide.filesystems.FileUtil$Holder.locateCurrent(FileUtil.java:434)
   at org.openide.filesystems.FileUtil$Holder.someChange(FileUtil.java:454)
   at org.openide.filesystems.FileUtil$Holder.fileDeleted(FileUtil.java:493)
Comment 1 sunbiz 2011-10-09 07:17:54 UTC
Created attachment 111723 [details]
stacktrace
Comment 2 Jaroslav Tulach 2011-10-12 08:32:07 UTC
Changeset: a04d0c29dde2
Author:    Jaroslav Tulach <jtulach@netbeans.org>
Date:      2011-10-12 10:31
Message:   Very likely the folder was deleted meanwhile
Issue #203384 - [71cat] AssertionError: Should be a folder: C:\Users\Saptarshi\Documents\NetBeansProjects\WebApp\build\WEB-INF\classes\webapp@e1dd8a31:23fda199
Comment 3 Quality Engineering 2011-10-15 14:50:09 UTC
Integrated into 'main-golden'
Changeset: http://hg.netbeans.org/main-golden/rev/a04d0c29dde2
User: Jaroslav Tulach <jtulach@netbeans.org>
Log: Very likely the folder was deleted meanwhile
Issue #203384 - [71cat] AssertionError: Should be a folder: C:\Users\Saptarshi\Documents\NetBeansProjects\WebApp\build\WEB-INF\classes\webapp@e1dd8a31:23fda199
Comment 4 MackSix 2011-11-15 06:30:35 UTC
This still occurs. 

See http://statistics.netbeans.org/analytics/exception.do?id=542652
Comment 5 MackSix 2011-11-15 06:40:55 UTC
Created attachment 113213 [details]
Log of error.

Sometimes this error occurs and the exception reporter just flashes on the screen and goes away, but the error is recorded in the log. This is a log of one of those occurrences.
Comment 6 MackSix 2011-11-15 06:42:30 UTC
This always occurs for me when renaming a Project with folder renaming option.
Comment 7 MackSix 2011-11-18 13:02:59 UTC
Regression - P1
Comment 8 Jaroslav Tulach 2011-11-21 11:48:48 UTC
Just an assert. Disable assertions and you'll be OK.
Comment 9 Jaroslav Tulach 2011-11-21 14:10:19 UTC

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