[CAM-9557] Pending long-polling requests are not rejected properly on server shutdown Created: 27/Nov/18  Updated: 28/Feb/19  Resolved: 08/Jan/19

Status: Closed
Project: camunda BPM
Component/s: engine
Affects Version/s: 7.10.0, 7.9.6, 7.11.0
Fix Version/s: 7.11.0, 7.10.2, 7.9.9, 7.11.0-alpha1

Type: Bug Report Priority: L3 - Default
Reporter: Tassilo Weidner Assignee: Yana Vasileva
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: 0 minutes
Time Spent: Not Specified
Original Estimate: 0 minutes

Issue Links:
Depedendency

 Description   

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

Generated at Fri Oct 18 23:57:09 CEST 2019 using JIRA 6.4.6#64021-sha1:33e5b454af4594f54560ac233c30a6e00459507e.