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

Codec conversion for list of list

    XMLWordPrintableJSON

Details

    • Icon: Task Task
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • None
    • None
    • None
    • None

    Description

      I am getting following error "readStartArray can only be called when CurrentBSONType is ARRAY, not when CurrentBSONType is NULL"

      It is trying to convert into List<List<T>>
      and data in mongo is
      [
      [

      { "id" : 10927809, }

      ,

      { "id" : 10927810, }

      ],
      null
      ]
      I am using mongo 3.6 with java async driver 3.6

      Attachments

        Activity

          People

            Unassigned Unassigned
            rohit.jain Rohit Jain
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: