Uploaded image for project: 'jBPM'
  1. jBPM
  2. JBPM-7280

NPE when removing container in smart router

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved (View Workflow)
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: 7.7.0.Final
    • Fix Version/s: 7.8.0.Final
    • Component/s: KieServer
    • Labels:
      None
    • Environment:

      Kie server connected to Smart router

      Description

      If Kie server tries to remove container from Smart router while this container is missing in Smart router then NPE is thrown:

      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)
      
      

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  ksuta Karel Suta
                  Reporter:
                  ksuta Karel Suta
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  1 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: