Uploaded image for project: 'OpenOLAT'
  1. OpenOLAT
  2. OO-46

RS when sending IM-Message with lost connection meanwhile

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 8.0
    • Labels:
      None
    • Environment:

      wskvw instance

      Description

      a lost connection can break the gui although OLAT could work without a IM-Connection.
      show an error and close IM-Window or try reconnect at least once.

      RS:
      User-Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/4.0)
      Log msg: *RedScreen* Not connected to server. ::_::<dispatchinfo> <componentinfo>
      <compname>ffo_main_sendMessageForm</compname>
      <compclass>org.olat.core.gui.components.form.flexible.impl.FormWrapperContainer</compclass>
      <extendedinfo></extendedinfo> <event> <class>org.olat.core.gui.control.Event</class>
      <command>validation ok</command> <tostring>com:validation
      ok,org.olat.core.gui.control.Event@d62b3f02</tostring> </event> </componentinfo>
      <controllerinfo>
      <controllername>org.olat.instantMessaging.groupchat.SendMessageForm</controllername>
      <controllername>org.olat.instantMessaging.rosterandchat.ChatController</controllername>
      <controllername>org.olat.instantMessaging.ui.ConnectedClientsListController</controllername>
      <controllername>org.olat.core.commons.fullWebApp.BaseFullWebappPopupBrowserWindow</controllername>
      <controllername>org.olat.core.commons.chiefcontrollers.BaseChiefController</controllername>
      </controllerinfo></dispatchinfo> ::_::
      Cause:

      stack of 1.cause::org.olat.core.logging.OLATRuntimeException: Not connected to server. ->
      at org.olat.core.gui.exception.ExceptionWindowController.<init>(ExceptionWindowController.java:102)
      at org.olat.core.gui.exception.MsgFactory.createMessageChiefController(MsgFactory.java:52)
      at org.olat.core.gui.exception.MsgFactory.createMessageChiefController(MsgFactory.java:41)
      at org.olat.core.gui.components.Window.dispatchRequest(Window.java:528)
      at org.olat.core.gui.components.Window.doDispatchRequest(Window.java:215)
      at org.olat.core.gui.components.Component.dispatchRequest(Component.java:124)
      at org.olat.dispatcher.AuthenticatedDispatcher.execute(AuthenticatedDispatcher.java:331)
      at org.olat.core.dispatcher.DispatcherAction.execute(DispatcherAction.java:154)
      at org.olat.core.servlets.OLATServlet.doPost(OLATServlet.java:133)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:710)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)

      stack of 2.cause::java.lang.IllegalStateException: Not connected to server. ->
      at org.jivesoftware.smack.XMPPConnection.sendPacket(XMPPConnection.java:445)
      at org.jivesoftware.smack.ChatManager.sendMessage(ChatManager.java:259)
      at org.jivesoftware.smack.Chat.sendMessage(Chat.java:97)
      at org.olat.instantMessaging.rosterandchat.ChatController.event(ChatController.java:185)
      at org.olat.core.gui.control.DefaultController$1.run(DefaultController.java:250)
      at org.olat.core.logging.activity.ThreadLocalUserActivityLoggerInstaller.runWithUserActivityLogger(T
      hreadLocalUserActivityLoggerInstaller.java:84)
      at org.olat.core.gui.control.DefaultController.dispatchEvent(DefaultController.java:247)
      at org.olat.core.gui.control.DefaultController.fireEvent(DefaultController.java:185)
      at org.olat.instantMessaging.groupchat.SendMessageForm.formOK(SendMessageForm.java:64)
      at org.olat.core.gui.components.form.flexible.impl.FormBasicController.event(FormBasicController.jav
      a:269)
      at org.olat.core.gui.control.DefaultController.dispatchEvent(DefaultController.java:198)2012-01-09

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              srosse Stéphane Rossé
              Reporter:
              rhaag Roman Haag
              Tester:
              Sergio Trentini
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - 1 hour, 30 minutes
                  1h 30m
                  Remaining:
                  Remaining Estimate - 1 hour, 30 minutes
                  1h 30m
                  Logged:
                  Time Spent - Not Specified
                  Not Specified