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 159318 - AssertionError at org.netbeans.modules.kenai.collab.chat.KenaiConnection.join
Summary: AssertionError at org.netbeans.modules.kenai.collab.chat.KenaiConnection.join
Status: VERIFIED FIXED
Alias: None
Product: connecteddeveloper
Classification: Unclassified
Component: Chat (show other bugs)
Version: 6.x
Hardware: All All
: P2 blocker (vote)
Assignee: Jan Becicka
URL: http://statistics.netbeans.org/except...
Keywords:
Depends on: 159316
Blocks:
  Show dependency tree
 
Reported: 2009-02-27 13:51 UTC by Jaromir Uhrik
Modified: 2009-04-22 16:50 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 146849


Attachments
stacktrace (2.47 KB, text/plain)
2009-02-27 13:51 UTC, Jaromir Uhrik
Details
stacktrace (2.47 KB, text/plain)
2009-03-05 12:46 UTC, Jaromir Uhrik
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jaromir Uhrik 2009-02-27 13:51:02 UTC
Build: NetBeans IDE Dev (Build 090226)
VM: Java HotSpot(TM) Client VM, 1.5.0_16-133, Java(TM) 2 Runtime Environment, Standard Edition, 1.5.0_16-b06-284
OS: Mac OS X, 10.5.6, i386

User Comments:
juhrik: Click on the + button in the top-right corner of Chat Window and select any room.
Select the same chatroom again and the exception appears.



Stacktrace: 
java.lang.AssertionError
        at org.netbeans.modules.kenai.collab.chat.KenaiConnection.join(KenaiConnection.java:137)
        at org.netbeans.modules.kenai.collab.chat.ChatPanel.<init>(ChatPanel.java:101)
        at org.netbeans.modules.kenai.collab.chat.ChatTopComponent$OpenChatAction.actionPerformed(ChatTopComponent.java:491)
        at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1882)
        at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2202)
        at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:420)
Comment 1 Jaromir Uhrik 2009-02-27 13:51:07 UTC
Created attachment 77465 [details]
stacktrace
Comment 2 Jaromir Uhrik 2009-02-27 14:11:37 UTC
This seems like the behavior of the Chat window is strange after this. Any input messages are not added to the
conversation list of the author (although messages appear in the partner conversation list). Increasing the priority to
P1 because seems like a significant problem.
Comment 3 Jaromir Uhrik 2009-03-05 12:46:38 UTC
Build: NetBeans IDE Dev (Build cdev-314-on-090305)
VM: Java HotSpot(TM) Client VM, 1.5.0_16-133, Java(TM) 2 Runtime Environment, Standard Edition, 1.5.0_16-b06-284
OS: Mac OS X, 10.5.6, i386

User Comments: 
This appeared now when doing Opening, Closing of Chat Window combined with opening of rooms.

Stacktrace: 
java.lang.AssertionError
        at org.netbeans.modules.kenai.collab.chat.KenaiConnection.join(KenaiConnection.java:133)
        at org.netbeans.modules.kenai.collab.chat.ChatPanel.<init>(ChatPanel.java:101)
        at org.netbeans.modules.kenai.collab.chat.ChatTopComponent$OpenChatAction.actionPerformed(ChatTopComponent.java:617)
        at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1882)
        at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2202)
        at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:420)
Comment 4 Jaromir Uhrik 2009-03-05 12:46:42 UTC
Created attachment 77764 [details]
stacktrace
Comment 5 Jaromir Uhrik 2009-03-05 12:53:12 UTC
Here are steps to reproduce:
-main menu Window|Kenai
-in Kenai dashboard push Login to Kenai... and proceed login
-select main menu Window | Chat
-select a room XYZ from available rooms
-push x-widget of the room XYZ (although the tab doesn't disappear the room XYZ gets available again)
-select a room XYZ from available rooms

-->> Exception dialog appears
Comment 6 Jan Becicka 2009-03-10 13:16:25 UTC
Should be already fixed.
Comment 7 Jaromir Uhrik 2009-04-22 16:50:14 UTC
Verified in the following build:
Product Version: NetBeans IDE 6.7 Beta (Build 200904220001)
Java: 1.5.0_16; Java HotSpot(TM) Client VM 1.5.0_16-133
System: Mac OS X version 10.5.6 running on i386; MacRoman; en_US (nb)