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 149764 - ClassCastException: org.netbeans.modules.java.hints.introduce.IntroduceAction$GlobalAction cannot be cast to javax.swing.Action
Summary: ClassCastException: org.netbeans.modules.java.hints.introduce.IntroduceAction...
Status: RESOLVED FIXED
Alias: None
Product: java
Classification: Unclassified
Component: Hints (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker with 2 votes (vote)
Assignee: Jan Lahoda
URL: http://statistics.netbeans.org/except...
Keywords:
: 149765 153494 (view as bug list)
Depends on:
Blocks:
 
Reported: 2008-10-10 13:38 UTC by Lukas Hasik
Modified: 2010-04-29 11:16 UTC (History)
5 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 74994


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Lukas Hasik 2008-10-10 13:38:19 UTC
20 duplicates that are hidden under http://statistics.netbeans.org/analytics/detail.do?id=7452 and I'm lazy to correct
it now


Build: NetBeans IDE Dev (Build 200807101204)
VM: Java HotSpot(TM) Client VM, 10.0-b19, Java(TM) SE Runtime Environment, 1.6.0_05-b13
OS: Windows XP, 5.1, x86
User comments: Happens on startup. I have all the Scala modules installed, and am using the Intelli-J keymap.
STACKTRACE: (first 10 lines)
java.lang.ClassCastException: org.netbeans.modules.java.hints.introduce.IntroduceAction$GlobalAction cannot be cast to
javax.swing.Action
        at org.netbeans.core.ShortcutsFolder.readShortcuts(ShortcutsFolder.java:165)
        at org.netbeans.core.ShortcutsFolder.refresh(ShortcutsFolder.java:148)
        at org.netbeans.core.ShortcutsFolder.<init>(ShortcutsFolder.java:114)
        at org.netbeans.core.ShortcutsFolder.initShortcuts(ShortcutsFolder.java:92)
        at org.netbeans.core.NonGui.initializeMainWindow(NonGui.java:151)
        at org.netbeans.core.NonGui.run(NonGui.java:103)
        at org.netbeans.core.startup.Main.start(Main.java:324)
        at org.netbeans.core.startup.TopThreadGroup.run(TopThreadGroup.java:110)
        at java.lang.Thread.run(Thread.java:619)
Comment 1 Max Sauer 2008-10-14 09:43:44 UTC
IntroduceAction$GlobalAction really cannot be cast to swing Action. I'll investigate possibilities for 7.0.
Comment 2 Max Sauer 2008-11-26 12:27:31 UTC
*** Issue 153494 has been marked as a duplicate of this issue. ***
Comment 3 Jiri Rechtacek 2008-12-09 10:59:25 UTC
*** Issue 149765 has been marked as a duplicate of this issue. ***
Comment 4 Jan Lahoda 2010-04-29 11:16:01 UTC
The GlobalAction in IntroduceAction does not exist anymore, and all the reports are from 6.5, so presumably fixed since then.