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

No artifact config causes pipeline deployment failure

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 6.1.0
    • Component/s: App Fabric
    • Labels:
      None
    • Rank:
      1|i00s0n:

      Description

      If the artifact section of a pipeline stage is left out, a NPE is thrown and pipeline deployment fails. This is a regression from previous behavior, which would choose the latest artifact.

      2019-10-10 12:33:40,297 - ERROR [appfabric-executor-15:i.c.c.g.h.AppLifecycleHttpHandler$1@414] - Deploy failure
      java.lang.NullPointerException: null
              at io.cdap.cdap.etl.spec.PipelineSpecGenerator.getPlugin(PipelineSpecGenerator.java:388) ~[na:na]
              at io.cdap.cdap.etl.spec.PipelineSpecGenerator.configureStage(PipelineSpecGenerator.java:278) ~[na:na]
              at io.cdap.cdap.etl.spec.PipelineSpecGenerator.configureStage(PipelineSpecGenerator.java:211) ~[na:na]
              at io.cdap.cdap.etl.spec.PipelineSpecGenerator.configureStages(PipelineSpecGenerator.java:159) ~[na:na]
              at io.cdap.cdap.etl.batch.BatchPipelineSpecGenerator.generateSpec(BatchPipelineSpecGenerator.java:57) ~[na:na]
      

      this is causing itn to fail

        Attachments

          Activity

            People

            • Assignee:
              ashau Albert Shau
              Reporter:
              ashau Albert Shau
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: