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 239191 - ClassCastException: org.netbeans.modules.masterfs.filebasedfs.fileobjects.FileObj cannot be cast to org.openide.loaders.DataObject
Summary: ClassCastException: org.netbeans.modules.masterfs.filebasedfs.fileobjects.Fil...
Status: RESOLVED WONTFIX
Alias: None
Product: java
Classification: Unclassified
Component: Refactoring (show other bugs)
Version: 8.0
Hardware: All All
: P4 normal (vote)
Assignee: Ralph Ruijs
URL:
Keywords:
: 238590 (view as bug list)
Depends on:
Blocks: 215138
  Show dependency tree
 
Reported: 2013-12-06 12:36 UTC by Jiri Prox
Modified: 2016-07-07 07:17 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 205835


Attachments
stacktrace (6.16 KB, text/plain)
2013-12-06 12:36 UTC, Jiri Prox
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jiri Prox 2013-12-06 12:36:52 UTC
Build: NetBeans IDE Dev (Build 20131205-8d1f275229d9)
VM: Java HotSpot(TM) 64-Bit Server VM, 25.0-b49, Java(TM) SE Runtime Environment, 1.8.0-ea-b107
OS: Windows 7

User Comments:
jiriprox: Invoking rename when background scanning is running




Stacktrace: 
java.lang.ClassCastException: org.netbeans.modules.masterfs.filebasedfs.fileobjects.FileObj cannot be cast to org.openide.loaders.DataObject
   at org.netbeans.modules.refactoring.java.plugins.InstantRefactoringPerformer$UndoableWrapper$UndoableEditDelegate.<init>(InstantRefactoringPerformer.java:870)
   at org.netbeans.modules.refactoring.java.plugins.InstantRefactoringPerformer$UndoableWrapper$UndoableEditDelegate.<init>(InstantRefactoringPerformer.java:862)
   at org.netbeans.modules.refactoring.java.plugins.InstantRefactoringPerformer$UndoableWrapper.wrap(InstantRefactoringPerformer.java:838)
   at org.netbeans.editor.BaseDocument.fireUndoableEditUpdate(BaseDocument.java:1636)
   at org.netbeans.editor.BaseDocument.checkAndFireAtomicEdits(BaseDocument.java:2103)
   at org.netbeans.editor.BaseDocument.atomicUnlockImpl(BaseDocument.java:1765)
Comment 1 Jiri Prox 2013-12-06 12:36:53 UTC
Created attachment 142902 [details]
stacktrace
Comment 2 Ralph Ruijs 2014-01-07 23:16:52 UTC
The instant rename popup has been disabled in 8.0 (bug 215138, comment 7)
Comment 3 Ralph Ruijs 2014-01-07 23:38:00 UTC
*** Bug 238590 has been marked as a duplicate of this bug. ***
Comment 4 Martin Balin 2016-07-07 07:17:04 UTC
This old bug may not be relevant anymore. If you can still reproduce it in 8.2 development builds please reopen this issue.

Thanks for your cooperation,
NetBeans IDE 8.2 Release Boss