Please use the Apache issue tracking system for new NetBeans issues (https://issues.apache.org/jira/projects/NETBEANS0/issues) !!
Bug 204235 - [71cat] [71cat] org.openide.filesystems.FileStateInvalidException: D:\Dokumente\NetBeansProjects\JavaApplication2\src\javaapplication2\JavaApplication2.java@2f6a5149:40f444ff[invalid]
[71cat] [71cat] org.openide.filesystems.FileStateInvalidException: D:\Dokumen...
Status: RESOLVED FIXED
Product: java
Classification: Unclassified
Component: Hints
7.0
All All
: P3 (vote)
: 7.1
Assigned To: Jan Lahoda
issues@java
EXCEPTIONS_REPORT
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2011-10-25 20:21 UTC by muellermi
Modified: 2011-11-07 15:47 UTC (History)
5 users (show)

See Also:
Issue Type: DEFECT
:


Attachments
stacktrace (4.06 KB, text/plain)
2011-10-25 20:21 UTC, muellermi
Details
stacktrace (4.14 KB, text/plain)
2011-10-26 21:02 UTC, Michel Graciano
Details
stacktrace (4.06 KB, text/plain)
2011-11-01 14:09 UTC, dbell
Details

Note You need to log in before you can comment on or make changes to this bug.
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.


By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2014, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo