-
Notifications
You must be signed in to change notification settings - Fork 630
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
Class cannot be created (missing no-arg constructor): nextflow.file.http.XPath #5208
Comments
Indeed there is no empty XPath constructor, though it's curious why this issue only appeared now |
It would be nice to a test case to replicate the error |
@atrigila do you remember what the issue was here? |
nf-tests failed due to unknown reason after simply updating modules and a directory path, we can see the results from those nf-tests in CI here: https://github.com/nf-core/demultiplex/actions/runs/10271920060/job/28422982280 for this commit
In the following commits we changed the |
Likely it's enough to add the default constructor |
Can anyone include the corresponding |
Thank you for fixing this! |
We came across this error again in nf-core/demultiplex#276 Tests are failing in Example: https://github.com/nf-core/demultiplex/actions/runs/11365226302/job/31612964417?pr=276
cc @maxulysse |
Attaching logs for those runs |
|
Is there a wa to get the .nextflow.log file of this execution? I can't see in the logs zip file |
I have been able to reproduce the error. It is slightly different. The class that is deserializing is different. In previous issue, the class that was failing to deserialize was XPath. Now, it is failing to XFileSystem. It is failing in a collectFile operator. I think it is when collecting this file https://raw.githubusercontent.com/nf-core/test-datasets/demultiplex/testdata/sim-data/out.sample_meta.csv |
Interesting |
is not the default constructor solving it? |
It is failing in a different point. In the reported issue was XPath and now it is XFileSystem. I have tested adding the default constructor also to XFileSystem it fix the issue. In this case, I was able to reproduce the issue with a unit test. should I reopen the issue or create a new one.? |
Let's use the previous one |
Bug report
Expected behavior and actual behavior
We encountered this error when debugging a PR in nf-core/demultiplex. This issue only occurs with the last version of Nextflow edge (24.07.0-edge)
Error traceback
Steps to reproduce the problem
(Provide a test case that reproduce the problem either with a self-contained script or GitHub repository)
Program output
(Copy and paste here output produced by the failing execution. Please highlight it as a code block. Whenever possible upload the
.nextflow.log
file.)Environment
Additional context
(Add any other context about the problem here)
The text was updated successfully, but these errors were encountered: