You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jackrabbit.apache.org by "John Langley (JIRA)" <ji...@apache.org> on 2011/02/25 14:19:38 UTC

[jira] Created: (JCR-2904) Uncaught AbstractMethodError exception in in DomUtil.createFactory()

Uncaught AbstractMethodError exception in in DomUtil.createFactory()
--------------------------------------------------------------------

                 Key: JCR-2904
                 URL: https://issues.apache.org/jira/browse/JCR-2904
             Project: Jackrabbit Content Repository
          Issue Type: Bug
          Components: jackrabbit-webdav
    Affects Versions: 2.2.4
         Environment: All
            Reporter: John Langley


DomUtil.createFactory() throws an uncaught AbstractMethodError exception when xerces is on the classpath and the jackrabbit webdav module is used. 

This can render the class unusable when used in conjunction with the xerces library. 


-- 
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Commented: (JCR-2904) Uncaught AbstractMethodError exception in in DomUtil.createFactory()

Posted by "Jukka Zitting (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/JCR-2904?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13003893#comment-13003893 ] 

Jukka Zitting commented on JCR-2904:
------------------------------------

Oops, my modifications were actually incorrect. I tried catching all Exceptions instead of just these two cases, but the other one was an Error so would not have been caught by my code.

I revised the code to better match your original patch in revision 1079317 and merged it to 2.2 in revision 10709318.

> Uncaught AbstractMethodError exception in in DomUtil.createFactory()
> --------------------------------------------------------------------
>
>                 Key: JCR-2904
>                 URL: https://issues.apache.org/jira/browse/JCR-2904
>             Project: Jackrabbit Content Repository
>          Issue Type: Bug
>          Components: jackrabbit-webdav
>    Affects Versions: 2.2.4
>         Environment: All
>            Reporter: John Langley
>            Assignee: Jukka Zitting
>             Fix For: 2.2.5
>
>         Attachments: domUtil_patch.diff
>
>   Original Estimate: 0.5h
>  Remaining Estimate: 0.5h
>
> DomUtil.createFactory() throws an uncaught AbstractMethodError exception when xerces is on the classpath and the jackrabbit webdav module is used. 
> This can render the class unusable when used in conjunction with the xerces library. 

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] Resolved: (JCR-2904) Uncaught AbstractMethodError exception in in DomUtil.createFactory()

Posted by "Jukka Zitting (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/JCR-2904?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jukka Zitting resolved JCR-2904.
--------------------------------

       Resolution: Fixed
    Fix Version/s: 2.2.5
         Assignee: Jukka Zitting

Thanks for the fix! I committed a slightly modified version in revision 1079314.

Merged to the 2.2 branch in revision 1079315.

> Uncaught AbstractMethodError exception in in DomUtil.createFactory()
> --------------------------------------------------------------------
>
>                 Key: JCR-2904
>                 URL: https://issues.apache.org/jira/browse/JCR-2904
>             Project: Jackrabbit Content Repository
>          Issue Type: Bug
>          Components: jackrabbit-webdav
>    Affects Versions: 2.2.4
>         Environment: All
>            Reporter: John Langley
>            Assignee: Jukka Zitting
>             Fix For: 2.2.5
>
>         Attachments: domUtil_patch.diff
>
>   Original Estimate: 0.5h
>  Remaining Estimate: 0.5h
>
> DomUtil.createFactory() throws an uncaught AbstractMethodError exception when xerces is on the classpath and the jackrabbit webdav module is used. 
> This can render the class unusable when used in conjunction with the xerces library. 

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] Updated: (JCR-2904) Uncaught AbstractMethodError exception in in DomUtil.createFactory()

Posted by "John Langley (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/JCR-2904?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

John Langley updated JCR-2904:
------------------------------

    Attachment: domUtil_patch.diff

This patch has a fix for the listed bug and also a fix for another issue that allows the injection of alternate DocumentBuilderFactory, which allows developers to address the issue described here: 
http://www.w3.org/blog/systeam/2008/02/08/w3c_s_excessive_dtd_traffic

In the 2.1.3 version supported the injection of a  DocumentBuilderFactory because BUILDER_FACTORY was public. The patch adds a setter for this property rather than making it public. 

> Uncaught AbstractMethodError exception in in DomUtil.createFactory()
> --------------------------------------------------------------------
>
>                 Key: JCR-2904
>                 URL: https://issues.apache.org/jira/browse/JCR-2904
>             Project: Jackrabbit Content Repository
>          Issue Type: Bug
>          Components: jackrabbit-webdav
>    Affects Versions: 2.2.4
>         Environment: All
>            Reporter: John Langley
>         Attachments: domUtil_patch.diff
>
>   Original Estimate: 0.5h
>  Remaining Estimate: 0.5h
>
> DomUtil.createFactory() throws an uncaught AbstractMethodError exception when xerces is on the classpath and the jackrabbit webdav module is used. 
> This can render the class unusable when used in conjunction with the xerces library. 

-- 
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira