cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alexander Klimetschek (JIRA)" <>
Subject [jira] Updated: (COCOON-1935) [Patch] NPE in ResourceReader when InputSource returns null on getURI
Date Tue, 17 Oct 2006 18:36:36 GMT
     [ ]

Alexander Klimetschek updated COCOON-1935:

    Attachment: cocoon-core-resourcereader-getURI-NPE.patch

To be applied in cocoon root. Affects cocoon-core.

> [Patch] NPE in ResourceReader when InputSource returns null on getURI
> ---------------------------------------------------------------------
>                 Key: COCOON-1935
>                 URL:
>             Project: Cocoon
>          Issue Type: Bug
>          Components: * Cocoon Core, - Blocks Framework
>    Affects Versions: 2.2-dev (Current SVN)
>            Reporter: Alexander Klimetschek
>            Priority: Critical
>         Attachments: cocoon-core-resourcereader-getURI-NPE.patch
> The ResourceReader crashes on a NPE when the InputSource returns a null String in getURI()
while checking the cache and the lastmodified value.
> The problem was very invisible because the exception was completely hidden due to reflection
when calling the ResourceReader from the pipeline.
> Problem was triggered by the BlockSource, which falsely returns a null systemId in getURI().
To solve the problem there are two ways, both included as patches: fix the ResourceReader
and fix the BlockSource.

This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
For more information on JIRA, see:


View raw message