Pending long-polling requests are not rejected properly on server shutdown

XMLWordPrintable

    • Type: Bug Report
    • Resolution: Fixed
    • Priority: L3 - Default
    • 7.11.0, 7.10.2, 7.9.9, 7.11.0-alpha1
    • Affects Version/s: 7.10.0, 7.9.6, 7.11.0
    • Component/s: engine
    • None

      Steps to reproduce

      1. There exist pending long-polling requests which haven't been completed yet
      2. The application server is shutdown

      Observed behavior

      • The server sends a response to the pending long-polling requests with status code 500
      • The following exception is thrown and written to the server log:
        java.lang.IllegalStateException: Illegal access: this web application instance has been stopped already. Could not load [org.camunda.bpm.engine.rest.exception.ExceptionHandlerHelper].

      Expected behavior

      • The server sends a response to the pending long-polling requests with status code 400
      • No exception is thrown

            Assignee:
            Yana Vasileva
            Reporter:
            Tassilo Weidner-Mühl
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: