You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@commons.apache.org by Arnaud Quillaud <Ar...@Sun.COM> on 2009/07/31 19:13:06 UTC
[fileupload]FileCleanerCleanup causes null pointer exception in
contextDestroyed()
Hello,
I'm facing a problem which has already been reported some time back
(FileCleanerCleanup causes null pointer exception in contextDestroyed()
see
http://mail-archives.apache.org/mod_mbox/commons-user/200811.mbox/%3C1bcb7c7f0811211256h7cd7f07bicd4aed9a253e6a76@mail.gmail.com%3E
).
It looks like the contextDestroyed() method is trying to get the
FileCleaningTracker by using the ServletContext.getAttribute() method.
But if I can believe the following post
(http://forums.sun.com/thread.jspa?threadID=597964), the attributes are
removed before the contextDetroyed(), hence the NPE.
Arnaud Q
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@commons.apache.org
For additional commands, e-mail: user-help@commons.apache.org