Uploaded image for project: 'Atlas'
  1. Atlas
  2. ATLAS-4136

Export Service: NPE if Options Explicitly set to NULL

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • trunk
    • trunk
    • atlas-core
    • None

    Description

      Steps to Duplicate

      1. Create an export request by explicitly setting options to null. E.g.
      {
       "itemsToExport": [{
       "typeName": "hive_db",
       "uniqueAttributes": {
       "qualifiedName": "abcd@cm"
       }
       }],
       "options": null
      }

      Expected results: Export should proceed.

      Actual results: Export fails with NPE.

      Root cause: Changes introduced by changes made for ATLAS-4068.

      Workaround: Not having options key addresses the problem.

       

      Attachments

        Activity

          People

            amestry Ashutosh Mestry
            amestry Ashutosh Mestry
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: