Uploaded image for project: 'UIMA'
  1. UIMA
  2. UIMA-5372

SM failed to unregister a service but allowed another to start

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.2.1-Ducc
    • Component/s: DUCC
    • Labels:
      None

      Description

      Vito unregistered 8799 but the SM threw an NPE and didn't shut it down, while claiming that it is unregistered. sm log in /users/burn/for/SM

      16 Mar 2017 10:07:27,725 INFO SM.ServiceHandler - 8799 authorized unregister request from Vito.Colano allowed.
      16 Mar 2017 10:07:27,725 INFO SM.ServiceHandler - 8799 ServiceStateHandler.unregister Removing UIMA-AS:dsqa-async-service-Vito.Colano-2017-08:tcp://broker1:61616 8799

      processIncoming ===== Orchestrator State Arrives =====
      16 Mar 2017 10:07:34,184 INFO SM.ServiceHandler - N/A runCommands Running 2 API Tasks.
      16 Mar 2017 10:07:34,185 ERROR SM.ServiceHandler - N/A run
      java.lang.NullPointerException
      at org.apache.uima.ducc.sm.ServiceHandler.doStop(ServiceHandler.java:884)
      at org.apache.uima.ducc.sm.ApiHandler.run(ApiHandler.java:89)
      at org.apache.uima.ducc.sm.ServiceHandler.runCommands(ServiceHandler.java:243)
      at org.apache.uima.ducc.sm.ServiceHandler.run(ServiceHandler.java:117)
      at java.lang.Thread.run(Thread.java:780)

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                burn Burn Lewis
                Reporter:
                burn Burn Lewis
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: