You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Vincent Paturet (Jira)" <ji...@apache.org> on 2022/04/04 12:52:00 UTC

[jira] [Created] (CAMEL-17901) camel-google-pubsub - concurrent error on shutdown

Vincent Paturet created CAMEL-17901:
---------------------------------------

             Summary: camel-google-pubsub - concurrent error on shutdown
                 Key: CAMEL-17901
                 URL: https://issues.apache.org/jira/browse/CAMEL-17901
             Project: Camel
          Issue Type: Bug
          Components: camel-google-pubsub
    Affects Versions: 3.14.1
            Reporter: Vincent Paturet


We experience random errors when stopping a Camel application (Camel 3.14.1) that cause the application to hang forever and not release the Camel Master leadership:

 
{code:java}
Error stopping consumer while loosing leadership. This exception is ignored.. Caused by: [java.lang.NullPointerException - null] java.lang.NullPointerException: null
at java.base/java.util.LinkedList$ListItr.next(Unknown Source)
at java.base/java.lang.Iterable.forEach(Unknown Source)
at org.apache.camel.component.google.pubsub.GooglePubsubConsumer.doStop(GooglePubsubConsumer.java:85){code}



--
This message was sent by Atlassian Jira
(v8.20.1#820001)