Dear all, I'm getting a strange exception for both 2.3.X <http://ci.groovy-lang.org/viewType.html?buildTypeId=JointBuilds_Nextflow_Groovy23xJointBuil> and 2.4.X <http://ci.groovy-lang.org/viewType.html?buildTypeId=JointBuilds_Nextflow_Groovy24xJointBuild> Groovy joint builds for the nextflow project.
The exception reports the following stack trace: org.codehaus.groovy.runtime.typehandling.GroovyCastException: Cannot cast object 'Mock for type 'ISession'' with class 'com.sun.proxy.$Proxy39' to class 'nextflow.Session' at nextflow.processor.PublishDir.createExecutor(PublishDir.groovy:298) at nextflow.processor.PublishDir.apply(PublishDir.groovy:192) at nextflow.processor.PublishDirTest.should copy output files(PublishDirTest.groovy:145) The line throwing the error is at this link: https://github.com/nextflow-io/nextflow/blob/master/src/main/groovy/nextflow/processor/PublishDir.groovy#L298 The problem is that I'm unable to replicate the issue on any of my usual test environments (Mac/Oracle Java 7, Travis/Oracle Java 7 and 8, CircleCI/OpenJDK 7) I'm wondering if the problem can be related to any recent change to the Groovy code base. Cheers, Paolo