[
https://issues.apache.org/activemq/browse/CAMEL-1957?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Willem Jiang updated CAMEL-1957:
--------------------------------
Description:
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}
was:
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}
Fix Version/s: 2.1.0
> 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.