Uploaded image for project: 'Java Driver'
  1. Java Driver
  2. JAVA-3515

Work around Collectors.toMap NPE bug

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 4.0.0
    • Component/s: Reactive Streams
    • Labels:
      None

      Description

      The recent JAVA-1788 support for returning results from insertions uses Collectors.toMap which contains a bug in the openJDK when collecting null values.

      The perf tests highlight this bug as any bulk inserts of RawBsonDocuments will trigger it on openJDK 8 & 11.

        Attachments

          Activity

            People

            Assignee:
            ross.lawley Ross Lawley
            Reporter:
            ross.lawley Ross Lawley
            Participants:
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: