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 195116 - 2 FileObjects for one File
Summary: 2 FileObjects for one File
Status: RESOLVED DUPLICATE of bug 184854
Alias: None
Product: platform
Classification: Unclassified
Component: Filesystems (show other bugs)
Version: 6.x
Hardware: All All
: P3 normal (vote)
Assignee: Jaroslav Tulach
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-02-07 06:41 UTC by hellochar
Modified: 2011-02-07 12:06 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 176492


Attachments
stacktrace (5.30 KB, text/plain)
2011-02-07 06:41 UTC, hellochar
Details

Note You need to log in before you can comment on or make changes to this bug.
Description hellochar 2011-02-07 06:41:18 UTC
Build: NetBeans IDE Dev (Build nbms-and-javadoc-6274-on-101206)
VM: Java HotSpot(TM) 64-Bit Server VM, 19.0-b09, Java(TM) SE Runtime Environment, 1.6.0_23-b05
OS: Windows 7

User Comments:
hellochar: attempted Extract Supertype from refactor




Stacktrace: 
java.lang.IllegalArgumentException: TreePathHandle [C:\Users\hellochar\Documents\dev\NetBeansIntelliJ\ThoughtBubbles\src\base\feature\FanOut.java] was not created from C:\Users\hellochar\Documents\dev\NetBeansIntelliJ\ThoughtBubbles\src\base\feature\FanOut.java
mine: id=MasterFileObject[C:\Users\hellochar\Documents\dev\NetBeansIntelliJ\ThoughtBubbles\src\base\feature\FanOut.java@5f242a67:27c0dbb,valid=true], url=file:/C:/Users/hellochar/Documents/dev/NetBeansIntelliJ/ThoughtBubbles/src/base/feature/FanOut.java
remote: id=MasterFileObject[C:\Users\hellochar\Documents\dev\NetBeansIntelliJ\ThoughtBubbles\src\base\feature\FanOut.java@5f242a67:69b92fd3,valid=true], url=file:/C:/Users/hellochar/Documents/dev/NetBeansIntelliJ/ThoughtBubbles/src/base/feature/FanOut.java
   at org.netbeans.api.java.source.TreePathHandle$TreeDelegate.resolve(TreePathHandle.java:419)
   at org.netbeans.api.java.source.TreePathHandle.resolve(TreePathHandle.java:149)
   at org.netbeans.modules.refactoring.java.ui.ExtractSuperclassRefactoringUI.create(ExtractSuperclassRefactoringUI.java:75)
   at org.netbeans.modules.refactoring.java.ui.JavaRefactoringActionsProvider$4.createRefactoringUI(JavaRefactoringActionsProvider.java:155)
   at org.netbeans.modules.refactoring.java.ui.RefactoringActionsProvider$TextComponentTask.run(RefactoringActionsProvider.java:788)
   at org.netbeans.modules.refactoring.java.ui.RefactoringActionsProvider$TextComponentTask.run(RefactoringActionsProvider.java:722)
Comment 1 hellochar 2011-02-07 06:41:23 UTC
Created attachment 105695 [details]
stacktrace
Comment 2 Jan Becicka 2011-02-07 08:57:56 UTC
It looks like there are 2 valid FileObjects for one file on disk.
Comment 3 Jaroslav Tulach 2011-02-07 12:06:33 UTC

*** This bug has been marked as a duplicate of bug 184854 ***