Re: problem with roiManager("Set Color", "<color>");
Posted by
Aryeh Weiss on
Mar 05, 2017; 5:23pm
URL: http://imagej.273.s1.nabble.com/problem-with-roiManager-Set-Color-color-tp5018225p5018227.html
Hi Michael
Thank you (and also Avital) for your quick replies.
On 05/03/2017 17:12, Michael Schmid wrote:
> Hi Aryeh,
>
> seems this is a bug in the daily build (I can reproduce it with 1.51m2).
> I can't get it with ImageJ 1.51k, which is the 'stable' release.
>
I confirm this -- 1.51k works, so it appears to be a bug in the daily
build.
--aryeh
> Michael
> ________________________________________________________________
>
>
> On 2017-03-05 13:44, Aryeh Weiss wrote:
>> If I run an macro with the following one command:
>>
>> roiManager("Set Color", "yellow");
>>
>> I get the following error:
>>
>> 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
>>
>> --aryeh
>>
>> --
>> Aryeh Weiss
>
--
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