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 159468

Summary: IllegalStateException: Not connected to server.
Product: connecteddeveloper Reporter: Jaromir Uhrik <juhrik>
Component: ChatAssignee: Jan Becicka <jbecicka>
Status: VERIFIED FIXED    
Severity: blocker    
Priority: P3    
Version: 6.x   
Hardware: All   
OS: All   
URL: http://statistics.netbeans.org/exceptions/detail.do?id=146961
Issue Type: DEFECT Exception Reporter: 146961
Attachments: stacktrace

Description Jaromir Uhrik 2009-03-02 22:11:45 UTC
Build: NetBeans IDE Dev (Build 090302)
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: I attempted to connect to kenai server. Unfortunately there was something wrong 
with the connection so that there appeared "Not responding" in the middle of the first
line of Kenai dashboard. So that it is possible to go to the main menu and try to logout.
But the attempt to logout causes the exception (and the logout item still appears in the 
main menu even when I try to logout repeatedly so that no login is available).  
This exception should be handled somhow to allow user to reconnect again in this case.



Stacktrace: 
java.lang.IllegalStateException: Not connected to server.
        at org.jivesoftware.smack.XMPPConnection.sendPacket(XMPPConnection.java:665)
        at org.jivesoftware.smackx.muc.MultiUserChat.leave(MultiUserChat.java:504)
        at org.netbeans.modules.kenai.collab.chat.KenaiConnection.propertyChange(KenaiConnection.java:253)
        at java.beans.PropertyChangeSupport.firePropertyChange(PropertyChangeSupport.java:333)
        at java.beans.PropertyChangeSupport.firePropertyChange(PropertyChangeSupport.java:341)
        at org.netbeans.modules.kenai.api.Kenai.logout(Kenai.java:133)
Comment 1 Jaromir Uhrik 2009-03-02 22:11:52 UTC
Created attachment 77578 [details]
stacktrace
Comment 2 Jan Becicka 2009-03-20 07:06:02 UTC
Already fixed
Comment 3 Jaromir Uhrik 2009-04-28 16:06:40 UTC
Verified.