commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Arnaud Quillaud <Arnaud.Quill...@Sun.COM>
Subject [fileupload]FileCleanerCleanup causes null pointer exception in contextDestroyed()
Date Fri, 31 Jul 2009 17:13:06 GMT
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


Mime
View raw message