incubator-jspwiki-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Janne Jalkanen (JIRA)" <j...@apache.org>
Subject [jira] Resolved: (JSPWIKI-299) NPE while deleting an attachment from a renamed page
Date Mon, 30 Jun 2008 06:45:45 GMT

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

Janne Jalkanen resolved JSPWIKI-299.
------------------------------------

    Resolution: Fixed

Fixed in 2.7.0-svn-52.

> 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.


Mime
View raw message