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

tw pipelines update not working for pipelines under shared workspace #464

Open
markpanganiban opened this issue Oct 30, 2024 · 0 comments
Open

Comments

@markpanganiban
Copy link

When trying to update the pre-run script of a pipeline within the shared workspace, we get the null pointer exception error like below:

$ ./tw-0103 pipelines update --workspace 227623619488801 --id 248858957179140 --pre-run prerun.txt
java.lang.NullPointerException
        at io.seqera.tower.cli.commands.pipelines.UpdateCmd.exec(UpdateCmd.java:94)
        at io.seqera.tower.cli.commands.AbstractApiCmd.call(AbstractApiCmd.java:436)
        at io.seqera.tower.cli.commands.AbstractApiCmd.call(AbstractApiCmd.java:67)
        at picocli.CommandLine.executeUserObject(CommandLine.java:1953)
        at picocli.CommandLine.access$1300(CommandLine.java:145)
        at picocli.CommandLine$RunLast.executeUserObjectOfLastSubcommandWithSameParent(CommandLine.java:2358)
        at picocli.CommandLine$RunLast.handle(CommandLine.java:2352)
        at picocli.CommandLine$RunLast.handle(CommandLine.java:2314)
        at picocli.CommandLine$AbstractParseResultHandler.execute(CommandLine.java:2179)
        at picocli.CommandLine$RunLast.execute(CommandLine.java:2316)
        at picocli.CommandLine.execute(CommandLine.java:2078)
        at io.seqera.tower.cli.Tower.main(Tower.java:101)
        at [email protected]/java.lang.invoke.LambdaForm$DMH/sa346b79c.invokeStaticInit(LambdaForm$DMH)

This issue doesn't happen on a pipeline within the private workspace.

This might be due to the shared pipeline not having a compute environment selected.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant