groovy-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Paolo Di Tommaso <paolo.ditomm...@gmail.com>
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
<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

Mime
View raw message