[jboss-jira] [JBoss JIRA] (WFLY-4447) Configuring transport thread pool results in NPE
Radoslav Husar (JIRA)
issues at jboss.org
Thu Mar 19 09:46:18 EDT 2015
[ https://issues.jboss.org/browse/WFLY-4447?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13051795#comment-13051795 ]
Radoslav Husar commented on WFLY-4447:
--------------------------------------
Probably missed when upgrading to Infinispan 7, fixing here: https://github.com/infinispan/infinispan/pull/3321
Honestly I am failing to see the reason why the methods have been even kept since they just return null.
> Configuring transport thread pool results in NPE
> ------------------------------------------------
>
> Key: WFLY-4447
> URL: https://issues.jboss.org/browse/WFLY-4447
> Project: WildFly
> Issue Type: Bug
> Components: Clustering
> Affects Versions: 9.0.0.Alpha1
> Reporter: Radoslav Husar
> Assignee: Radoslav Husar
> Fix For: 9.0.0.Beta1
>
>
> One line fix to use correct builder method.
> {noformat}
> /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
> {noformat}
> yields
> {noformat}
> 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
> {noformat}
--
This message was sent by Atlassian JIRA
(v6.3.11#6341)
More information about the jboss-jira
mailing list