Uploaded image for project: 'Red Hat Process Automation Manager'
  1. Red Hat Process Automation Manager
  2. RHPAM-1028

NPE when removing container in smart router

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • 7.0.0.GA
    • 7.0.0.GA
    • Kie-Server
    • None
    • ER5
    • CR2
    • Hide

      There are no clear steps to reproduce, but the general idea was

      • to setup the architecture as described in the doc linked in description
      • Create several kie-server instances using s2i build. Using s2i template parameters we made the kie-servers to connect to smart router
      • Go to Execution servers and try to perform some admin operations with the containers (start / stop / remove).
      Show
      There are no clear steps to reproduce, but the general idea was to setup the architecture as described in the doc linked in description Create several kie-server instances using s2i build. Using s2i template parameters we made the kie-servers to connect to smart router Go to Execution servers and try to perform some admin operations with the containers (start / stop / remove).

    Description

      In our "smart router + monitoring workbench" test day setup described here we saw several NullPointerExceptions in the server console of smart router after some basic manipulations in ServerManagement ui:

      May 15, 2018 12:52:05 PM org.kie.server.router.handlers.AdminHttpHandler lambda$handleRequest$0
      ERROR: Error while performing admin operation
      java.lang.NullPointerException
          at org.kie.server.router.Configuration.removeContainerInfo(Configuration.java:108)
          at org.kie.server.router.handlers.AdminHttpHandler.lambda$handleRequest$0(AdminHttpHandler.java:155)
          at io.undertow.io.BlockingReceiverImpl.receiveFullString(BlockingReceiverImpl.java:129)
          at io.undertow.io.BlockingReceiverImpl.receiveFullString(BlockingReceiverImpl.java:77)
      
          at org.kie.server.router.handlers.AdminHttpHandler.handleRequest(AdminHttpHandler.java:116)
          at io.undertow.server.handlers.PathHandler.handleRequest(PathHandler.java:94)
          at io.undertow.server.Connectors.executeRootHandler(Connectors.java:202)
          at io.undertow.server.HttpServerExchange$1.run(HttpServerExchange.java:793)
          at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
          at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
      at java.lang.Thread.run(Thread.java:748)
      
      

      The NPE is apparently coming from here.

      Attachments

        Issue Links

          Activity

            People

              swiderski.maciej Maciej Swiderski (Inactive)
              jhrcek Jan Hrcek (Inactive)
              Karel Suta Karel Suta
              Karel Suta Karel Suta
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: