Login  Register

Multi-Plot Java Illegal Argument Exception Error

Posted by Calenrandir on Nov 18, 2024; 8:02am
URL: http://astroimagej.170.s1.nabble.com/Multi-Plot-Java-Illegal-Argument-Exception-Error-tp2554.html

Whenever the Multi-Plot tool is opened, either by me or by Multi-Aperture, Java throws the following illegal argument exception in a separate window:

AIJ 5.3.4.02; ImageJ 1.54h2; Java 21.0.2 [64-bit]; Windows 11 10.0; 59MB of 25216MB (<1%)
 
java.lang.IllegalArgumentException: (minimum <= value <= maximum) is false
        at java.desktop/javax.swing.SpinnerNumberModel.<init>(Unknown Source)
        at java.desktop/javax.swing.SpinnerNumberModel.<init>(Unknown Source)
        at Astronomy.MultiPlot_.createFitPanel(MultiPlot_.java:14262)
        at Astronomy.MultiPlot_.showMoreCurvesJPanel(MultiPlot_.java:11074)
        at Astronomy.MultiPlot_.showMainJPanel(MultiPlot_.java:10972)
        at Astronomy.MultiPlot_.finishSetup(MultiPlot_.java:1137)
        at Astronomy.MultiPlot_.finishSetup(MultiPlot_.java:1133)
        at Astronomy.MultiPlot_.makeDummyTable(MultiPlot_.java:1157)
        at Astronomy.MultiPlot_.findTables(MultiPlot_.java:1046)
        at Astronomy.MultiPlot_.run(MultiPlot_.java:1036)
        at ij.IJ.runUserPlugIn(IJ.java:244)
        at ij.IJ.runPlugIn(IJ.java:210)
        at ij.Executer.runCommand(Executer.java:156)
        at ij.Executer.run(Executer.java:74)
        at ij.IJ.run(IJ.java:326)
        at ij.IJ.run(IJ.java:337)
        at ij.macro.Functions.doRun(Functions.java:720)
        at ij.macro.Functions.doFunction(Functions.java:116)
        at ij.macro.Interpreter.doStatement(Interpreter.java:287)
        at ij.macro.Interpreter.doBlock(Interpreter.java:721)
        at ij.macro.Interpreter.runMacro(Interpreter.java:196)
        at ij.macro.MacroRunner.run(MacroRunner.java:161)
        at java.base/java.lang.Thread.run(Unknown Source)

I have been able to manage, but Multi-Plot is a very useful tool I would like to be able to utilize again. I have reinstalled both AstroImageJ and Java, and also surfed the web a bit for solutions, but no luck.