Uploaded image for project: 'Nuxeo Platform'
  1. Nuxeo Platform
  2. NXP-18134

Don't crash on reading array with initial null

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 7.10
    • Component/s: Core MongoDB

      Description

      Reading an array (like dc:subjects) where the first members is null results in an exception at read time:

      java.lang.NullPointerException
      	at org.nuxeo.ecm.core.storage.mongodb.MongoDBRepository.bsonToState(MongoDBRepository.java:245)
      

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: