]
RH Bugzilla Integration commented on WFCORE-1119:
-------------------------------------------------
Enrique Gonzalez Martinez <egonzale(a)redhat.com> changed the Status of [bug
ManagedDatagramSocketBinding throw NPE
--------------------------------------
Key: WFCORE-1119
URL:
https://issues.jboss.org/browse/WFCORE-1119
Project: WildFly Core
Issue Type: Bug
Components: Domain Management
Affects Versions: 2.0.0.CR8
Reporter: Stefan Dilk
Assignee: Brian Stansberry
Fix For: 2.0.2.Final
i think i have found the same bug as in WFCORE-1033 but in another method.
in the previous bug the bind method was the problem, here i have the same NPE in the
close method. there is no null check to registry as in the bind method.
{noformat}
[Server:mgmt-1-prod] 2015-11-10 00:37:15,454 ERROR [org.jboss.msc.service.fail] (MSC
service thread 1-1) MSC000001: Failed to start service jboss.jgroups.channel.ee.connector:
org.jboss.msc.service.StartException in service jboss.jgroups.channel.ee.connector:
java.lang.NullPointerException
[Server:mgmt-1-prod] at
org.wildfly.clustering.jgroups.spi.service.ChannelConnectorBuilder.start(ChannelConnectorBuilder.java:9
6)
[Server:mgmt-1-prod] at
org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1948)
[Server:mgmt-1-prod] at
org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1881)
[Server:mgmt-1-prod] at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
[Server:mgmt-1-prod] at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
[Server:mgmt-1-prod] at java.lang.Thread.run(Thread.java:745)
[Server:mgmt-1-prod] Caused by: java.lang.NullPointerException
[Server:mgmt-1-prod] at
org.jboss.as.network.ManagedDatagramSocketBinding.close(ManagedDatagramSocketBinding.java:73)
[Server:mgmt-1-prod] at java.net.DatagramSocket.<init>(DatagramSocket.java:245)
[Server:mgmt-1-prod] at
org.jboss.as.network.ManagedDatagramSocketBinding.<init>(ManagedDatagramSocketBinding.java:41)
[Server:mgmt-1-prod] at
org.jboss.as.network.SocketBindingManagerImpl.createDatagramSocket(SocketBindingManagerImpl.java:87)
[Server:mgmt-1-prod] at
org.jboss.as.clustering.jgroups.ManagedSocketFactory.createDatagramSocket(ManagedSocketFactory.java:103)
[Server:mgmt-1-prod] at
org.jboss.as.clustering.jgroups.ManagedSocketFactory.createDatagramSocket(ManagedSocketFactory.java:113)
[Server:mgmt-1-prod] at
org.jgroups.protocols.UDP.createDatagramSocketWithBindPort(UDP.java:487)
[Server:mgmt-1-prod] at org.jgroups.protocols.UDP.createSockets(UDP.java:361)
[Server:mgmt-1-prod] at org.jgroups.protocols.UDP.start(UDP.java:270)
[Server:mgmt-1-prod] at
org.jgroups.stack.ProtocolStack.startStack(ProtocolStack.java:965)
[Server:mgmt-1-prod] at org.jgroups.JChannel.startStack(JChannel.java:890)
[Server:mgmt-1-prod] at org.jgroups.JChannel._preConnect(JChannel.java:553)
[Server:mgmt-1-prod] at org.jgroups.JChannel.connect(JChannel.java:288)
[Server:mgmt-1-prod] at org.jgroups.JChannel.connect(JChannel.java:279)
[Server:mgmt-1-prod] at
org.wildfly.clustering.jgroups.spi.service.ChannelConnectorBuilder.start(ChannelConnectorBuilder.java:94)
[Server:mgmt-1-prod] ... 5 more
{noformat}