Uploaded image for project: 'Qpid'
  1. Qpid
  2. QPID-6503

IllegalStateException can be reported on Broker shutdown due to an attempt to submit a configuration task into shutdown executor service

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • qpid-java-6.0
    • Broker-J
    • None

    Description

      Here are the stack traces for the issue reported whilst running the system tests

      Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.074 sec - in org.apache.qpid.transport.MaxFrameSizeTest
      Thread terminated due to uncaught exceptionjava.lang.IllegalStateException: Task executor is not in ACTIVE state
      	at org.apache.qpid.server.configuration.updater.TaskExecutorImpl.checkState(TaskExecutorImpl.java:308)
      	at org.apache.qpid.server.configuration.updater.TaskExecutorImpl.submit(TaskExecutorImpl.java:136)
      	at org.apache.qpid.server.model.AbstractConfiguredObject.doOnConfigThread(AbstractConfiguredObject.java:498)
      	at org.apache.qpid.server.model.AbstractConfiguredObject.closeAsync(AbstractConfiguredObject.java:644)
      	at org.apache.qpid.server.Broker.shutdown(Broker.java:113)
      	at org.apache.qpid.server.Broker.shutdown(Broker.java:97)
      	at org.apache.qpid.server.Broker$ShutdownService$1.run(Broker.java:373)
      	at java.security.AccessController.doPrivileged(Native Method)
      	at javax.security.auth.Subject.doAs(Subject.java:360)
      	at org.apache.qpid.server.Broker$ShutdownService.run(Broker.java:367)
      	at java.lang.Thread.run(Thread.java:745)
      
      

      Another test

      Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.001 sec - in org.apache.qpid.client.SyncPublishTest
      Thread terminated due to uncaught exceptionjava.lang.IllegalStateException: Task executor is not in ACTIVE state
      	at org.apache.qpid.server.configuration.updater.TaskExecutorImpl.checkState(TaskExecutorImpl.java:308)
      	at org.apache.qpid.server.configuration.updater.TaskExecutorImpl.submit(TaskExecutorImpl.java:136)
      	at org.apache.qpid.server.model.AbstractConfiguredObject.doOnConfigThread(AbstractConfiguredObject.java:498)
      	at org.apache.qpid.server.model.AbstractConfiguredObject.closeAsync(AbstractConfiguredObject.java:644)
      	at org.apache.qpid.server.Broker.shutdown(Broker.java:113)
      	at org.apache.qpid.server.Broker.shutdown(Broker.java:97)
      	at org.apache.qpid.server.Broker$ShutdownService$1.run(Broker.java:373)
      	at java.security.AccessController.doPrivileged(Native Method)
      	at javax.security.auth.Subject.doAs(Subject.java:356)
      	at org.apache.qpid.server.Broker$ShutdownService.run(Broker.java:367)
      	at java.lang.Thread.run(Thread.java:724)
      

      Attachments

        Activity

          People

            rgodfrey Robert Godfrey
            orudyy Alex Rudyy
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: