You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@camel.apache.org by "Willem Jiang (JIRA)" <ji...@apache.org> on 2009/08/29 09:43:15 UTC

[jira] Resolved: (CAMEL-1957) The construction method of SourceCache is wrong

     [ https://issues.apache.org/activemq/browse/CAMEL-1957?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Willem Jiang resolved CAMEL-1957.
---------------------------------

    Resolution: Fixed

http://svn.apache.org/viewvc?rev=809089&view=rev

> The construction method of SourceCache is wrong  
> -------------------------------------------------
>
>                 Key: CAMEL-1957
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-1957
>             Project: Apache Camel
>          Issue Type: Bug
>          Components: camel-core
>    Affects Versions: 2.0-M2, 2.0-M3, 2.0.0
>            Reporter: Willem Jiang
>            Assignee: Willem Jiang
>             Fix For: 2.1.0
>
>
> The construction of SourceCache is wrong , it will cause the NPE when you enable the stream cache.
> {code}
>   public SourceCache(String data) {
>         new StringSource(data);
>         // It should be changed to 
>         // super(data);
>     }
> {code}

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