imagej / ImageJ

Public domain software for processing and analyzing scientific images
http://imagej.org
Other
513 stars 218 forks source link

Open next image failing with NullPointerException #181

Closed phillipsar2 closed 11 months ago

phillipsar2 commented 1 year ago

I have a mac and I'm using ImageJ version Java 1.8.0_345 (64-bit). When I select Open Next, a window pops up with the following error:

java.lang.NullPointerException at ij.util.StringSorter.alreadySorted(StringSorter.java:26) at ij.util.StringSorter.sort(StringSorter.java:8) at ij.plugin.NextImageOpener.getNext(NextImageOpener.java:117) at ij.plugin.NextImageOpener.run(NextImageOpener.java:45) at ij.IJ.runPlugIn(IJ.java:209) at ij.Executer.runCommand(Executer.java:152)
at ij.Executer.run(Executer.java:70)
at java.lang.Thread.run(Thread.java:750)

I have tried uninstalling and re-installing ImageJ and updating Java to version 8 but I continue to get the same error. I'm not sure what the error is referring to. Any help is appreciated!

rasband commented 1 year ago

I am not able to reproduce this problem using ImageJ 1.53t and Java 1.8.0_345 on Mac OS X 10.16.

scuniff commented 11 months ago

Is this still a problem and re-producible?

If so, can you do the following steps and then re-produce the problem with ImageJ? I do see in the code the potential for a NullPointerException.

1) Do Edit->Misc->

image

2) Select Debug Mode

image

3) Do the steps to re-produce the issue. 4) In the log window, copy all logging and reply back to this comment.

image

Thanks!

phillipsar2 commented 11 months ago

This problem did not resolve but the person whose computer was receiving this error is no longer working in our lab, therefore the issue can be closed. Thank you for following up.

Best, Alyssa

On Sat, Jul 22, 2023 at 3:54 PM scuniff @.***> wrote:

Is this still a problem and re-producible?

If so, can you do the following steps and then re-produce the problem with ImageJ? I do see in the code the potential for a NullPointerException.

  1. Do Edit->Misc->

[image: image] https://user-images.githubusercontent.com/40019379/255353740-1af1a78d-adec-400c-89da-8330a2e70b08.png

  1. Select Debug Mode

[image: image] https://user-images.githubusercontent.com/40019379/255353754-f1cde136-ef73-463f-b22b-b888be0e0fb4.png

  1. Do the steps to re-produce the issue.
  2. In the log window, copy all logging and reply back to this comment.

[image: image] https://user-images.githubusercontent.com/40019379/255353761-c58fc2e7-88b8-44fe-98b3-47bac0e79af8.png

Thanks!

— Reply to this email directly, view it on GitHub https://github.com/imagej/ImageJ/issues/181#issuecomment-1646686659, or unsubscribe https://github.com/notifications/unsubscribe-auth/ALCH4ZWE2DDPYCBBGMH6AG3XRRK27ANCNFSM6AAAAAAQ6AL5XE . You are receiving this because you authored the thread.Message ID: @.***>

-- Alyssa Phillips she/her Graduate Student Researcher Department of Evolution and Ecology Center for Population Biology University of California, Davis