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.0, 2.0-M3, 2.0-M2
            Reporter: Willem Jiang
            Assignee: Willem Jiang


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);
    }
{code}

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

Reply via email to