You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@camel.apache.org by sabre1041 <gi...@git.apache.org> on 2015/05/09 21:16:57 UTC

[GitHub] camel pull request: CAMEL-8758: Fix to Camel Cache producer to avo...

GitHub user sabre1041 opened a pull request:

    https://github.com/apache/camel/pull/513

    CAMEL-8758: Fix to Camel Cache producer to avoid NPE in race condition

    Fix to avoid potential race condition which can cause NPE. An element is retrieved from the cache to perform a null check and if not null, retrieved once again to perform object retrieval. If the object is either removed from the cache or TTL expires, can result in NPE.

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/sabre1041/camel CAMEL-8758

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/camel/pull/513.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #513
    
----
commit b684be16fce360000bad4853666d29a8f7f56781
Author: Andrew Block <an...@gmail.com>
Date:   2015-05-09T18:02:56Z

    CAMEL-8758: Fix to Camel Cache producer to avoid NPE in race condition

----


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

[GitHub] camel pull request: CAMEL-8758: Fix to Camel Cache producer to avo...

Posted by asfgit <gi...@git.apache.org>.
Github user asfgit closed the pull request at:

    https://github.com/apache/camel/pull/513


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---