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 163159 - IllegalStateException: Not connected to server.
Summary: IllegalStateException: Not connected to server.
Status: RESOLVED FIXED
Alias: None
Product: connecteddeveloper
Classification: Unclassified
Component: Chat (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: Jan Becicka
URL: http://statistics.netbeans.org/except...
Keywords:
Depends on:
Blocks:
 
Reported: 2009-04-20 21:11 UTC by Jaromir Uhrik
Modified: 2009-05-20 07:32 UTC (History)
4 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 149840


Attachments
stacktrace (2.27 KB, text/plain)
2009-04-20 21:12 UTC, Jaromir Uhrik
Details
stacktrace (2.27 KB, text/plain)
2009-04-28 16:40 UTC, Jaromir Uhrik
Details
stacktrace (2.27 KB, text/plain)
2009-05-15 15:06 UTC, Jaromir Uhrik
Details
stacktrace (2.35 KB, text/plain)
2009-05-19 13:31 UTC, Michal Mocnak
Details
stacktrace (2.35 KB, text/plain)
2009-05-19 14:58 UTC, Oleg Khokhlov
Details
stacktrace (2.35 KB, text/plain)
2009-05-19 15:36 UTC, Filip Zamboj
Details
stacktrace (2.35 KB, text/plain)
2009-05-19 15:44 UTC, Filip Zamboj
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jaromir Uhrik 2009-04-20 21:11:51 UTC
Build: NetBeans IDE 6.7 Beta (Build 200904192254)
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 disconnected the computer in office and connected again at home. When I write something to the chat window then the exception appears.



Stacktrace: 
java.lang.IllegalStateException: Not connected to server.
        at org.jivesoftware.smack.XMPPConnection.sendPacket(XMPPConnection.java:665)
        at org.jivesoftware.smackx.muc.MultiUserChat.sendMessage(MultiUserChat.java:1794)
        at org.netbeans.modules.kenai.collab.chat.ChatPanel.keyTyped(ChatPanel.java:286)
        at org.netbeans.modules.kenai.collab.chat.ChatPanel.access$300(ChatPanel.java:72)
        at org.netbeans.modules.kenai.collab.chat.ChatPanel$1.keyTyped(ChatPanel.java:241)
        at java.awt.Component.processKeyEvent(Component.java:5557)
Comment 1 Jaromir Uhrik 2009-04-20 21:12:02 UTC
Created attachment 80540 [details]
stacktrace
Comment 2 Jaromir Uhrik 2009-04-28 16:40:11 UTC
Build: NetBeans IDE Dev (Build 200904280201)
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: 
I have opened chat window. Opened the chatroom of a project. Some time later I try to write message to the chatroom and the exception appears.

Stacktrace: 
java.lang.IllegalStateException: Not connected to server.
        at org.jivesoftware.smack.XMPPConnection.sendPacket(XMPPConnection.java:665)
        at org.jivesoftware.smackx.muc.MultiUserChat.sendMessage(MultiUserChat.java:1794)
        at org.netbeans.modules.kenai.collab.chat.ChatPanel.keyTyped(ChatPanel.java:286)
        at org.netbeans.modules.kenai.collab.chat.ChatPanel.access$300(ChatPanel.java:72)
        at org.netbeans.modules.kenai.collab.chat.ChatPanel$1.keyTyped(ChatPanel.java:241)
        at java.awt.Component.processKeyEvent(Component.java:5557)
Comment 3 Jaromir Uhrik 2009-04-28 16:40:18 UTC
Created attachment 81099 [details]
stacktrace
Comment 4 Jaromir Uhrik 2009-05-15 15:06:56 UTC
Build: NetBeans IDE Dev (Build 090514)
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.7, i386

User Comments: 
I was connected to testkenai at work and left the computer where stayed logged in as a kenai user XYZ. Then I came home and connected at the different machine to testkenai as the same user XYZ. The next day in the work appeared this exception message when I tried to post a message to the chat.


Stacktrace: 
java.lang.IllegalStateException: Not connected to server.
        at org.jivesoftware.smack.XMPPConnection.sendPacket(XMPPConnection.java:729)
        at org.jivesoftware.smackx.muc.MultiUserChat.sendMessage(MultiUserChat.java:1794)
        at org.netbeans.modules.kenai.collab.chat.ChatPanel.keyTyped(ChatPanel.java:286)
        at org.netbeans.modules.kenai.collab.chat.ChatPanel.access$300(ChatPanel.java:72)
        at org.netbeans.modules.kenai.collab.chat.ChatPanel$1.keyTyped(ChatPanel.java:241)
        at java.awt.Component.processKeyEvent(Component.java:5557)
Comment 5 Jaromir Uhrik 2009-05-15 15:06:59 UTC
Created attachment 82198 [details]
stacktrace
Comment 6 Michal Mocnak 2009-05-19 13:31:08 UTC
Build: NetBeans IDE Dev (Build 200905190201)
VM: Java HotSpot(TM) 64-Bit Server VM, 11.3-b02, Java(TM) SE Runtime Environment, 1.6.0_13-b03
OS: Linux, 2.6.26-2-amd64, amd64

User Comments: 


Stacktrace: 
java.lang.IllegalStateException: Not connected to server.
        at org.jivesoftware.smack.XMPPConnection.sendPacket(XMPPConnection.java:729)
        at org.jivesoftware.smackx.muc.MultiUserChat.sendMessage(MultiUserChat.java:1794)
        at org.netbeans.modules.kenai.collab.chat.ChatPanel.keyTyped(ChatPanel.java:286)
        at org.netbeans.modules.kenai.collab.chat.ChatPanel.access$300(ChatPanel.java:72)
        at org.netbeans.modules.kenai.collab.chat.ChatPanel$1.keyTyped(ChatPanel.java:241)
        at java.awt.Component.processKeyEvent(Component.java:6171)
Comment 7 Michal Mocnak 2009-05-19 13:31:17 UTC
Created attachment 82387 [details]
stacktrace
Comment 8 Oleg Khokhlov 2009-05-19 14:58:04 UTC
Build: NetBeans IDE Dev (Build 200905190201)
VM: Java HotSpot(TM) Client VM, 11.3-b02, Java(TM) SE Runtime Environment, 1.6.0_13-b03
OS: Windows XP, 5.1, x86

User Comments: 
in kenai
-opened chat window on 1 machine and typed smthng;
- opened chat window on another machine, logged and typed smthng;
- closed IDE on 2nd machine;
- back to 1st - typed smthng and got exception;


Stacktrace: 
java.lang.IllegalStateException: Not connected to server.
        at org.jivesoftware.smack.XMPPConnection.sendPacket(XMPPConnection.java:729)
        at org.jivesoftware.smackx.muc.MultiUserChat.sendMessage(MultiUserChat.java:1794)
        at org.netbeans.modules.kenai.collab.chat.ChatPanel.keyTyped(ChatPanel.java:286)
        at org.netbeans.modules.kenai.collab.chat.ChatPanel.access$300(ChatPanel.java:72)
        at org.netbeans.modules.kenai.collab.chat.ChatPanel$1.keyTyped(ChatPanel.java:241)
        at java.awt.Component.processKeyEvent(Component.java:6171)
Comment 9 Oleg Khokhlov 2009-05-19 14:58:12 UTC
Created attachment 82403 [details]
stacktrace
Comment 10 Filip Zamboj 2009-05-19 15:36:06 UTC
Build: NetBeans IDE Dev (Build 200905190201)
VM: Java HotSpot(TM) Client VM, 14.0-b12, Java(TM) SE Runtime Environment, 1.6.0_14-ea-b03
OS: Windows Vista, 6.0, x86

User Comments: 


Stacktrace: 
java.lang.IllegalStateException: Not connected to server.
        at org.jivesoftware.smack.XMPPConnection.sendPacket(XMPPConnection.java:729)
        at org.jivesoftware.smackx.muc.MultiUserChat.sendMessage(MultiUserChat.java:1794)
        at org.netbeans.modules.kenai.collab.chat.ChatPanel.keyTyped(ChatPanel.java:286)
        at org.netbeans.modules.kenai.collab.chat.ChatPanel.access$300(ChatPanel.java:72)
        at org.netbeans.modules.kenai.collab.chat.ChatPanel$1.keyTyped(ChatPanel.java:241)
        at java.awt.Component.processKeyEvent(Component.java:6192)
Comment 11 Filip Zamboj 2009-05-19 15:36:18 UTC
Created attachment 82406 [details]
stacktrace
Comment 12 Filip Zamboj 2009-05-19 15:44:15 UTC
Build: NetBeans IDE Dev (Build 200905190201)
VM: Java HotSpot(TM) Client VM, 14.0-b12, Java(TM) SE Runtime Environment, 1.6.0_14-ea-b03
OS: Windows Vista, 6.0, x86

User Comments: 
two clients are running - one chat window is dosconnected and throwing this exception when trying to send text. Dialog/message would be more appropriate. 

Stacktrace: 
java.lang.IllegalStateException: Not connected to server.
        at org.jivesoftware.smack.XMPPConnection.sendPacket(XMPPConnection.java:729)
        at org.jivesoftware.smackx.muc.MultiUserChat.sendMessage(MultiUserChat.java:1794)
        at org.netbeans.modules.kenai.collab.chat.ChatPanel.keyTyped(ChatPanel.java:286)
        at org.netbeans.modules.kenai.collab.chat.ChatPanel.access$300(ChatPanel.java:72)
        at org.netbeans.modules.kenai.collab.chat.ChatPanel$1.keyTyped(ChatPanel.java:241)
        at java.awt.Component.processKeyEvent(Component.java:6192)
Comment 13 Filip Zamboj 2009-05-19 15:44:19 UTC
Created attachment 82407 [details]
stacktrace
Comment 14 Jan Becicka 2009-05-19 16:10:09 UTC
bd399c769251
Comment 15 Quality Engineering 2009-05-20 07:32:22 UTC
Integrated into 'main-golden', will be available in build *200905200201* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/bd399c769251
User: Jan Becicka <jbecicka@netbeans.org>
Log: #163159: IllegalStateException: Not connected to server.