NPE while deleting an attachment from a renamed page
----------------------------------------------------
Key: JSPWIKI-299
URL: https://issues.apache.org/jira/browse/JSPWIKI-299
Project: JSPWiki
Issue Type: Bug
Components: Core & storage
Affects Versions: 2.7.x
Environment: JSPWiki 2.7.0-svn-49
Reporter: Harry Metske
Priority: Minor
If you try to delete an attachment from a page that has been renamed, you will
get the following NPE:
Error Message
An unknown exception java.lang.NullPointerException was caught by Error.jsp.
Exception
java.lang.NullPointerException
Place where detected
com.ecyrd.jspwiki.providers.CachingAttachmentProvider$CachedAttachmentCollector.cacheEntryRemoved(),
line 459
patch is attached (an extra NPE check)
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.