Login  Register

Re: problem with roiManager("Set Color", "<color>");

Posted by Aryeh Weiss on Mar 06, 2017; 8:06am
URL: http://imagej.273.s1.nabble.com/problem-with-roiManager-Set-Color-color-tp5018225p5018234.html

On 05/03/2017 23:33, Wayne Rasband wrote:

>> 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
Thank you. Works as advertised.

--aryeh

>> 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
>


--
Aryeh Weiss
Faculty of Engineering
Bar Ilan University
Ramat Gan 52900 Israel

Ph:  972-3-5317638
FAX: 972-3-7384051

--
ImageJ mailing list: http://imagej.nih.gov/ij/list.html