Uploaded image for project: 'WildFly'
  1. WildFly
  2. WFLY-4447

Configuring transport thread pool results in NPE

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: 9.0.0.Alpha1
    • Fix Version/s: 9.0.0.Beta1
    • Component/s: Clustering
    • Labels:
      None

      Description

      One line fix to use correct builder method.

      /extension=org.jboss.as.threads:add
      /subsystem=threads:add
      /subsystem=threads/bounded-queue-thread-pool=transport:add(max-threads=20,queue-length=1000)
      /subsystem=infinispan/cache-container=web/transport=TRANSPORT:write-attribute(name=executor,value=transport)
      deploy /home/rhusar/git/clusterbench/clusterbench-ee7-ear/target/clusterbench-ee7.ear
      

      yields

      12:37:30,142 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-1) MSC000001: Failed to start service jboss.infinispan.web.config: org.jboss.msc.service.StartException in service jboss.infinispan.web.config: Failed to start service
      	at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1904)
      	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
      	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
      	at java.lang.Thread.run(Thread.java:745)
      Caused by: java.lang.NullPointerException
      	at org.jboss.as.clustering.infinispan.subsystem.CacheContainerConfigurationBuilder.getValue(CacheContainerConfigurationBuilder.java:144)
      	at org.jboss.as.clustering.infinispan.subsystem.CacheContainerConfigurationBuilder.getValue(CacheContainerConfigurationBuilder.java:65)
      	at org.jboss.msc.service.ValueService.start(ValueService.java:49)
      	at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1948)
      	at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1881)
      	... 3 more
      

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                rhusar Radoslav Husar
                Reporter:
                rhusar Radoslav Husar
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: