axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Myles Bunbury (JIRA)" <j...@apache.org>
Subject [jira] Commented: (AXIS2-4842) NPE in TempFileManager
Date Fri, 08 Oct 2010 14:57:31 GMT

    [ https://issues.apache.org/jira/browse/AXIS2-4842?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12919298#action_12919298
] 

Myles Bunbury commented on AXIS2-4842:
--------------------------------------

Also of note, back in v1.4.1, if the necessary directories did not exist, they were created
by Utils.createTempFile(String, InputStream, File). In v1.5.2, this automatic directory creation
no longer occurs.

Should it?

> NPE in TempFileManager
> ----------------------
>
>                 Key: AXIS2-4842
>                 URL: https://issues.apache.org/jira/browse/AXIS2-4842
>             Project: Axis2
>          Issue Type: Bug
>            Reporter: Myles Bunbury
>
> In TempFileManager, in the static initialization block, if tmpFiles is set to NULL because
tmpDir.listFiles() returns NULL (eg. tmpDir does not exist), then a NPE occurs in the following
for loop on line 191.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
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