You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Claus Ibsen (Jira)" <ji...@apache.org> on 2022/04/04 16:10:00 UTC
[jira] [Commented] (CAMEL-17901) camel-google-pubsub - concurrent access error on shutdown
[ https://issues.apache.org/jira/browse/CAMEL-17901?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17516922#comment-17516922 ]
Claus Ibsen commented on CAMEL-17901:
-------------------------------------
Can you send a PR for 3.14.x branch
> camel-google-pubsub - concurrent access 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
> Priority: Minor
> Fix For: 3.17.0
>
>
> 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)