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 203426 - org.openide.filesystems.FileStateInvalidException: C:\Documents and Settings\Administrator\My Documents\NetBeansProjects\JoshieGeekFX\src\org\jgfx\StandardButtonJGFX.java@e34d585e:cfbcac[invalid]
Summary: org.openide.filesystems.FileStateInvalidException: C:\Documents and Settings\...
Status: RESOLVED WORKSFORME
Alias: None
Product: java
Classification: Unclassified
Component: Hints (show other bugs)
Version: 7.1
Hardware: All All
: P3 normal (vote)
Assignee: Jan Lahoda
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-10-10 11:03 UTC by Exceptions Reporter
Modified: 2012-10-25 13:35 UTC (History)
15 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 181212


Attachments
stacktrace (4.03 KB, text/plain)
2011-10-10 11:03 UTC, Exceptions Reporter
Details
stacktrace (3.95 KB, text/plain)
2011-10-10 20:38 UTC, muellermi
Details
stacktrace (3.99 KB, text/plain)
2011-10-12 09:53 UTC, michal.owsiak
Details
stacktrace (4.01 KB, text/plain)
2011-10-12 21:44 UTC, javydreamercsw
Details
stacktrace (4.03 KB, text/plain)
2011-10-14 08:59 UTC, muellermi
Details
stacktrace (3.96 KB, text/plain)
2011-10-16 10:41 UTC, host
Details
stacktrace (3.95 KB, text/plain)
2011-10-26 15:32 UTC, Jiri Skrivanek
Details
stacktrace (3.99 KB, text/plain)
2011-10-28 05:20 UTC, MackSix
Details
stacktrace (3.99 KB, text/plain)
2011-10-28 05:50 UTC, ceklock
Details
stacktrace (3.93 KB, text/plain)
2011-10-28 14:11 UTC, swpalmer
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Exceptions Reporter 2011-10-10 11:03:45 UTC
Build: NetBeans IDE 7.1 Beta (Build 201109252201)
VM: Java HotSpot(TM) Client VM, 21.0-b17, Java(TM) SE Runtime Environment, 1.7.0-b147
OS: Windows XP

User Comments:
GUEST: Renaming Project

GUEST: I was deleting my JavaSE project. And this exception was shown.

williambacchi: I made something weird.

I changed a dir name in project path and then I closed the project

GUEST: deleted project?




Stacktrace: 
org.openide.filesystems.FileStateInvalidException: C:\Documents and Settings\Administrator\My Documents\NetBeansProjects\JoshieGeekFX\src\org\jgfx\StandardButtonJGFX.java@e34d585e:cfbcac[invalid]
   at org.openide.loaders.DataObject.find(DataObject.java:517)
   at org.netbeans.api.java.source.WorkingCopy$Rewriter.<init>(WorkingCopy.java:659)
   at org.netbeans.api.java.source.WorkingCopy.processCurrentCompilationUnit(WorkingCopy.java:516)
   at org.netbeans.api.java.source.WorkingCopy.getChanges(WorkingCopy.java:630)
   at org.netbeans.api.java.source.ModificationResult$1.run(ModificationResult.java:143)
   at org.netbeans.modules.parsing.impl.TaskProcessor.callUserTask(TaskProcessor.java:649)
Comment 1 Exceptions Reporter 2011-10-10 11:03:49 UTC
Created attachment 111766 [details]
stacktrace
Comment 2 muellermi 2011-10-10 20:38:17 UTC
Created attachment 111811 [details]
stacktrace

Deleting project
Comment 3 Jaroslav Tulach 2011-10-12 09:16:44 UTC
user admits he is deleting project. Throwing FileNotFoundEx is natural in such case. Caller of FS API needs to handle the case gracefully.
Comment 4 michal.owsiak 2011-10-12 09:53:29 UTC
Created attachment 111925 [details]
stacktrace

This error occured after deleting entire project from the Projects.
Comment 5 javydreamercsw 2011-10-12 21:44:31 UTC
Created attachment 111953 [details]
stacktrace

Deleting a source file. (right click>Delete)
Comment 6 muellermi 2011-10-14 08:59:37 UTC
Created attachment 112044 [details]
stacktrace

Deleting application, including sources
Comment 7 host 2011-10-16 10:41:42 UTC
Created attachment 112095 [details]
stacktrace
Comment 8 Jiri Skrivanek 2011-10-26 15:32:38 UTC
Created attachment 112469 [details]
stacktrace

Happened while deleting java project with all sources.
Comment 9 MackSix 2011-10-28 05:20:42 UTC
Created attachment 112519 [details]
stacktrace

Deleted a Project with Master/Detail Form.
Comment 10 ceklock 2011-10-28 05:50:42 UTC
Created attachment 112521 [details]
stacktrace

Refactor > move
Comment 11 swpalmer 2011-10-28 14:11:44 UTC
Created attachment 112537 [details]
stacktrace

Deleted a newly created project and selected the option to delete all the project files.
Comment 12 Jan Lahoda 2012-10-25 13:35:10 UTC
All reports appear to be from around NB 7.1 beta, and the code looks very different now, so probably does not happen anymore.