Uploaded image for project: 'CDAP'
  1. CDAP
  2. CDAP-14578

Artifact loading fails with NPE when json specified is incorrect for whatever reason.

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 5.1.1
    • Fix Version/s: 5.1.2
    • Component/s: None
    • Labels:
      None
    • Release Notes:
      Fixed a bug where artifacts could not be uploaded through UI.
    • Rank:
      1|i00j4n:

      Description

      Here is the link to the code. Seems like that should never happen, but there is a chance that JSON could be malformed or information is JSON is different for many reasons. 

      https://github.com/caskdata/cdap/blob/develop/cdap-app-fabric/src/main/java/co/cask/cdap/gateway/handlers/ArtifactHttpHandler.java#L701

        Attachments

          Activity

            People

            • Assignee:
              rsinha Rohit Sinha
              Reporter:
              nitin Nitin Motgi
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: