Uploaded image for project: 'Spark'
  1. Spark
  2. SPARK-2035

Shouldn't log an exception when closing Spark without quitting a room first

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 2.9.0
    • Fix Version/s: None
    • Component/s: Group Chat
    • Labels:

      Description

      When Spark is shut down without closing a room first, it logs this (Smack related probably):

      Nov 25, 2017 8:37:14 PM org.jivesoftware.spark.util.log.Log error
      SEVERE: Closing Group Chat Room error.
      org.jivesoftware.smack.SmackException$NotConnectedException: Client is not, or no longer, connected.
      	at org.jivesoftware.smack.tcp.XMPPTCPConnection$PacketWriter.throwNotConnectedExceptionIfDoneAndResumptionNotPossible(XMPPTCPConnection.java:1252)
      	at org.jivesoftware.smack.tcp.XMPPTCPConnection.throwNotConnectedExceptionIfAppropriate(XMPPTCPConnection.java:344)
      	at org.jivesoftware.smack.AbstractXMPPConnection.sendStanza(AbstractXMPPConnection.java:618)
      	at org.jivesoftware.smackx.muc.MultiUserChat.leave(MultiUserChat.java:521)
      	at org.jivesoftware.spark.ui.rooms.GroupChatRoom.leaveChatRoom(GroupChatRoom.java:531)
      	at org.jivesoftware.spark.ui.ChatContainer.leaveChatRoom(ChatContainer.java:561)
      	at org.jivesoftware.spark.Workspace$1.shutdown(Workspace.java:143)
      	at org.jivesoftware.MainWindow.fireWindowShutdown(MainWindow.java:236)
      	at org.jivesoftware.MainWindow.shutdown(MainWindow.java:270)
      	at org.jivesoftware.MainWindow$5.actionPerformed(MainWindow.java:561)
      	at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
      	at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
      	at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
      	at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
      	at javax.swing.AbstractButton.doClick(Unknown Source)
      	at javax.swing.plaf.basic.BasicMenuItemUI.doClick(Unknown Source)
      	at javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(Unknown Source)
      	at java.awt.AWTEventMulticaster.mouseReleased(Unknown Source)
      	at java.awt.Component.processMouseEvent(Unknown Source)
      	at javax.swing.JComponent.processMouseEvent(Unknown Source)
      	at java.awt.Component.processEvent(Unknown Source)
      	at java.awt.Container.processEvent(Unknown Source)
      	at java.awt.Component.dispatchEventImpl(Unknown Source)
      	at java.awt.Container.dispatchEventImpl(Unknown Source)
      	at java.awt.Component.dispatchEvent(Unknown Source)
      	at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
      	at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
      	at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
      	at java.awt.Container.dispatchEventImpl(Unknown Source)
      	at java.awt.Window.dispatchEventImpl(Unknown Source)
      	at java.awt.Component.dispatchEvent(Unknown Source)
      	at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
      	at java.awt.EventQueue.access$500(Unknown Source)
      	at java.awt.EventQueue$3.run(Unknown Source)
      	at java.awt.EventQueue$3.run(Unknown Source)
      	at java.security.AccessController.doPrivileged(Native Method)
      	at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source)
      	at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source)
      	at java.awt.EventQueue$4.run(Unknown Source)
      	at java.awt.EventQueue$4.run(Unknown Source)
      	at java.security.AccessController.doPrivileged(Native Method)
      	at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source)
      	at java.awt.EventQueue.dispatchEvent(Unknown Source)
      	at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
      	at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
      	at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
      	at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
      	at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
      	at java.awt.EventDispatchThread.run(Unknown Source)
      

        Attachments

          Activity

            People

            Assignee:
            Unassigned Unassigned
            Reporter:
            wroot wroot
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated: