1 Reply Latest reply on Apr 26, 2016 2:33 PM by Tomaz Cerar

    Possible threading issue?

    ric2001 Newbie

      Hi,

       

      I've searched for this issue but couldn't find anything.  Just wondering if anyone else has seen it.  Wildfly was shutting down and unregistering web apps and it looks like the deployment scanner was trying to get status at the same time.  Is this a known issue?

       

      2016-04-21 17:06:47,181 INFO  [org.jboss.as] (Controller Boot Thread) JBAS015874: WildFly 8.0.0.Final "WildFly" started in 49185ms - Started 6786 of 6912 services (206 services are lazy, passive or on-demand)

      2016-04-21 17:08:32,904 INFO  [org.wildfly.extension.undertow] (MSC service thread 1-7) JBAS017535: Unregistered web context: /web1

      2016-04-21 17:08:32,951 INFO  [org.jboss.as.connector.deployment] (MSC service thread 1-8) JBAS010410: Unbound JCA ConnectionFactory [java:/JmsTopicConnectionFactory]

      2016-04-21 17:08:32,954 INFO  [org.wildfly.extension.undertow] (MSC service thread 1-2) JBAS017535: Unregistered web context: /web2

      2016-04-21 17:08:32,962 INFO  [org.wildfly.extension.undertow] (MSC service thread 1-8) JBAS017535: Unregistered web context: /web3

      2016-04-21 17:08:32,963 INFO  [org.wildfly.extension.undertow] (MSC service thread 1-6) JBAS017535: Unregistered web context: /web/web4

      2016-04-21 17:08:32,963 INFO  [org.wildfly.extension.undertow] (MSC service thread 1-4) JBAS017535: Unregistered web context: /web5

      2016-04-21 17:08:32,978 INFO  [org.wildfly.extension.undertow] (MSC service thread 1-5) JBAS017535: Unregistered web context: /web6

      2016-04-21 17:08:32,912 ERROR [org.jboss.as.controller.management-operation] (DeploymentScanner-threads - 2) JBAS014612: Operation ("read-resource") failed - address: ([("deployment" => "ear1.ear")]): java.lang.NullPointerException

      at org.jboss.as.controller.operations.global.GlobalOperationHandlers.getChildAddresses(GlobalOperationHandlers.java:393) [wildfly-controller-8.0.0.Final.jar:8.0.0.Final]

      at org.jboss.as.controller.operations.global.ReadResourceHandler.doExecuteInternal(ReadResourceHandler.java:208) [wildfly-controller-8.0.0.Final.jar:8.0.0.Final]

      at org.jboss.as.controller.operations.global.ReadResourceHandler.doExecute(ReadResourceHandler.java:146) [wildfly-controller-8.0.0.Final.jar:8.0.0.Final]

      at org.jboss.as.controller.operations.global.GlobalOperationHandlers$AbstractMultiTargetHandler.execute(GlobalOperationHandlers.java:178) [wildfly-controller-8.0.0.Final.jar:8.0.0.Final]

      at org.jboss.as.controller.AbstractOperationContext.executeStep(AbstractOperationContext.java:591) [wildfly-controller-8.0.0.Final.jar:8.0.0.Final]

      at org.jboss.as.controller.AbstractOperationContext.doCompleteStep(AbstractOperationContext.java:469) [wildfly-controller-8.0.0.Final.jar:8.0.0.Final]

      at org.jboss.as.controller.AbstractOperationContext.completeStepInternal(AbstractOperationContext.java:273) [wildfly-controller-8.0.0.Final.jar:8.0.0.Final]

      at org.jboss.as.controller.AbstractOperationContext.executeOperation(AbstractOperationContext.java:268) [wildfly-controller-8.0.0.Final.jar:8.0.0.Final]

      at org.jboss.as.controller.ModelControllerImpl.internalExecute(ModelControllerImpl.java:272) [wildfly-controller-8.0.0.Final.jar:8.0.0.Final]

      at org.jboss.as.controller.ModelControllerImpl.execute(ModelControllerImpl.java:146) [wildfly-controller-8.0.0.Final.jar:8.0.0.Final]

      at org.jboss.as.controller.ModelControllerImpl$3.execute(ModelControllerImpl.java:477) [wildfly-controller-8.0.0.Final.jar:8.0.0.Final]

      at org.jboss.as.controller.ModelControllerImpl$3.execute(ModelControllerImpl.java:467) [wildfly-controller-8.0.0.Final.jar:8.0.0.Final]

      at org.jboss.as.server.deployment.scanner.DefaultDeploymentOperations.getDeploymentsStatus(DefaultDeploymentOperations.java:67) [wildfly-deployment-scanner-8.0.0.Final.jar:8.0.0.Final]

      at org.jboss.as.server.deployment.scanner.FileSystemDeploymentService$ScanContext.<init>(FileSystemDeploymentService.java:1324) [wildfly-deployment-scanner-8.0.0.Final.jar:8.0.0.Final]

      at org.jboss.as.server.deployment.scanner.FileSystemDeploymentService$ScanContext.<init>(FileSystemDeploymentService.java:1281) [wildfly-deployment-scanner-8.0.0.Final.jar:8.0.0.Final]

      at org.jboss.as.server.deployment.scanner.FileSystemDeploymentService.scan(FileSystemDeploymentService.java:359) [wildfly-deployment-scanner-8.0.0.Final.jar:8.0.0.Final]

      at org.jboss.as.server.deployment.scanner.FileSystemDeploymentService$DeploymentScanRunnable.run(FileSystemDeploymentService.java:147) [wildfly-deployment-scanner-8.0.0.Final.jar:8.0.0.Final]

      at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) [rt.jar:1.8.0_77]

      at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:308) [rt.jar:1.8.0_77]

      at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:180) [rt.jar:1.8.0_77]

      at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:294) [rt.jar:1.8.0_77]

      at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) [rt.jar:1.8.0_77]

      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) [rt.jar:1.8.0_77]

      at java.lang.Thread.run(Thread.java:745) [rt.jar:1.8.0_77]

      at org.jboss.threads.JBossThread.run(JBossThread.java:122) [jboss-threads-2.1.1.Final.jar:2.1.1.Final]

       

      Thanks,

      Ric