-
Notifications
You must be signed in to change notification settings - Fork 9
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Saving multi-channel TIF results in java.lang.ArrayIndexOutOfBoundsException #9
Comments
Hi @bjtho08, could you please post the exact steps you followed to get this exception? Also, the complete stack trace would surely be helpful to track this issue down. See bug reporting best practices. |
Hi @imagejan, thanks for replying!
I have attached the dump stack from the moment of the error message on screen. It works just fine on Windows 10, btw. |
Update: It turns out that it does not work on my windows 10, either. unless it is a newly created empty multi-channel image. Trying to save an existing multi-channel image results in the above error. |
Hi @bjtho08, I could not reproduce your issue. Could you please provide the exact parameters of the image you are trying to save (x, y, z, c, t dimensions), axis order of your hyperstack, as well as options that you have selected for saving? Could you please also provide Fiji info?
Thanks! Radek |
Also, you seem to call HDF5 saver from within a script. Could we please take a look at your code? |
So, I tested in on my co-worker's computer and his is working fine. So at the moment the error is on two different computers with different OS'es, but apparently it is very localized. For the new hyperstack image, the parameters are as follows: |
Hi @bjtho08, Could you please check what java versions you have on machines where it works vs those where it does not? Thanks |
@rejsmont shouldn't that be whatever version that is packaged along with FIJI? I didn't think it would make a difference if I had another java version installed on my machine. It appears that I am running build 1.8.0_191-b12 on the windows machine. On Ubuntu, I get the following output from
I don't have access to my coworkers computer before monday, so I hope this will be useful in the meantime. |
The problem turned out to be because I was using the HDF5 update site which took priority over the version from java-8. Now, however, I have another problem. When I save a file as HDF5, I am unable to open it again. I get the following error log:
This is a standard 3-channel TIF image saved in HDF5 and then I attempt to open the newly created .h5 file. Is there some obvious solution or should I submit a new issue? |
I have not been able to do any debugging myself (I'm very new to programming and I mainly work with Python), so I don't know what exactly is causing this error. I'm running all the latest updates on an ubuntu 16.04 machine. Please let me know any necessary info I have left out.
The text was updated successfully, but these errors were encountered: