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 197376 - ClassCastException: java.lang.String cannot be cast to org.netbeans.modules.kenai.api.Kenai
Summary: ClassCastException: java.lang.String cannot be cast to org.netbeans.modules.k...
Status: RESOLVED FIXED
Alias: None
Product: connecteddeveloper
Classification: Unclassified
Component: Team Framework (show other bugs)
Version: 6.x
Hardware: All All
: P3 normal (vote)
Assignee: Tomas Stupka
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-04-04 06:40 UTC by fdisk
Modified: 2011-04-06 08:44 UTC (History)
3 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 167054


Attachments
stacktrace (2.88 KB, text/plain)
2011-04-04 06:40 UTC, fdisk
Details

Note You need to log in before you can comment on or make changes to this bug.
Description fdisk 2011-04-04 06:40:03 UTC
Build: NetBeans IDE 6.9.1 (Build 201011082200)
VM: Java HotSpot(TM) Client VM, 19.1-b02, Java(TM) SE Runtime Environment, 1.6.0_24-b07
OS: Windows Vista

User Comments:
toby_net: 1. open chat windows
2. click "login" link, and open account login window
3. select "add new", and loading with network
4. with no wait, cancel cancel and cancel

I forgot detail...sorry

fdisk: Opened Window > Chat

romanoza: try click cancel




Stacktrace: 
java.lang.ClassCastException: java.lang.String cannot be cast to org.netbeans.modules.kenai.api.Kenai
   at org.netbeans.modules.kenai.ui.LoginPanel.getKenai(LoginPanel.java:459)
   at org.netbeans.modules.kenai.ui.spi.UIUtils.showKenaiLogin(UIUtils.java:284)
   at org.netbeans.modules.kenai.ui.spi.UIUtils.showKenaiLogin(UIUtils.java:168)
   at org.netbeans.modules.kenai.ui.spi.UIUtils.showLogin(UIUtils.java:158)
   at org.netbeans.modules.kenai.collab.chat.ChatTopComponent.loginLinkMouseClicked(ChatTopComponent.java:595)
   at org.netbeans.modules.kenai.collab.chat.ChatTopComponent.access$1600(ChatTopComponent.java:78)
Comment 1 fdisk 2011-04-04 06:40:07 UTC
Created attachment 107456 [details]
stacktrace
Comment 2 Tomas Stupka 2011-04-05 07:59:18 UTC
fixed in http://hg.netbeans.org/core-main/rev/1755df0febc6
Comment 3 Jesse Glick 2011-04-05 13:18:20 UTC
Regression in the JDK 6 version of GroupLayout relative to the org.jdesktop version related to baseline or expected width calculations IIRC. The UI sets " " as a value. Filed in BugTraq somewhere.
Comment 4 Quality Engineering 2011-04-06 08:44:42 UTC
Integrated into 'main-golden', will be available in build *201104060400* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main/rev/1755df0febc6
User: Tomas Stupka <tstupka@netbeans.org>
Log: Issue #197376 - ClassCastException: java.lang.String cannot be cast to org.netbeans.modules.kenai.api.Kenai