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 234722 - 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: VERIFIED FIXED
Alias: None
Product: editor
Classification: Unclassified
Component: Refactoring (show other bugs)
Version: 7.4
Hardware: All All
: P2 normal (vote)
Assignee: Ralph Ruijs
URL:
Keywords:
: 238403 (view as bug list)
Depends on:
Blocks:
 
Reported: 2013-08-21 12:16 UTC by Jiri Prox
Modified: 2013-11-24 02:18 UTC (History)
3 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 203228


Attachments
stacktrace (3.59 KB, text/plain)
2013-08-21 12:16 UTC, Jiri Prox
Details
stacktrace (3.98 KB, text/plain)
2013-08-27 14:10 UTC, Jiri Prox
Details
stacktrace (3.78 KB, text/plain)
2013-10-17 13:28 UTC, Exceptions Reporter
Details
stacktrace (3.78 KB, text/plain)
2013-10-18 08:28 UTC, Exceptions Reporter
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jiri Prox 2013-08-21 12:16:20 UTC
Build: NetBeans IDE Dev (Build 201308182300)
VM: Java HotSpot(TM) 64-Bit Server VM, 24.0-b55, Java(TM) SE Runtime Environment, 1.7.0_40-b39
OS: Windows 8

User Comments:
jiriprox: CCE when calling inline




Stacktrace: 
java.lang.ClassCastException: org.netbeans.modules.masterfs.filebasedfs.fileobjects.FileObj cannot be cast to org.openide.loaders.DataObject
   at org.netbeans.modules.refactoring.spi.impl.UndoableWrapper$UndoableEditDelegate.<init>(UndoableWrapper.java:116)
   at org.netbeans.modules.refactoring.spi.impl.UndoableWrapper$UndoableEditDelegate.<init>(UndoableWrapper.java:106)
   at org.netbeans.modules.refactoring.spi.impl.UndoableWrapper.wrap(UndoableWrapper.java:85)
   at org.netbeans.editor.BaseDocument.fireUndoableEditUpdate(BaseDocument.java:1635)
   at org.netbeans.editor.BaseDocument.checkAndFireAtomicEdits(BaseDocument.java:2103)
   at org.netbeans.editor.BaseDocument.atomicUnlockImpl(BaseDocument.java:1765)
Comment 1 Jiri Prox 2013-08-21 12:16:21 UTC
Created attachment 138994 [details]
stacktrace
Comment 2 Jiri Prox 2013-08-27 14:10:12 UTC
Created attachment 139315 [details]
stacktrace

CCE when applying rule set in Inspect&Transform
Comment 3 Exceptions Reporter 2013-10-16 15:10:21 UTC
This bug already has 5 duplicates 
see http://statistics.netbeans.org/exceptions/detail.do?id=203228
Comment 4 Exceptions Reporter 2013-10-17 13:28:23 UTC
Created attachment 141208 [details]
stacktrace

performing source code inspection with "Inspect and Transform..."
Comment 5 Exceptions Reporter 2013-10-18 08:28:38 UTC
Created attachment 141242 [details]
stacktrace

was doing code inspection with "inspect and transform..."; selected "organise members" in one class
Comment 6 Ralph Ruijs 2013-11-15 12:08:05 UTC
changeset:   0aa7ad5eed91
user:        Ralph Benjamin Ruijs <ralphbenjamin@netbeans.org>
date:        Fri Nov 15 13:05:37 2013 +0100
summary:     #234722 - ClassCastException: org.netbeans.modules.masterfs.filebasedfs.fileobjects.FileObj cannot be cast to org.openide.loaders.DataObject
Comment 7 Ralph Ruijs 2013-11-15 12:08:41 UTC
*** Bug 238403 has been marked as a duplicate of this bug. ***
Comment 8 Jiri Prox 2013-11-15 15:51:57 UTC
verified in trunk
Comment 9 Ralph Ruijs 2013-11-15 16:03:44 UTC
0aa7ad5eed91 transplanted to e85802b54a7a
Comment 10 Quality Engineering 2013-11-24 02:18:29 UTC
Integrated into 'main-silver', will be available in build *201311240002* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/0aa7ad5eed91
User: Ralph Benjamin Ruijs <ralphbenjamin@netbeans.org>
Log: #234722 - ClassCastException: org.netbeans.modules.masterfs.filebasedfs.fileobjects.FileObj cannot be cast to org.openide.loaders.DataObject