The current 2.5 snapshot is producing an error in the nextflow joint build.
It seems due to a false positive variable uninitialised check:


[03:16:26][:compileGroovy] Note: /var/teamcity/buildagent-jdk8/
work/fcd731bd66de729d/src/main/groovy/nextflow/sort/BigSort.java uses
unchecked or unsafe operations.
[03:16:26][:compileGroovy] Note: Recompile with -Xlint:unchecked for
details.
[03:16:30][:compileGroovy] startup failed:
[03:16:30][:compileGroovy] /var/teamcity/buildagent-jdk8/
work/fcd731bd66de729d/src/main/groovy/nextflow/processor/TaskProcessor.groovy:
941: The variable [str] may be uninitialized
[03:16:30][:compileGroovy] . At [941:24]  @ line 941, column 24.
[03:16:30][:compileGroovy]                exitCode = str.isInteger() ?
str.toInteger() : null
[03:16:30][:compileGroovy]                           ^
[03:16:30][:compileGroovy]
[03:16:30][:compileGroovy] 1 error
[03:16:30][:compileGroovy]


See more here
<http://ci.groovy-lang.org/viewLog.html?buildId=46909&tab=buildResultsDiv&buildTypeId=JointBuilds_Nextflow_Groovy25xJointBuild#>.
The source is here
<https://github.com/nextflow-io/nextflow/blob/5e8452a67a50fef5affc97662f339748ce11f577/src/main/groovy/nextflow/processor/TaskProcessor.groovy#L941>.
Let me know if you want to open an issue for this.


Cheers,
Paolo


On Tue, Feb 6, 2018 at 8:19 AM, Paul King <pa...@asert.com.au> wrote:

>
> I am planning to prepare a 2.5.0-beta-3 release towards the end of this
> week and 2.4.14 not long after. Now's a good time to let us know if there
> is something critical you need for those releases.
>
> I am expecting 2.5.0-beta-3 to be the last beta for 2.5.0 and while there
> are a couple of things we are still planning to finish for 2.5.0, I am
> expecting the next release to kick off the RC release(s), so a final
> release shouldn't be too far away!
>
> Thanks, Paul.
>
>

Reply via email to