ClearVolume bug

clearvolume
imagej

#1

After all the latest big updates, ClearVolume crashes when attempting to launch with any image. It looks to be something with the way ArrayImgFactory is called.

java.lang.RuntimeException: java.util.concurrent.ExecutionException: java.lang.AbstractMethodError: de.mpicbg.jug.clearvolume.ClearVolumeUnsignedShortType.getNativeTypeFactory()Lnet/imglib2/type/NativeTypeFactory;
	at net.imagej.legacy.LegacyService.runLegacyCompatibleCommand(LegacyService.java:303)
	at net.imagej.legacy.DefaultLegacyHooks.interceptRunPlugIn(DefaultLegacyHooks.java:163)
	at ij.IJ.runPlugIn(IJ.java)
	at ij.Executer.runCommand(Executer.java:137)
	at ij.Executer.run(Executer.java:66)
	at java.lang.Thread.run(Thread.java:748)
Caused by: java.util.concurrent.ExecutionException: java.lang.AbstractMethodError: de.mpicbg.jug.clearvolume.ClearVolumeUnsignedShortType.getNativeTypeFactory()Lnet/imglib2/type/NativeTypeFactory;
	at java.util.concurrent.FutureTask.report(FutureTask.java:122)
	at java.util.concurrent.FutureTask.get(FutureTask.java:192)
	at net.imagej.legacy.LegacyService.runLegacyCompatibleCommand(LegacyService.java:299)
	... 5 more
Caused by: java.lang.AbstractMethodError: de.mpicbg.jug.clearvolume.ClearVolumeUnsignedShortType.getNativeTypeFactory()Lnet/imglib2/type/NativeTypeFactory;
	at net.imglib2.img.array.ArrayImgFactory.create(ArrayImgFactory.java:140)
	at de.mpicbg.jug.clearvolume.ImgLib2ClearVolume.makeClearVolumeUnsignedShortTypeCopy(ImgLib2ClearVolume.java:380)
	at de.mpicbg.jug.clearvolume.ImgLib2ClearVolume.makeClearVolumeUnsignedShortTypeCopies(ImgLib2ClearVolume.java:354)
	at de.mpicbg.jug.clearvolume.ImgLib2ClearVolume.initRealImgs(ImgLib2ClearVolume.java:446)
	at de.mpicbg.jug.clearvolume.gui.ClearVolumeManager.run(ClearVolumeManager.java:182)
	at de.mpicbg.jug.clearvolume.gui.GenericClearVolumeGui.launchClearVolumeManager(GenericClearVolumeGui.java:303)
	at de.mpicbg.jug.clearvolume.gui.GenericClearVolumeGui.<init>(GenericClearVolumeGui.java:160)
	at de.mpicbg.jug.plugins.ClearVolumePlugin.run(ClearVolumePlugin.java:86)
	at org.scijava.command.CommandModule.run(CommandModule.java:199)
	at org.scijava.module.ModuleRunner.run(ModuleRunner.java:168)
	at org.scijava.module.ModuleRunner.call(ModuleRunner.java:127)
	at org.scijava.module.ModuleRunner.call(ModuleRunner.java:66)
	at org.scijava.thread.DefaultThreadService$3.call(DefaultThreadService.java:238)
	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
	... 1 more

#2

This should be fixed since Sunday (Europe) evening… :wink:
Can you please try to update Fiji/ImageJ2 and let me know if the problem persists?
Thanks!


#3

That fixed it, thanks.