groovy-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Paolo Di Tommaso <>
Subject Joint build exception
Date Mon, 19 Oct 2015 20:58:01 GMT
Dear all,

I'm getting a strange exception for both 2.3.X
and 2.4.X
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

The line throwing the error is at this link:

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.


View raw message