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.
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)
Created attachment 105695 [details] stacktrace
It looks like there are 2 valid FileObjects for one file on disk.
*** This bug has been marked as a duplicate of bug 184854 ***