cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andreas Hartmann (JIRA)" <>
Subject [jira] Commented: (COCOON-2148) SourceProtocolHandler causes NPE
Date Mon, 26 Nov 2007 09:53:43 GMT


Andreas Hartmann commented on COCOON-2148:

The ParsedURLDefaultProtocolHandler of Batik 1.6 handles null values for urlStr explicitely:


        ParsedURLData ret = constructParsedURLData();

        if (urlStr == null) return ret;

> SourceProtocolHandler causes NPE
> --------------------------------
>                 Key: COCOON-2148
>                 URL:
>             Project: Cocoon
>          Issue Type: Bug
>          Components: Blocks: Batik
>    Affects Versions: 2.1.11-dev (Current SVN)
>            Reporter: Andreas Hartmann
>         Attachments: patch-issue2148.txt
> I used an action to pass the current source resolver to the SourceProtocolHandler, but
this resulted in an NPE because the URI of the TranscoderInput object was null. After I applied
a little patch to the SourceProtocolHandler which enabled the fallback to the default handler
if the URL to resolve is null, it worked. 

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message