java.lang.IllegalStateException: Not connected to server.

Jive Software Open Source | Mircea Carasel | 5 years ago
  1. 0

    When network connection is lost and have a chat window opened, when closing, sometimes, the following exception is seen: stream:error (system-shutdown) at org.jivesoftware.smack.PacketReader.parsePackets(PacketReader.java:260) at org.jivesoftware.smack.PacketReader.access$000(PacketReader.java:43) at org.jivesoftware.smack.PacketReader$1.run(PacketReader.java:70) Exception in thread "AWT-EventQueue-1" java.lang.IllegalStateException: Not connected to server. at org.jivesoftware.smack.XMPPConnection.sendPacket(XMPPConnection.java:445) at org.jivesoftware.smackx.MessageEventManager.sendCancelledNotification(MessageEventManager.java:297) at org.jivesoftware.spark.ui.rooms.ChatRoomImpl.closeChatRoom(ChatRoomImpl.java:221) at org.jivesoftware.spark.ui.ChatContainer.cleanupChatRoom(ChatContainer.java:532) at org.jivesoftware.spark.ui.ChatContainer.access$000(ChatContainer.java:89) at org.jivesoftware.spark.ui.ChatContainer$1.tabRemoved(ChatContainer.java:121) at org.jivesoftware.spark.component.tabbedPane.SparkTabbedPane.fireTabRemoved(SparkTabbedPane.java:350) at org.jivesoftware.spark.component.tabbedPane.SparkTabbedPane.close(SparkTabbedPane.java:375) at org.jivesoftware.spark.ui.ChatContainer.closeTab(ChatContainer.java:798) at org.jivesoftware.spark.ui.ChatContainer.closeAllChatRooms(ChatContainer.java:565) at org.jivesoftware.spark.ui.ChatContainer$17.windowClosing(ChatContainer.java:125 As a result, the chat window gets frozen and cannot be closed

    Jive Software Open Source | 5 years ago | Mircea Carasel
    java.lang.IllegalStateException: Not connected to server.
  2. 0

    When network connection is lost and have a chat window opened, when closing, sometimes, the following exception is seen: stream:error (system-shutdown) at org.jivesoftware.smack.PacketReader.parsePackets(PacketReader.java:260) at org.jivesoftware.smack.PacketReader.access$000(PacketReader.java:43) at org.jivesoftware.smack.PacketReader$1.run(PacketReader.java:70) Exception in thread "AWT-EventQueue-1" java.lang.IllegalStateException: Not connected to server. at org.jivesoftware.smack.XMPPConnection.sendPacket(XMPPConnection.java:445) at org.jivesoftware.smackx.MessageEventManager.sendCancelledNotification(MessageEventManager.java:297) at org.jivesoftware.spark.ui.rooms.ChatRoomImpl.closeChatRoom(ChatRoomImpl.java:221) at org.jivesoftware.spark.ui.ChatContainer.cleanupChatRoom(ChatContainer.java:532) at org.jivesoftware.spark.ui.ChatContainer.access$000(ChatContainer.java:89) at org.jivesoftware.spark.ui.ChatContainer$1.tabRemoved(ChatContainer.java:121) at org.jivesoftware.spark.component.tabbedPane.SparkTabbedPane.fireTabRemoved(SparkTabbedPane.java:350) at org.jivesoftware.spark.component.tabbedPane.SparkTabbedPane.close(SparkTabbedPane.java:375) at org.jivesoftware.spark.ui.ChatContainer.closeTab(ChatContainer.java:798) at org.jivesoftware.spark.ui.ChatContainer.closeAllChatRooms(ChatContainer.java:565) at org.jivesoftware.spark.ui.ChatContainer$17.windowClosing(ChatContainer.java:125 As a result, the chat window gets frozen and cannot be closed

    JIRA | 5 years ago | Mircea Carasel
    java.lang.IllegalStateException: Not connected to server.
  3. 0

    When network connection is lost and have a chat window opened, when closing, sometimes, the following exception is seen: stream:error (system-shutdown) at org.jivesoftware.smack.PacketReader.parsePackets(PacketReader.java:260) at org.jivesoftware.smack.PacketReader.access$000(PacketReader.java:43) at org.jivesoftware.smack.PacketReader$1.run(PacketReader.java:70) Exception in thread "AWT-EventQueue-1" java.lang.IllegalStateException: Not connected to server. at org.jivesoftware.smack.XMPPConnection.sendPacket(XMPPConnection.java:445) at org.jivesoftware.smackx.MessageEventManager.sendCancelledNotification(MessageEventManager.java:297) at org.jivesoftware.spark.ui.rooms.ChatRoomImpl.closeChatRoom(ChatRoomImpl.java:221) at org.jivesoftware.spark.ui.ChatContainer.cleanupChatRoom(ChatContainer.java:532) at org.jivesoftware.spark.ui.ChatContainer.access$000(ChatContainer.java:89) at org.jivesoftware.spark.ui.ChatContainer$1.tabRemoved(ChatContainer.java:121) at org.jivesoftware.spark.component.tabbedPane.SparkTabbedPane.fireTabRemoved(SparkTabbedPane.java:350) at org.jivesoftware.spark.component.tabbedPane.SparkTabbedPane.close(SparkTabbedPane.java:375) at org.jivesoftware.spark.ui.ChatContainer.closeTab(ChatContainer.java:798) at org.jivesoftware.spark.ui.ChatContainer.closeAllChatRooms(ChatContainer.java:565) at org.jivesoftware.spark.ui.ChatContainer$17.windowClosing(ChatContainer.java:125 As a result, the chat window gets frozen and cannot be closed

    Jive Software Open Source | 5 years ago | Mircea Carasel
    java.lang.IllegalStateException: Not connected to server.
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Smack Api often could not disconnect from MSN. User is still appears online although i invoke disconnect method..

    Stack Overflow | 4 years ago | alper ozdamar
    java.lang.IllegalStateException: Not connected to server.
  6. 0

    Issue 8166 - googleappengine - Permission denied: Not allowed to issue a socket connect locally - Google App Engine - Google Project Hosting

    google.com | 2 months ago
    com.google.gwt.user.server.rpc.UnexpectedException: Service method 'public abstract java.lang.String com.google.gwt.codelab.client.GreetingService.greetServer(java.lang.String,java.lang.String) throws java.lang.IllegalArgumentException' threw an unexpected exception: java.lang.IllegalStateException: Not connected to server.

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.IllegalStateException

      Not connected to server.

      at org.jivesoftware.smack.XMPPConnection.sendPacket()
    2. Smack
      XMPPConnection.sendPacket
      1. org.jivesoftware.smack.XMPPConnection.sendPacket(XMPPConnection.java:445)
      1 frame
    3. Smack Extensions
      MessageEventManager.sendCancelledNotification
      1. org.jivesoftware.smackx.MessageEventManager.sendCancelledNotification(MessageEventManager.java:297)
      1 frame
    4. org.jivesoftware.spark
      ChatContainer.closeAllChatRooms
      1. org.jivesoftware.spark.ui.rooms.ChatRoomImpl.closeChatRoom(ChatRoomImpl.java:221)
      2. org.jivesoftware.spark.ui.ChatContainer.cleanupChatRoom(ChatContainer.java:532)
      3. org.jivesoftware.spark.ui.ChatContainer.access$000(ChatContainer.java:89)
      4. org.jivesoftware.spark.ui.ChatContainer$1.tabRemoved(ChatContainer.java:121)
      5. org.jivesoftware.spark.component.tabbedPane.SparkTabbedPane.fireTabRemoved(SparkTabbedPane.java:350)
      6. org.jivesoftware.spark.component.tabbedPane.SparkTabbedPane.close(SparkTabbedPane.java:375)
      7. org.jivesoftware.spark.ui.ChatContainer.closeTab(ChatContainer.java:798)
      8. org.jivesoftware.spark.ui.ChatContainer.closeAllChatRooms(ChatContainer.java:565)
      8 frames