cursor.tryNext NPE reported

XMLWordPrintableJSON

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

      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 Lawley
              Reporter:
              Ross Lawley
              Votes:
              1 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: