Re: Plate solve hangs
Posted by andreok on Feb 21, 2022; 12:50pm
URL: http://astroimagej.170.s1.nabble.com/Plate-solve-hangs-tp1765p1779.html
Hello Karen,
Thank you very much for the information.
In general, the development of AIJ follows the same principals as the IJ (extensions using plugins and scripts/macros)?
I think I managed to capture the exception with the "Annotate" option on and using the java -jar ij.jar (with the JDK17.0.2):
"$ java -jar ij.jar
Exception in thread "Run$_Thread-0" java.lang.NullPointerException: Cannot invoke "String.equals(Object)" because the return value of "ij.gui.Roi.getName()" is null
at astroj.OverlayCanvas.add(OverlayCanvas.java:40)
at astroj.Astrometry.addAnnotateRoi(Astrometry.java:1281)
at astroj.Astrometry.solve(Astrometry.java:852)
at astroj.AstroStackWindow$9.run(AstroStackWindow.java:4513)"
It looks like the Astrometry thread is aborting at the call to addAnnotateRoi(), due to a NullPointerException.
Thanks,
Andre