axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andreas Veithen (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (AXIS2-5586) NullPointerException in TempFileManager.recursiveDelete
Date Wed, 03 May 2017 07:22:04 GMT

     [ https://issues.apache.org/jira/browse/AXIS2-5586?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Andreas Veithen resolved AXIS2-5586.
------------------------------------
    Resolution: Duplicate

> NullPointerException in TempFileManager.recursiveDelete
> -------------------------------------------------------
>
>                 Key: AXIS2-5586
>                 URL: https://issues.apache.org/jira/browse/AXIS2-5586
>             Project: Axis2
>          Issue Type: Bug
>            Reporter: Pavel Gorohhovatski
>         Attachments: AXIS2-5586.patch
>
>
> TempFileManager.recursiveDelete
> rootDir.listFiles() can return null and null check is absent.
> here is my stacktrace:
> 05:33:06,111 ERROR [org.apache.axis2.deployment.ModuleDeployer] (MSC service thread 1-5)
The addressing-1.6.2.mar module, which is not valid, caused null: java.lang.ExceptionInInitializerError
> 	at org.apache.axis2.deployment.util.Utils.createTempFile(Utils.java:227) [axis2-kernel-1.6.2.jar:1.6.2]
> 	at org.apache.axis2.deployment.util.Utils.getURLsForAllJars(Utils.java:168) [axis2-kernel-1.6.2.jar:1.6.2]
> 	at org.apache.axis2.deployment.util.Utils.createClassLoader(Utils.java:852) [axis2-kernel-1.6.2.jar:1.6.2]
> 	at org.apache.axis2.deployment.repository.util.DeploymentFileData.setClassLoader(DeploymentFileData.java:115)
[axis2-kernel-1.6.2.jar:1.6.2]
> 	at org.apache.axis2.deployment.ModuleDeployer.deploy(ModuleDeployer.java:70) [axis2-kernel-1.6.2.jar:1.6.2]
> 	at org.apache.axis2.deployment.repository.util.DeploymentFileData.deploy(DeploymentFileData.java:136)
[axis2-kernel-1.6.2.jar:1.6.2]
> 	at org.apache.axis2.deployment.DeploymentEngine.doDeploy(DeploymentEngine.java:813)
[axis2-kernel-1.6.2.jar:1.6.2]
> 	at org.apache.axis2.deployment.RepositoryListener.init(RepositoryListener.java:264)
[axis2-kernel-1.6.2.jar:1.6.2]
> 	at org.apache.axis2.deployment.RepositoryListener.init2(RepositoryListener.java:69)
[axis2-kernel-1.6.2.jar:1.6.2]
> 	at org.apache.axis2.deployment.RepositoryListener.<init>(RepositoryListener.java:64)
[axis2-kernel-1.6.2.jar:1.6.2]
> 	at org.apache.axis2.deployment.DeploymentEngine.loadRepository(DeploymentEngine.java:158)
[axis2-kernel-1.6.2.jar:1.6.2]
> 	at org.apache.axis2.deployment.WarBasedAxisConfigurator.getAxisConfiguration(WarBasedAxisConfigurator.java:228)
[axis2-kernel-1.6.2.jar:1.6.2]
> 	at org.apache.axis2.context.ConfigurationContextFactory.createConfigurationContext(ConfigurationContextFactory.java:64)
[axis2-kernel-1.6.2.jar:1.6.2]
> 	at org.apache.axis2.transport.http.AxisServlet.initConfigContext(AxisServlet.java:584)
[axis2-transport-http-1.6.2.jar:]
> 	at org.apache.axis2.transport.http.AxisServlet.init(AxisServlet.java:454) [axis2-transport-http-1.6.2.jar:]
> 	at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1202) [jbossweb-7.0.10.Final.jar:]
> 	at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:1102) [jbossweb-7.0.10.Final.jar:]
> 	at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:3655)
[jbossweb-7.0.10.Final.jar:]
> 	at org.apache.catalina.core.StandardContext.start(StandardContext.java:3873) [jbossweb-7.0.10.Final.jar:]
> 	at org.jboss.as.web.deployment.WebDeploymentService.start(WebDeploymentService.java:90)
[jboss-as-web-7.1.0.Final.jar:7.1.0.Final]
> 	at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811)
> 	at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746)
> 	at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:895)
[rt.jar:1.6.0_45]
> 	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:918) [rt.jar:1.6.0_45]
> 	at java.lang.Thread.run(Thread.java:662) [rt.jar:1.6.0_45]
> Caused by: java.lang.NullPointerException
> 	at org.apache.axis2.deployment.util.TempFileManager.recursiveDelete(TempFileManager.java:138)
[axis2-kernel-1.6.2.jar:1.6.2]
> 	at org.apache.axis2.deployment.util.TempFileManager.<clinit>(TempFileManager.java:203)
[axis2-kernel-1.6.2.jar:1.6.2]
> 	... 25 more



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
For additional commands, e-mail: java-dev-help@axis.apache.org


Mime
View raw message