[ https://issues.apache.org/jira/browse/ATLAS-4136?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Ashutosh Mestry updated ATLAS-4136: ----------------------------------- Attachment: ATLAS-4136-Export-Service-NPE-if-Options-Explicitly-.patch > Export Service: NPE if Options Explicitly set to NULL > ----------------------------------------------------- > > Key: ATLAS-4136 > URL: https://issues.apache.org/jira/browse/ATLAS-4136 > Project: Atlas > Issue Type: Bug > Components: atlas-core > Affects Versions: trunk > Reporter: Ashutosh Mestry > Assignee: Ashutosh Mestry > Priority: Major > Fix For: trunk > > Attachments: > ATLAS-4136-Export-Service-NPE-if-Options-Explicitly-.patch > > > *Steps to Duplicate* > # Create an export request by explicitly setting options to null. E.g. > {code:java} > { > "itemsToExport": [{ > "typeName": "hive_db", > "uniqueAttributes": { > "qualifiedName": "abcd@cm" > } > }], > "options": null > }{code} > _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. > -- This message was sent by Atlassian Jira (v8.3.4#803005)