[
https://issues.apache.org/jira/browse/JSPWIKI-299?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12608168#action_12608168
]
Harry Metske commented on JSPWIKI-299:
--------------------------------------
Nope, I still have to find out where to fiddle the cache when a page is
renamed. (can take a while since I'll be on vacation for 3 weeks)
> 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
> Fix For: 2.8
>
> Attachments: JSPWIKI-299.patch
>
>
> 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.