commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bruno P. Kinoshita (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (FILEUPLOAD-256) FileCleanerCleanup throws NPE on shut-down
Date Sun, 11 Jun 2017 05:00:23 GMT

    [ https://issues.apache.org/jira/browse/FILEUPLOAD-256?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16045817#comment-16045817
] 

Bruno P. Kinoshita commented on FILEUPLOAD-256:
-----------------------------------------------

Also not sure if that is possible. The pull request was closed too. Any objection to closing
it as Won't Fix for now?

> FileCleanerCleanup throws NPE on shut-down
> ------------------------------------------
>
>                 Key: FILEUPLOAD-256
>                 URL: https://issues.apache.org/jira/browse/FILEUPLOAD-256
>             Project: Commons FileUpload
>          Issue Type: Bug
>    Affects Versions: 1.3
>            Reporter: Til Schneider
>            Priority: Minor
>
> FileCleanerCleanup throws NPE on shut-down if there was no file uploaded.
> Here's the stack trace:
> {code}
> java.lang.NullPointerException
> 	at org.apache.commons.fileupload.servlet.FileCleanerCleanup.contextDestroyed(FileCleanerCleanup.java:87)
> 	at org.mortbay.jetty.handler.ContextHandler.doStop(ContextHandler.java:600)
> 	...
> {code}
> A simple check, whether there is a FileCleaningTracker for that ServletContext should
fix this.



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

Mime
View raw message