Uploaded image for project: 'Kafka Connector'
  1. Kafka Connector
  2. KAFKA-383

cursor.tryNext NPE reported

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 1.11.0
    • Affects Version/s: 1.10.1
    • Component/s: None
    • None
    • Not Needed

      A user has reported seeing a NPE due to cursor being null.

      I noticed that tryCreateCursor can return null so it should be marked as @Nullable. And calls using the cursor need to ensure the cursor exists.

      See: Community Forum Post

            Assignee:
            ross@mongodb.com Ross Lawley
            Reporter:
            ross@mongodb.com Ross Lawley
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: