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 204235

Summary: [71cat] [71cat] org.openide.filesystems.FileStateInvalidException: D:\Dokumente\NetBeansProjects\JavaApplication2\src\javaapplication2\JavaApplication2.java@2f6a5149:40f444ff[invalid]
Product: java Reporter: muellermi <muellermi>
Component: HintsAssignee: Jan Lahoda <jlahoda>
Status: RESOLVED FIXED    
Severity: normal CC: dbell, finkers, hmichel, jeff_rubinoff, MackSix
Priority: P3    
Version: 7.0   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter: 181606
Attachments: stacktrace
stacktrace
stacktrace

Description muellermi 2011-10-25 20:21:04 UTC
Build: NetBeans IDE Dev (Build 201110240600)
VM: Java HotSpot(TM) 64-Bit Server VM, 21.0-b17, Java(TM) SE Runtime Environment, 1.7.0-b147
OS: Windows 7

User Comments:
jeff_rubinoff: Deleting a JavaFX project with FXML

muellermi: deleting test project

MackSix: Renamed a Package in a Java Application.
I should add that it was a Project which was initialized as a Mercurial repostory.

finkers: deleting test class from project




Stacktrace: 
org.openide.filesystems.FileStateInvalidException: D:\Dokumente\NetBeansProjects\JavaApplication2\src\javaapplication2\JavaApplication2.java@2f6a5149:40f444ff[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:643)
Comment 1 muellermi 2011-10-25 20:21:08 UTC
Created attachment 112426 [details]
stacktrace
Comment 2 Michel Graciano 2011-10-26 21:02:39 UTC
Created attachment 112476 [details]
stacktrace

Removing a test package, with a file, from NetBeans Subversion project
Comment 3 dbell 2011-11-01 14:09:09 UTC
Created attachment 112671 [details]
stacktrace

Deleted project
Comment 4 Jaroslav Tulach 2011-11-04 12:51:24 UTC
Probably the parsing API could annotate the exception and give it lower attachSeverity? It obviously can happen that parsing and remove of a package can conflict.
Comment 6 Quality Engineering 2011-11-07 15:47:01 UTC
Integrated into 'main-golden'
Changeset: http://hg.netbeans.org/main-golden/rev/6491ee5d5cd6
User: Jan Lahoda <jlahoda@netbeans.org>
Log: #204235: file may become invalid at any time.