Login  Register

Re: Problem with Fit function in macro language with Fiji/ImageJ 1.48d but not Fiji/ImageJ 1.47v

Posted by Michael Schmid on Oct 10, 2013; 1:11pm
URL: http://imagej.273.s1.nabble.com/Problem-with-Fit-function-in-macro-language-with-Fiji-ImageJ-1-48d-but-not-Fiji-ImageJ-1-47v-tp5005121p5005122.html

Hi Laurent,

sorry, I fear that this bug was my fault, but I think it should be fixed in the current daily build (Help>Update ImageJ).
If this is not the case, please sent the part of the macro code that calls the curve fitting to me.

Michael
________________________________________________________________
On Oct 10, 2013, at 12:55, Gelman, Laurent wrote:

> Hi everybody,
>
> I have a macro in Fiji that was running fine until I made the latest upgrade of Fiji which installs ImageJ 1.48d. I have the error message copied below when using the Fit function. Downgrading ImageJ in Fiji to from 1.48d to 1.47v solves the problem...
>
> Thanks for your help and best regards,
>
> Laurent.
>
> Started Rieka_FRAP_V9_.ijm at Thu Oct 10 12:49:31 CEST 2013
> java.lang.NullPointerException: null
>            at ij.measure.CurveFitter.settingsDialog(CurveFitter.java:1182)
>            at ij.measure.CurveFitter.doFit(CurveFitter.java:175)
>            at ij.measure.CurveFitter.doCustomFit(CurveFitter.java:243)
>            at ij.macro.Functions.fitCurve(Functions.java:4754)
>            at ij.macro.Functions.fit(Functions.java:4684)
>            at ij.macro.Functions.getFunctionValue(Functions.java:229)
>            at ij.macro.Interpreter.getFactor(Interpreter.java:1363)
>            at ij.macro.Interpreter.getTerm(Interpreter.java:1334)
>            at ij.macro.Interpreter.getStringExpression(Interpreter.java:1474)
>            at ij.macro.Interpreter.getStringTerm(Interpreter.java:1293)
>            at ij.macro.Interpreter.getString(Interpreter.java:1250)
>            at ij.macro.Interpreter.doStatement(Interpreter.java:276)
>            at ij.macro.Interpreter.doBlock(Interpreter.java:586)
>            at ij.macro.Interpreter.doStatement(Interpreter.java:267)
>            at ij.macro.Interpreter.doIf(Interpreter.java:957)
>            at ij.macro.Interpreter.doStatement(Interpreter.java:243)
>            at ij.macro.Interpreter.doStatements(Interpreter.java:213)
>            at ij.macro.Interpreter.run(Interpreter.java:110)
>            at ij.macro.Interpreter.run(Interpreter.java:80)
>            at CLI.Refresh_Macros.runScript(Refresh_Macros.java:56)
>            at common.RefreshScripts.runScript(RefreshScripts.java:328)
>            at fiji.scripting.TextEditor$Tab$6.execute(TextEditor.java:1216)
>            at fiji.scripting.TextEditor$Executer$1.run(TextEditor.java:1776)
>
> _____________________________________________
> Laurent Gelman, PhD
> Head of Facility for Advanced Imaging and Microscopy
> (Light Microscopy)
>
> Friedrich Miescher Institut
> WRO 1066.2.16
> Maulbeerstrasse 66
> CH-4058 Basel
> +41 (0)61 696 43 38
> +41 (0)79 618 73 69
>
>
> --
> ImageJ mailing list: http://imagej.nih.gov/ij/list.html

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