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 232286 - org.openide.filesystems.FileStateInvalidException: C:\Users\User06\Projects\NetBeans\jEditProject\jEdit\installer\ConsoleInstall.java@bddbad0e:1078a69b[invalid]
Summary: org.openide.filesystems.FileStateInvalidException: C:\Users\User06\Projects\N...
Status: RESOLVED FIXED
Alias: None
Product: java
Classification: Unclassified
Component: Hints (show other bugs)
Version: 7.4
Hardware: All All
: P3 normal (vote)
Assignee: Jan Lahoda
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-07-04 21:23 UTC by MackSix
Modified: 2013-07-12 02:33 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 201918


Attachments
stacktrace (4.20 KB, text/plain)
2013-07-04 21:23 UTC, MackSix
Details
stacktrace (4.20 KB, text/plain)
2013-07-04 21:32 UTC, MackSix
Details

Note You need to log in before you can comment on or make changes to this bug.
Description MackSix 2013-07-04 21:23:31 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: 1. Run Refactor>>Inspect and Transform>>"If-Else statements should use braces" on project.
2. Delete project/ project directory through Project Window context menu.
3. Click Down Arrow on Refactoring Window.
This Exception Occurs.




Stacktrace: 
org.openide.filesystems.FileStateInvalidException: C:\Users\User06\Projects\NetBeans\jEditProject\jEdit\installer\ConsoleInstall.java@bddbad0e:1078a69b[invalid]
   at org.openide.loaders.DataObject.find(DataObject.java:555)
   at org.netbeans.api.java.source.ModificationResult.commit(ModificationResult.java:253)
   at org.netbeans.api.java.source.ModificationResult.getResultingSource(ModificationResult.java:482)
   at org.netbeans.modules.java.hints.spiimpl.refactoring.AbstractApplyHintsRefactoringPlugin$ModificationResultElement.getNewFileContent(AbstractApplyHintsRefactoringPlugin.java:334)
   at org.netbeans.modules.refactoring.spi.AccessorImpl.getNewFileContent(AccessorImpl.java:82)
   at org.netbeans.modules.refactoring.spi.impl.PreviewManager.refresh(PreviewManager.java:134)
Comment 1 MackSix 2013-07-04 21:23:33 UTC
Created attachment 136729 [details]
stacktrace
Comment 2 MackSix 2013-07-04 21:32:17 UTC
Created attachment 136730 [details]
stacktrace

This happens if Project is Moved too.

1. Run Refactor>>Inspect and Transform>>"If-Else statements should use
braces" on project.
2. Move Project Window context menu.
3. Click Down Arrow on Refactoring Window.
This Exception Occurs.
Comment 3 Jan Lahoda 2013-07-09 15:12:46 UTC
http://hg.netbeans.org/jet-main/rev/4e2a7e573db6
Comment 4 Quality Engineering 2013-07-12 02:33:12 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/4e2a7e573db6
User: Jan Lahoda <jlahoda@netbeans.org>
Log: #232286: proper categorization of exceptions that cannot be solved.