ImageJ icon indicating copy to clipboard operation
ImageJ copied to clipboard

Open next image failing with NullPointerException

Open phillipsar2 opened this issue 2 years ago • 1 comments

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!

phillipsar2 avatar Oct 05 '22 23:10 phillipsar2

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

rasband avatar Oct 06 '22 03:10 rasband

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

  1. Select Debug Mode

image

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

image

Thanks!

scuniff avatar Jul 22 '23 22:07 scuniff

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

phillipsar2 avatar Jul 28 '23 21:07 phillipsar2