Uploaded image for project: 'WildFly Core'
  1. WildFly Core
  2. WFCORE-6592

NPE in ThreadFactoryService

    XMLWordPrintable

Details

    • Hide
          /subsystem=batch-jberet/thread-factory=thread-factory-edit:add()
          {
          "outcome" => "failed",
          "failure-description" => {"WFLYCTL0080: Failed services" => {"org.wildfly.threads.thread-factory.thread-factory-edit" => "Failed to start service
          Caused by: java.lang.NullPointerException"}},
          "rolled-back" => true
          }
      
      Show
      /subsystem=batch-jberet/thread-factory=thread-factory-edit:add() { "outcome" => "failed" , "failure-description" => { "WFLYCTL0080: Failed services" => { "org.wildfly.threads.thread-factory.thread-factory-edit" => "Failed to start service Caused by: java.lang.NullPointerException"}}, "rolled-back" => true }

    Description

      NPE was introduced into ThreadFactoryService via WFCORE-6505 / https://github.com/jbossas/wildfly-core-eap/commit/dc0cbf2df6a3d94238b8facf9f1d1df5c149b934#diff-d67255afceb16dc9c859a988f222c49321e5f54ecc6d66b285ce653c7aff3ba5R75

      A null value is allowed to be passed to ConcurrentHashMap#computeIfAbsent() as the key parameter.

      Attachments

        Issue Links

          Activity

            People

              thofman Tomas Hofman
              thofman Tomas Hofman
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: