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.
Summary: | ClassCastException: org.netbeans.modules.viewmodel.TreeModelNode$MyProperty cannot be cast to org.openide.explorer.view.VisualizerNode | ||
---|---|---|---|
Product: | platform | Reporter: | Alexander Pepin <apepin> |
Component: | Outline&TreeTable | Assignee: | Jiri Rechtacek <jrechtacek> |
Status: | VERIFIED FIXED | ||
Severity: | normal | CC: | mentlicher, sustaining |
Priority: | P2 | ||
Version: | 6.x | ||
Hardware: | All | ||
OS: | All | ||
Issue Type: | DEFECT | Exception Reporter: | 163753 |
Attachments: | stacktrace |
Description
Alexander Pepin
2009-12-18 07:15:34 UTC
Created attachment 92758 [details]
stacktrace
This happens in all debugging windows. IMO it should be fixed in 6.8 patch 1. Martin, do you know this problem? I have not seen this yet. It was introduced by the fix of bug #174433. It looks like the condition "if (column == 0) {" is wrong. When the nodes column is not the first one, it does not work. The correct would be to call Outline.isTreeColumnIndex(column) which would need to be protected, or something like that... core-main/rev/5d8dadca6600 core-main/rev/5d8dadca6600 Integrated into 'main-golden', will be available in build *200912220201* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main/rev/5d8dadca6600 User: Jiri Rechtacek <jrechtacek@netbeans.org> Log: #178852: ClassCastException: org.netbeans.modules.viewmodel.TreeModelNode$MyProperty cannot be cast to org.openide.explorer.view.VisualizerNode was not able to reproduce using those steps in Product Version: NetBeans IDE Dev (Build 201001150201) Java: 1.6.0_17; Java HotSpot(TM) 64-Bit Server VM 14.3-b01-101 System: Mac OS X version 10.6.2 running on x86_64; MacRoman; en_US (nb) Userdir: /Users/tomas/.netbeans/dev Verified. The fix has been ported into the release68_fixes repository. http://hg.netbeans.org/release68_fixes/rev/790fdc18f866 verified in patch1 build 20100128 |