Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Occasional NPE on shutdown #39

Closed
slaskawi opened this issue Nov 16, 2017 · 5 comments
Closed

Occasional NPE on shutdown #39

slaskawi opened this issue Nov 16, 2017 · 5 comments

Comments

@slaskawi
Copy link
Member

11:28:15,820 ERROR [org.jgroups.util.TimeScheduler3] (jgroups-3,a0a320fc356b) JGRP000169: failed executing taskMERGE3: InfoSender: java.lang.NullPointerException
	at org.jgroups.protocols.kubernetes.KUBE_PING.readAll(KUBE_PING.java:244) [jgroups-kubernetes-1.0.0.Beta1-redhat-1.jar:]
	at org.jgroups.protocols.kubernetes.KUBE_PING.findMembers(KUBE_PING.java:171) [jgroups-kubernetes-1.0.0.Beta1-redhat-1.jar:]
	at org.jgroups.protocols.Discovery.findMembers(Discovery.java:206) [jgroups-4.0.4.Final-redhat-1.jar:4.0.4.Final-redhat-1]
	at org.jgroups.protocols.Discovery.down(Discovery.java:348) [jgroups-4.0.4.Final-redhat-1.jar:4.0.4.Final-redhat-1]
	at org.jgroups.protocols.MERGE3$InfoSender.run(MERGE3.java:392) [jgroups-4.0.4.Final-redhat-1.jar:4.0.4.Final-redhat-1]
	at org.jgroups.util.TimeScheduler3$Task.run(TimeScheduler3.java:324) [jgroups-4.0.4.Final-redhat-1.jar:4.0.4.Final-redhat-1]
	at org.jgroups.util.TimeScheduler3$RecurringTask.run(TimeScheduler3.java:358) [jgroups-4.0.4.Final-redhat-1.jar:4.0.4.Final-redhat-1]
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) [rt.jar:1.8.0_151]
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) [rt.jar:1.8.0_151]
	at java.lang.Thread.run(Thread.java:748) [rt.jar:1.8.0_151]

@rhusar
Copy link
Member

rhusar commented May 22, 2019

Closing for now as this hasn't been reported by QE in the past year. Please reopen @slaskawi if problem can be hit again with updated line numbers.

@rhusar rhusar closed this as completed May 22, 2019
@pkremens
Copy link

I saw that one in logs today (JGroups version 4.1.4). I can report an issue in case that I'll see it more often, or it will somehow start to break our tests. The exception popped up during the server shutdown.

05:52:55,086 INFO  [org.infinispan.remoting.transport.jgroups.JGroupsTransport] (MSC service thread 1-1) ISPN000080: Disconnecting JGroups channel ee
05:52:55,095 INFO  [org.infinispan.remoting.transport.jgroups.JGroupsTransport] (MSC service thread 1-1) ISPN000080: Disconnecting JGroups channel ee
05:52:55,098 INFO  [org.jboss.as.mail.extension] (MSC service thread 1-1) WFLYMAIL0002: Unbound mail session [java:jboss/mail/Default]
05:52:55,102 INFO  [org.infinispan.remoting.transport.jgroups.JGroupsTransport] (MSC service thread 1-1) ISPN000080: Disconnecting JGroups channel ee
05:52:55,115 INFO  [org.wildfly.extension.undertow] (ServerService Thread Pool -- 81) WFLYUT0022: Unregistered web context: '/' from server 'default-server'
05:52:55,132 INFO  [org.wildfly.extension.undertow] (MSC service thread 1-1) WFLYUT0019: Host default-host stopping
05:52:55,130 INFO  [org.jboss.modcluster] (ServerService Thread Pool -- 18) MODCLUSTER000002: Initiating mod_cluster shutdown
05:52:55,183 INFO  [org.jboss.as.connector.deployment] (MSC service thread 1-1) WFLYJCA0011: Unbound JCA ConnectionFactory [java:/jbamqa-amq/ConnectionFactory]
05:52:55,184 INFO  [org.jboss.as.connector.deployment] (MSC service thread 1-1) WFLYJCA0011: Unbound JCA AdminObject [java:/queue/xaQueue2]
05:52:55,184 INFO  [org.jboss.as.connector.deployment] (MSC service thread 1-1) WFLYJCA0011: Unbound JCA AdminObject [java:/queue/xaQueue1]
05:52:55,230 INFO  [org.jboss.as.clustering.infinispan] (ServerService Thread Pool -- 18) WFLYCLINF0003: Stopped client-mappings cache from ejb container
05:52:55,272 INFO  [org.infinispan.remoting.transport.jgroups.JGroupsTransport] (MSC service thread 1-1) ISPN000080: Disconnecting JGroups channel ee
05:52:55,314 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-1) WFLYSRV0028: Stopped deployment ROOT.war (runtime-name: ROOT.war) in 296ms
05:52:55,313 ERROR [org.jgroups.util.TimeScheduler3] (thread-6,null,xa-load-2) JGRP000169: failed executing task MERGE3: InfoSender: java.lang.NullPointerException
	at org.jgroups.protocols.kubernetes.KUBE_PING.readAll(KUBE_PING.java:313)
	at org.jgroups.protocols.kubernetes.KUBE_PING.findMembers(KUBE_PING.java:206)
	at org.jgroups.protocols.Discovery.invokeFindMembers(Discovery.java:216)
	at org.jgroups.protocols.Discovery.findMembers(Discovery.java:241)
	at org.jgroups.protocols.Discovery.down(Discovery.java:384)
	at org.jgroups.protocols.MERGE3$InfoSender.run(MERGE3.java:413)
	at org.jgroups.util.TimeScheduler3$Task.run(TimeScheduler3.java:328)
	at org.jgroups.util.TimeScheduler3$RecurringTask.run(TimeScheduler3.java:362)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
	at org.jboss.as.clustering.jgroups.ClassLoaderThreadFactory.lambda$newThread$0(ClassLoaderThreadFactory.java:52)
	at java.lang.Thread.run(Thread.java:748)

@slaskawi slaskawi reopened this Jan 22, 2020
@rhusar
Copy link
Member

rhusar commented Jan 22, 2020

I see where this is coming from. Its another race on close.

@rhusar rhusar changed the title Occasional NPE Occasional NPE on shutdown Jan 22, 2020
@rhusar
Copy link
Member

rhusar commented Jan 22, 2020

@pkremens Thanks for the update - opened WF tracker as well to keep track of this or in case any user stubmles upon this https://issues.redhat.com/browse/WFLY-13006

@pkremens
Copy link

Perfect, thanks for an update.

belaban added a commit that referenced this issue Jan 22, 2020
Resolves #39: Occasional NPE on shutdown: remove unnecessary nulling …
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants