You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jspwiki.apache.org by "Harry Metske (JIRA)" <ji...@apache.org> on 2008/06/25 21:16:44 UTC

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

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.


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

Posted by Florian Holeczek <fl...@holeczek.de>.
> Now this is a really interesting out-of-office message - it managed
> to *comment on the JIRA site*.  Could it be that if you do a "reply- 
> to-sender" the responses go directly into the JIRA?

Yes, but it doesn't support the full functionality. I remember that
some things got cut off and attachments don't work either.
I guess JIRA gets every mail from the list and analyzes the subject.
If it fits, the mail is taken as a comment.

Florian

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

Posted by Janne Jalkanen <Ja...@ecyrd.com>.
Now this is a really interesting out-of-office message - it managed  
to *comment on the JIRA site*.  Could it be that if you do a "reply- 
to-sender" the responses go directly into the JIRA?

If this is so, we're going to be getting loads of these during summer...

/Janne

On 30 Jun 2008, at 09:59, Harry Metske (JIRA) wrote:

>
>     [ https://issues.apache.org/jira/browse/JSPWIKI-299? 
> page=com.atlassian.jira.plugin.system.issuetabpanels:comment- 
> tabpanel&focusedCommentId=12609170#action_12609170 ]
>
> Harry Metske commented on JSPWIKI-299:
> --------------------------------------
>
> Dit is het automatisch antwoord apparaat van Harry Metske:
>
> I k  b e n  o p  v a k a n t i e   t o t   21 juli 2008.
>
> This is the answering machine of Harry Metske:
>
> I  a m  o n  v a c a t i o n  u n t i l   july 21.
>
> -- 
> met vriendelijke groet,
> Harry Metske
> Telnr. +31-548-512395
> Mobile +31-6-51898081
>
>
>> 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.


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

Posted by "Harry Metske (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/JSPWIKI-299?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12609170#action_12609170 ] 

Harry Metske commented on JSPWIKI-299:
--------------------------------------

Dit is het automatisch antwoord apparaat van Harry Metske:

I k  b e n  o p  v a k a n t i e   t o t   21 juli 2008.

This is the answering machine of Harry Metske:

I  a m  o n  v a c a t i o n  u n t i l   july 21.

-- 
met vriendelijke groet,
Harry Metske
Telnr. +31-548-512395
Mobile +31-6-51898081


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


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

Posted by "Janne Jalkanen (JIRA)" <ji...@apache.org>.
     [ 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.


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

Posted by "Harry Metske (JIRA)" <ji...@apache.org>.
    [ 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.