]
Jan Martiska commented on WFLY-5023:
------------------------------------
I confirm I can't reproduce it any more either.
Thanks.
Intermittent NPE when removing data sources
-------------------------------------------
Key: WFLY-5023
URL:
https://issues.jboss.org/browse/WFLY-5023
Project: WildFly
Issue Type: Bug
Components: JCA
Affects Versions: 10.0.0.Alpha6
Reporter: Jan Martiska
Assignee: Stefano Maestri
Attachments: many-datasources.cli, remove-datasources.cli
When removing a datasource, sporadically this exception appears in the log:
{noformat}
12:49:58,224 WARN [org.jboss.msc.service.fail] (MSC service thread 1-8) MSC000004:
Failure during stop of service org.wildfly.data-source.ds51:
java.lang.NullPointerException
at
org.jboss.as.connector.subsystems.datasources.AbstractDataSourceService.stop(AbstractDataSourceService.java:161)
at
org.jboss.msc.service.ServiceControllerImpl$StopTask.stopService(ServiceControllerImpl.java:2056)
at
org.jboss.msc.service.ServiceControllerImpl$StopTask.run(ServiceControllerImpl.java:2017)
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)
{noformat}
This doesn't seem to happen on WildFly 9.x, only on recent master.
I suspect that this could lead to some resource leaks, but didn't study it further.
From git history, it looks like this might be caused by the fix for
https://issues.jboss.org/browse/WFLY-4429