-
Notifications
You must be signed in to change notification settings - Fork 664
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
Error: Cannot get property on null object #1342
Comments
I am running into an issue that I suspect may be related. In that same pipeline, the pipeline is initiated by parsing a .tsv samplesheet and the entries become the input items that get passed through channels to initiate the workflow. However, after updating our samplesheet and running with |
Sorry, unable to replicate. |
I have faced this issue as well. I am working on getting a reproducible example but looks like it is not an end user configuration error but a subtle bug. Wondering if it's possible to keep this open with a tag like "need example" or something similar. |
I have the same issue: params.bwaNumthread |
I figured out my own problem: cpus { $params.bwaNumthread }, in the derivative section I have added the $ which is not allowed. The error message may be improved to help. Took me a while to find this out. |
Bug report
(Please follow this template replacing the text between parentheses with the requested information)
I sporadically get errors such as this:
Expected behavior and actual behavior
In these steps of our pipeline, some values are read from an external JSON file. The values are later used as parameters in the pipeline.
Most of the time, this works fine. However, seemingly at random, these values will fail to be initialized when the Nextflow process tries to execute.
Steps to reproduce the problem
The code surrounding this part of the pipeline looks like this:
https://github.com/NYU-Molecular-Pathology/NGS580-nf/blob/b3bb4b99de58cd4b8ce60bf323c91fbc7b3e42a5/main.nf#L107
https://github.com/NYU-Molecular-Pathology/NGS580-nf/blob/b3bb4b99de58cd4b8ce60bf323c91fbc7b3e42a5/main.nf#L5065
Program output
I am not able to find the part of the
.nextflow.log
that describes the error, because I am using the Nextflow Tower interface and the resulting.nextflow.log
is far too large to parse...I am sure that if I run this same pipeline again, the error will vanish temporarily. It has not proven to be possible to reproduce it voluntarily.
Environment
The text was updated successfully, but these errors were encountered: