NullPointerException when deploying application using Deployment Scanner in EAP6
Issue
- Cold Fusion application is not getting deployed after upgrade on JBoss after when using the deployment scanner
- With standalone mode, deploying an application in deployments folder is failed occurring following error:
ERROR [org.jboss.as.server.deployment.scanner] (DeploymentScanner-threads - 1) JBAS015011: Scan of /app/source/test threw Exception: java.lang.NullPointerException
at org.jboss.as.server.deployment.scanner.FileSystemDeploymentService.getDeploymentTimestamp(FileSystemDeploymentService.java:723) [jboss-as-deployment-
at org.jboss.as.server.deployment.scanner.FileSystemDeploymentService.getDeploymentTimestamp(FileSystemDeploymentService.java:724) [jboss-as-deployment-scanner-7.3.4.Final-redhat-1.jar:7.3.4.Final-redhat-1]
at org.jboss.as.server.deployment.scanner.FileSystemDeploymentService.scanDirectory(FileSystemDeploymentService.java:584) [jboss-as-deployment-scanner-7.3.4.Final-redhat-1.jar:7.3.4.Final-redhat-1]
- Other applications are successfully deployed.
Environment
Red Hat JBoss Enterprise Application Platform (EAP)
- 6.2.3
- 6.4.2
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.