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 172989 - ClassCastException: org.netbeans.modules.kenai.collab.chat.ContactList cannot be cast to org.netbeans.modules.kenai.collab.chat.ChatPanel
Summary: ClassCastException: org.netbeans.modules.kenai.collab.chat.ContactList cannot...
Status: RESOLVED FIXED
Alias: None
Product: platform
Classification: Unclassified
Component: Window System (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: t_h
URL: http://statistics.netbeans.org/except...
Keywords:
: 174463 175107 176052 (view as bug list)
Depends on:
Blocks:
 
Reported: 2009-09-24 11:22 UTC by Alexandr Scherbatiy
Modified: 2009-11-09 04:02 UTC (History)
3 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 159069


Attachments
stacktrace (2.91 KB, text/plain)
2009-09-24 11:22 UTC, Alexandr Scherbatiy
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Alexandr Scherbatiy 2009-09-24 11:22:52 UTC
Build: NetBeans IDE Dev (Build 200909221401)
VM: Java HotSpot(TM) Client VM, 14.2-b01, Java(TM) SE Runtime Environment, 1.6.0_16-b01
OS: Windows 7, 6.1, x86

User Comments:
sunflower: Closing the chat throws the exception.



Stacktrace: 
java.lang.ClassCastException: org.netbeans.modules.kenai.collab.chat.ContactList cannot be cast to org.netbeans.modules.kenai.collab.chat.ChatPanel
        at org.netbeans.modules.kenai.collab.chat.ChatTopComponent$5.propertyChange(ChatTopComponent.java:177)
        at java.beans.PropertyChangeSupport.firePropertyChange(PropertyChangeSupport.java:339)
        at java.beans.PropertyChangeSupport.firePropertyChange(PropertyChangeSupport.java:347)
        at java.beans.PropertyChangeSupport.firePropertyChange(PropertyChangeSupport.java:276)
        at java.awt.Component.firePropertyChange(Component.java:8128)
        at org.openide.awt.CloseButtonTabbedPane.fireCloseRequest(CloseButtonTabbedPane.java:445)
Comment 1 Alexandr Scherbatiy 2009-09-24 11:22:57 UTC
Created attachment 88268 [details]
stacktrace
Comment 2 Jan Becicka 2009-09-29 10:24:27 UTC
seems to be some changes in CloseButtonTabbedPane. Client property NO_CLOSE_BUTTON seems to be ignored and [x] button is
on all tabs. This exception is thrown, because ContactLuist should not be closeable.
Comment 3 Stanislav Aubrecht 2009-09-29 10:57:41 UTC
reassigning to tomas who made the recent changes
Comment 4 t_h 2009-10-02 11:57:32 UTC
core-main #865b405c8d93
Comment 5 Quality Engineering 2009-10-05 08:51:34 UTC
Integrated into 'main-golden', will be available in build *200910030241* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/865b405c8d93
User: Tomas Holy <t_h@netbeans.org>
Log: #172989: ClassCastException: org.netbeans.modules.kenai.collab.chat.ContactList cannot be cast to org.netbeans.modules.kenai.collab.chat.ChatPanel
Comment 6 Quality Engineering 2009-10-07 00:08:58 UTC
Integrated into 'main-golden', will be available in build *200910061401* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/865b405c8d93
User: Tomas Holy <t_h@netbeans.org>
Log: #172989: ClassCastException: org.netbeans.modules.kenai.collab.chat.ContactList cannot be cast to org.netbeans.modules.kenai.collab.chat.ChatPanel
Comment 7 Jan Becicka 2009-10-16 14:05:09 UTC
*** Issue 174463 has been marked as a duplicate of this issue. ***
Comment 8 Jan Becicka 2009-10-16 14:06:11 UTC
The bug is still here for JDK6.
Comment 9 Jan Becicka 2009-10-23 10:51:13 UTC
*** Issue 175107 has been marked as a duplicate of this issue. ***
Comment 10 Jan Becicka 2009-11-05 15:35:37 UTC
*** Issue 176052 has been marked as a duplicate of this issue. ***
Comment 11 t_h 2009-11-09 04:02:09 UTC
core-main #87128828c670