cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alexander Klimetschek (JIRA)" <j...@apache.org>
Subject [jira] Updated: (COCOON-1935) [Patch] NPE in ResourceReader when InputSource returns null on getURI
Date Tue, 17 Oct 2006 18:38:36 GMT
     [ http://issues.apache.org/jira/browse/COCOON-1935?page=all ]

Alexander Klimetschek updated COCOON-1935:
------------------------------------------

    Attachment: cocoon-blocksource-fix-getURI-NPE.patch

To be applied in cocoon root. Affects the cocoon-blocks-fw-impl module.

> [Patch] NPE in ResourceReader when InputSource returns null on getURI
> ---------------------------------------------------------------------
>
>                 Key: COCOON-1935
>                 URL: http://issues.apache.org/jira/browse/COCOON-1935
>             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: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message