You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jspwiki.apache.org by "Florian Holeczek (JIRA)" <ji...@apache.org> on 2011/09/11 01:41:09 UTC

[jira] [Closed] (JSPWIKI-299) NPE while deleting an attachment from a renamed page

     [ https://issues.apache.org/jira/browse/JSPWIKI-299?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Florian Holeczek closed JSPWIKI-299.
------------------------------------


> 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.
For more information on JIRA, see: http://www.atlassian.com/software/jira