Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: Cannot convert undefined or null to object - when create Dry run #137

Open
goranbs opened this issue Nov 27, 2023 · 0 comments
Open
Assignees
Labels
bug Something isn't working

Comments

@goranbs
Copy link
Contributor

goranbs commented Nov 27, 2023

Contact details

No response

Current behavior

Successfully created new project which contains successfully created workflow template. Upon create new dry run this error occurs, and no new dry run can be created.

Expected behavior

new dry run created.

Steps to reproduce

example workflow that leads to this strange error upon "create" workflow:

apiVersion: argoproj.io/v1alpha1
kind: Workflow
metadata:
generateName: magma-
spec:
entrypoint: magma-workflow
volumes:
- name: data-volume
emptyDir: {}

templates:
- name: magma-workflow
dag:
tasks:
- name: extract-files
template: extract-files
- name: magma-c1
template: c1
depends: "extract-files"
arguments:
artifacts:
- name: file
from: "{{dag.tasks.c1.outputs.artifacts.output}}"

- name: extract-files
  inputs:
    artifacts:
    - name: input_file
      path: /tmp/file
      raw:
        data: provide input tar.gz file
  outputs:
    artifacts:
    - name: output
      path: /tmp/data
  container:
    image: bash
    command: [sh, -c]
    args: ["tar -xf {{inputs.artifacts.input_file}}}}"]
- name: c1
  outputs:
    artifacts:
    - name: output
      path: /tmp/output_file.csv
  container:
    image: magma
    command: [java, -jar]
    args: ["./app.jar -c1 /tmp/data"]

Environment

  • SIM-PIPE version:
  • Platform/OS:
  • Browser:
  • Other:

Screenshots

image

Logs

No response

@goranbs goranbs added the bug Something isn't working label Nov 27, 2023
@AleenaThomas-gh AleenaThomas-gh self-assigned this Jan 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants