cocoon-dev mailing list archives

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

Daniel Fagerstrom closed COCOON-1935.

    Resolution: Fixed

Applied (both patches). Thanks for spotting the bug.

> [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-blocksource-fix-getURI-NPE.patch, 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