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 20111031-1f97da8e2d49) VM: Java HotSpot(TM) Server VM, 20.4-b02, Java(TM) SE Runtime Environment, 1.6.0_29-b11 OS: SunOS User Comments: vv159170: Tools->Options->Fonts&Colors, change item in Language combo GUEST: What I was doing at the moment when this happened, was just setting a new theme and playing with the colors. GUEST: Opening a .cpp file from the Projects panel Stacktrace: java.lang.IllegalArgumentException: java.lang.ClassCastException@18bb555 at sun.reflect.GeneratedMethodAccessor56.invoke(GeneratedMethodAccessor56.java:0) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.openide.util.WeakListenerImpl$ListenerReference.run(WeakListenerImpl.java:599) at org.openide.util.lookup.implspi.ActiveQueue$Impl.run(ActiveQueue.java:109) at java.lang.Thread.run(Thread.java:662)
Created attachment 112589 [details] stacktrace
Core guys please reassign accurately, thanks in advance.
Created attachment 112601 [details] stacktrace IAE when changing color setting (userdir imported from 6.9.1)
Jardo, any clue why this is not caught in the catch block inside ActiveQueue$Impl.run()? Does the exception mean someone put something in the queue which is not Runnable? Any way to tell the culprit?
I had never imported any settings...
Created attachment 112651 [details] stacktrace Going to Tools|Options|Fonts&Colors|Syntax, changed language to Cascading Style Sheet and focusing randomly items in Category
*** Bug 204482 has been marked as a duplicate of this bug. ***
Created attachment 112763 [details] stacktrace went through items in coloring preferences
MackSix: Tools>>Options>>Fonts & Colors>>Syntax tab>>Category: Click up each category one at a time from bottom and this exception is thrown. Choose items in Language combo box one at a time and this exception is thrown. This is repeatable. Product Version: NetBeans IDE Dev (Build 201111110600) Java: 1.7.0_01; Java HotSpot(TM) Client VM 21.1-b02 System: Windows Vista version 6.0 running on x86; Cp1252; en_US (nb)
Problem encountered while calling class org.netbeans.modules.editor.lib2.highlighting.SyntaxHighlighting$FCSInfo.removeChangeListener(...) on class org.netbeans.modules.editor.lib2.highlighting.SyntaxHighlighting$FCSInfo
Changeset: 00c46090d629 Author: Svata Dedic <sdedic@netbeans.org> Date: 2011-11-14 16:43 Message: #204432: Events must carry correct source object otherwise WeakListener support may fail. Issue #204432 - editor.lib2.highlighting.SyntaxHighlighting: IllegalArgumentException & ClassCastException@18bb555: fixed
Integrated into 'main-golden' Changeset: http://hg.netbeans.org/main-golden/rev/00c46090d629 User: Svata Dedic <sdedic@netbeans.org> Log: #204432: Events must carry correct source object otherwise WeakListener support may fail. Issue #204432 - editor.lib2.highlighting.SyntaxHighlighting: IllegalArgumentException & ClassCastException@18bb555: fixed
verified Product Version: NetBeans IDE Dev (Build 201111200600)