Fiji not creating substack

Hello!

Thank you for the wonderful software!

I have a problem with creating a substack of a large file in Fiji. When I do Image->Stacks->Tools->Make Substack and select the time points in the file that I want, I get the error:

java.lang.IllegalArgumentException: Invalid bitDepth: 0
   at ij.gui.NewImage.createImage(NewImage.java:345)
   at ij.IJ.createImage(IJ.java:2218)
   at ij.IJ.createHyperStack(IJ.java:2287)
   at ij.plugin.SubHyperstackMaker.makeSubhyperstack(SubHyperstackMaker.java:87)
   at ij.plugin.SubHyperstackMaker.makeSubhyperstack(SubHyperstackMaker.java:60)
   at ij.plugin.SubHyperstackMaker.run(SubHyperstackMaker.java:50)
   at ij.plugin.SubstackMaker.run(SubstackMaker.java:33)
   at ij.IJ.runPlugIn(IJ.java:209)
   at ij.Executer.runCommand(Executer.java:150)
   at ij.Executer.run(Executer.java:68)
   at java.lang.Thread.run(Thread.java:748)

The file is a large .lif file.

Thanks for your help!

1 Like

Same problem over here with Fiji 2.1.0/1.53c.

(Fiji Is Just) ImageJ 2.1.0/1.53c; Java 1.8.0_66 [64-bit]; Mac OS X 10.13.6; 881MB of 13593MB (6%)
 
java.lang.IllegalArgumentException: Invalid bitDepth: 0
	at ij.gui.NewImage.createImage(NewImage.java:345)
	at ij.IJ.createImage(IJ.java:2207)
	at ij.IJ.createHyperStack(IJ.java:2276)
	at ij.plugin.SubHyperstackMaker.makeSubhyperstack(SubHyperstackMaker.java:87)
	at ij.plugin.SubHyperstackMaker.makeSubhyperstack(SubHyperstackMaker.java:60)
	at ij.plugin.SubHyperstackMaker.run(SubHyperstackMaker.java:50)
	at ij.plugin.SubstackMaker.run(SubstackMaker.java:33)
	at ij.IJ.runPlugIn(IJ.java:204)
	at ij.Executer.runCommand(Executer.java:150)
	at ij.Executer.run(Executer.java:68)
	at java.lang.Thread.run(Thread.java:745)

Is it possible that this problem is specific to macOS (occurs on macOS 10.13.6 as well as 10.15.7)? However, I did not run into problems with older versions on Fiji previously. It seems that this bug[?] has been added more recently, perhaps to Fiji itself?