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 213348 - AssertionError: If valid, it should be a folder: D:\Mis documentos\NetBeansProjects\Encoder V2.0\build\classes\co\avsoft\encoder@9f58c1ee:1fa6bbb
Summary: AssertionError: If valid, it should be a folder: D:\Mis documentos\NetBeansPr...
Status: RESOLVED DUPLICATE of bug 212891
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-31 22:25 UTC by Exceptions Reporter
Modified: 2012-06-01 12:57 UTC (History)
6 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 188768


Attachments
stacktrace (2.46 KB, text/plain)
2012-05-31 22:25 UTC, Exceptions Reporter
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Exceptions Reporter 2012-05-31 22:25:43 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 201205180400)
VM: Java HotSpot(TM) Client VM, 23.0-b21, Java(TM) SE Runtime Environment, 1.7.0_04-b22
OS: Windows 7

User Comments:
MackSix: 7.1 RC1 - Had already changed the name of the Project with Folder and Package with refactoring a couple of times. Did it again and this happened.

GUEST: Compiling project

MackSix: Renamed Java Package.
Correction: Renamed Java Project.

GUEST: twice rename project

GUEST: renaming a project

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

GUEST: Went to exit an application that had thrown an out of memory error.

GUEST: renaming a project that had the same name as another open project

GUEST: editing a class

greggwon: Just building the current project.  background processing probably got caught with it's hand in the cookie jar, mucking with stuff and slowing down the build.

GUEST: Renombrando un proyecto

narsereg: Try to rename project and its folder.

MackSix: Exception Reporter Test

MackSix: This bug still occurs. Renaming a project with folder.

GUEST: I renamed a project including the project directory name with Netbeans

MackSix: Went through the proceedure again with project that ran ok before renaming Project and Package.

MackSix: This still occurs. Rename Project wih folder option then rename Package with refactor option and then try to run the project. Also, the output window says: Error: Could not find or load main class javaapplication12.JavaApplication1
Java Result: 1

yeradis: changing name to a proyecto, also checked folder renaming

GUEST: Renamed a newly created EE Client.

MackSix: Renaming project and project folder in the Projects window.




Stacktrace: 
java.lang.AssertionError: If valid, it should be a folder: D:\Mis documentos\NetBeansProjects\Encoder V2.0\build\classes\co\avsoft\encoder@9f58c1ee:1fa6bbb
   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 Exceptions Reporter 2012-05-31 22:25:49 UTC
Created attachment 120165 [details]
stacktrace
Comment 2 Jaroslav Tulach 2012-06-01 12:57:11 UTC

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