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 232288

Summary: org.openide.filesystems.FileStateInvalidException: C:\Users\User06\Projects\jEditProject\jEdit\installer\CBZip2InputStream.java@2bfd3868:72798dd[invalid]
Product: editor Reporter: MackSix
Component: Hints & AnnotationsAssignee: Jan Lahoda <jlahoda>
Status: RESOLVED FIXED    
Severity: normal    
Priority: P3    
Version: 7.4   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter: 201919
Attachments: stacktrace

Description MackSix 2013-07-04 21:38:34 UTC
Build: NetBeans IDE Dev (Build 201307032300)
VM: Java HotSpot(TM) 64-Bit Server VM, 23.25-b01, Java(TM) SE Runtime Environment, 1.7.0_25-b16
OS: Windows 7

User Comments:
MackSix: This also happens with Source>>Inspect>>FindBugs if Project is Moved or Deleted from Project Window context menu.




Stacktrace: 
org.openide.filesystems.FileStateInvalidException: C:\Users\User06\Projects\jEditProject\jEdit\installer\CBZip2InputStream.java@2bfd3868:72798dd[invalid]
   at org.openide.loaders.DataObject.find(DataObject.java:555)
   at org.netbeans.modules.analysis.ui.Nodes.openErrorDescription(Nodes.java:696)
   at org.netbeans.modules.analysis.ui.Nodes$OpenErrorDescription.open(Nodes.java:689)
   at org.netbeans.modules.analysis.ui.NextError.actionPerformed(NextError.java:108)
   at org.netbeans.modules.analysis.ui.AnalysisResultTopComponent.nextErrorActionPerformed(AnalysisResultTopComponent.java:323)
   at org.netbeans.modules.analysis.ui.AnalysisResultTopComponent.access$600(AnalysisResultTopComponent.java:103)
Comment 1 MackSix 2013-07-04 21:38:36 UTC
Created attachment 136731 [details]
stacktrace
Comment 2 MackSix 2013-07-04 21:43:03 UTC
1. Run Source>>Inspect>>FindBugs on project.
2. Move project via Project Window context menu.
3. Click Down Arrow on Inspector Window.
This Exception Occurs.
Comment 3 MackSix 2013-07-04 21:45:09 UTC
Also happens if Project is deleted.

1. Run Source>>Inspect>>FindBugs on project.
2. Delete project/ project direcotry via Project Window context menu.
3. Click Down Arrow on Inspector Window.
This Exception Occurs.
Comment 4 Jan Lahoda 2013-07-09 15:07:02 UTC
Fixed:
http://hg.netbeans.org/jet-main/rev/fe057cc6f82b
Comment 5 Quality Engineering 2013-07-12 02:31:27 UTC
Integrated into 'main-silver', will be available in build *201307112300* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/fe057cc6f82b
User: Jan Lahoda <jlahoda@netbeans.org>
Log: #232288: show a nicer warning when the target file cannot be open.