You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cocoon.apache.org by "Andreas Hartmann (JIRA)" <ji...@apache.org> on 2007/11/23 15:48:43 UTC
[jira] Updated: (COCOON-2148) SourceProtocolHandler causes NPE
[ https://issues.apache.org/jira/browse/COCOON-2148?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Andreas Hartmann updated COCOON-2148:
-------------------------------------
Attachment: patch-issue2148.txt
The patch enables falling back to the default handler if the URL to parse is null.
> SourceProtocolHandler causes NPE
> --------------------------------
>
> Key: COCOON-2148
> URL: https://issues.apache.org/jira/browse/COCOON-2148
> 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.