Uploaded image for project: 'Camel'
  1. Camel
  2. CAMEL-17901

camel-google-pubsub - concurrent access error on shutdown

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 3.14.1
    • 3.14.3, 3.17.0
    • camel-google-pubsub
    • None
    • Unknown

    Description

      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:

       

      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)

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              vpaturet Vincent Paturet
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: