Re: problem with roiManager("Set Color", "<color>");
Posted by
Wayne Rasband-2 on
Mar 05, 2017; 9:33pm
URL: http://imagej.273.s1.nabble.com/problem-with-roiManager-Set-Color-color-tp5018225p5018229.html
> On Mar 5, 2017, at 7:44 AM, Aryeh Weiss <
[hidden email]> wrote:
>
> If I run an macro with the following one command:
>
> roiManager("Set Color", "yellow");
>
> I get the following error:
This v1.51m2 regression is fixed in the latest daily build (1.51m3).
-wayne
> java.lang.NullPointerException
> at ij.plugin.frame.RoiManager.setProperties(RoiManager.java:1283)
> at ij.plugin.frame.RoiManager.runCommand(RoiManager.java:2032)
> at ij.macro.Functions.roiManager(Functions.java:2772)
> at ij.macro.Functions.getFunctionValue(Functions.java:230)
> at ij.macro.Interpreter.getFactor(Interpreter.java:1385)
> at ij.macro.Interpreter.getTerm(Interpreter.java:1356)
> at ij.macro.Interpreter.getStringExpression(Interpreter.java:1496)
> and a bunch more output.
>
> Running ImageJ 1.51m2, Java 1.8.0_112 (64 bit)
> MacOS 10.12.3
--
ImageJ mailing list:
http://imagej.nih.gov/ij/list.html