jackrabbit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "angela (JIRA)" <j...@apache.org>
Subject [jira] Resolved: (JCR-1678) NullPointerException in constructor of JcrDavException
Date Fri, 18 Jul 2008 13:00:31 GMT

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

angela resolved JCR-1678.
-------------------------

       Resolution: Fixed
    Fix Version/s: 1.5

applied patch with minor modification + added a test.

> NullPointerException in constructor of JcrDavException
> ------------------------------------------------------
>
>                 Key: JCR-1678
>                 URL: https://issues.apache.org/jira/browse/JCR-1678
>             Project: Jackrabbit
>          Issue Type: Bug
>          Components: jackrabbit-webdav
>    Affects Versions: 1.4
>            Reporter: Thomas Weber
>            Assignee: angela
>             Fix For: 1.5
>
>         Attachments: patch
>
>
> within DavSessionProviderImpl.attachSession() a org.apache.jackrabbit.rmi.client.RemoteRepositoryException
is thrown, catched as RepositoryException and passed into the 
> ctor of JcrDavException
> the lookup for the class in the static HashMap codeMap for the class fails and a NPE
is thrown 
> suggested fix:
> The static lookup by the javax.jcr.*Exception classed must be fixed to include derived
exception classes.

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