CLIJ2 Scale 2D Image on GPU Bug

Hi @haesleinhuepf

Trying to resize an image using Scale 2D Image on GPU, I get this exception:

(Fiji Is Just) ImageJ 2.0.0-rc-69/1.53a; Java 1.8.0_172 [64-bit]; Windows 10 10.0; 267MB of 10500MB (2%)
java.lang.ClassCastException: java.lang.Double cannot be cast to java.lang.Boolean
at net.haesleinhuepf.clij.macro.AbstractCLIJPlugin.run(AbstractCLIJPlugin.java:431)
at ij.plugin.filter.PlugInFilterRunner.processOneImage(PlugInFilterRunner.java:265)
at ij.plugin.filter.PlugInFilterRunner.(PlugInFilterRunner.java:114)
at ij.IJ.runUserPlugIn(IJ.java:237)
at ij.IJ.runPlugIn(IJ.java:198)
at ij.Executer.runCommand(Executer.java:150)
at ij.Executer.run(Executer.java:68)
at java.lang.Thread.run(Thread.java:748)

I’ve replicated this problem on my data and on blobs.gif. Please let me know if you need any additional information.

Thanks!

1 Like

Hey @Nik,

thanks for reporting. This was obviously a bug. If you update your Fiji, it should be gone with clij2 version 2.0.0.14. If you could quickly confirm that, I would also update downstream projects such as clicy and clatlab.

Thanks again!

Cheers,
Robert

1 Like

Hi @haesleinhuepf,

Apologies for the delay (had a long camping weekend!). I’ve updated to version 2.0.0.14 and confirmed the fix. Thanks for the quick turnaround!

1 Like

Awww camping. (envy face)

Thanks for the confirmation! :slightly_smiling_face: