BUG 1.49i Get a null pointer exception in Measure!

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

BUG 1.49i Get a null pointer exception in Measure!

robert atwood
Hi,

I just found that if I use

-- Analyse->Set Measuremnts->Standard deviation
-- Select a rectangle in the image
-- Analyse->Measure

I get a Null Pointer Exception in Java.

Reverting to 1.49g -- this problem does not happen.

Thanks!
Robert



--
This e-mail and any attachments may contain confidential, copyright and or privileged material, and are for the use of the intended addressee only. If you are not the intended addressee or an authorised recipient of the addressee please notify us of receipt by returning the e-mail and do not use, copy, retain, distribute or disclose the information in or attached to the e-mail.
Any opinions expressed within this e-mail are those of the individual and not necessarily of Diamond Light Source Ltd.
Diamond Light Source Ltd. cannot guarantee that this e-mail or any attachments are free from viruses and we cannot accept liability for any damage which you may sustain as a result of software viruses which may be transmitted in or with the message.
Diamond Light Source Limited (company no. 4375679). Registered in England and Wales with its registered office at Diamond House, Harwell Science and Innovation Campus, Didcot, Oxfordshire, OX11 0DE, United Kingdom


--
ImageJ mailing list: http://imagej.nih.gov/ij/list.html
Reply | Threaded
Open this post in threaded view
|

Re: BUG 1.49i Get a null pointer exception in Measure!

robert atwood
Dear Wayne

Thanks for checking this. I am afraid that now when I re-revert to 1.49i it does not happen anymore.
However, I am using a installation on a shared storage under linux (RHEL6) if that helps, it may be dependent upon exactly which workstation is logged in.
If there were corrupted data and re-upgrading has fixed it maybe it will not happen, but if it does I will certainly let you know.
We are using an ImageJ macro for an autofocus routine that uses measure->standard deviation on a few regions in each  slice of a stack so if it happens again  I will know about it soon.

Regards,
Robert

  ____________________
  Dr. Robert C. Atwood
  Senior Support Scientist
  Beamline I12-JEEP
  The Joint Engineering and Environmental Processing Beamline
  Diamond Light Source
  The Harwell Science and Innovation Campus
  Didcot,OXON
  OX11 0DE
  +44 (0) 1235 778 670






From: Wayne Rasband [mailto:[hidden email]]
Sent: 17 October 2014 22:15
To: Atwood, Robert (DLSLtd,RAL,SCI)
Subject: RE: BUG 1.49i Get a null pointer exception in Measure!

Hi Robert,

I am unable to reproduce this problem. Please send a small macro that causes the exception. It would also help if you could send the full exception stack trace.

Best regards,

-wayne

-------- Original message --------
From: Robert Atwood
Date:10/17/2014 9:22 AM (GMT-05:00)
To: [hidden email]<mailto:[hidden email]>
Subject: BUG 1.49i Get a null pointer exception in Measure!

Hi,

I just found that if I use

-- Analyse->Set Measuremnts->Standard deviation
-- Select a rectangle in the image
-- Analyse->Measure

I get a Null Pointer Exception in Java.

Reverting to 1.49g -- this problem does not happen.

Thanks!
Robert



--
This e-mail and any attachments may contain confidential, copyright and or privileged material, and are for the use of the intended addressee only. If you are not the intended addressee or an authorised recipient of the addressee please notify us of receipt by returning the e-mail and do not use, copy, retain, distribute or disclose the information in or attached to the e-mail.
Any opinions expressed within this e-mail are those of the individual and not necessarily of Diamond Light Source Ltd.
Diamond Light Source Ltd. cannot guarantee that this e-mail or any attachments are free from viruses and we cannot accept liability for any damage which you may sustain as a result of software viruses which may be transmitted in or with the message.
Diamond Light Source Limited (company no. 4375679). Registered in England and Wales with its registered office at Diamond House, Harwell Science and Innovation Campus, Didcot, Oxfordshire, OX11 0DE, United Kingdom


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

--
ImageJ mailing list: http://imagej.nih.gov/ij/list.html
Reply | Threaded
Open this post in threaded view
|

FW: BUG 1.49i Get a null pointer exception in Measure!

robert atwood
In reply to this post by robert atwood
>
> Dear  Wayne:
> Here is the stack trace !
> Reverting to 1.49g stopped it happening.
> I am on a different workstation than I was on this morning (I was at
> home) Thank you for looking at this.
>
> We use ImageJ all the time here.
>

ImageJ 1.49i; Java 1.6.0_10 [64-bit]; Linux 2.6.32-431.20.5.el6.x86_64; 120MB of 14112MB (<1%)
 
java.lang.NullPointerException
        at java.text.DecimalFormat.<init>(DecimalFormat.java:444)
        at ij.measure.ResultsTable.d2s(ResultsTable.java:656)
        at ij.measure.ResultsTable.n(ResultsTable.java:589)
        at ij.measure.ResultsTable.getValueAsString(ResultsTable.java:578)
        at ij.measure.ResultsTable.getRowAsString(ResultsTable.java:551)
        at ij.plugin.filter.Analyzer.displayResults(Analyzer.java:741)
        at ij.plugin.filter.Analyzer.run(Analyzer.java:93)
        at ij.plugin.filter.PlugInFilterRunner.processOneImage(PlugInFilterRunner.java:262)
        at ij.plugin.filter.PlugInFilterRunner.<init>(PlugInFilterRunner.java:111)
        at ij.IJ.runPlugIn(IJ.java:174)
        at ij.Executer.runCommand(Executer.java:131)
        at ij.Executer.run(Executer.java:61)
        at java.lang.Thread.run(Thread.java:619)



> -----Original Message-----
> From: Atwood, Robert (DLSLtd,RAL,SCI)
> Sent: 21 October 2014 01:08
> To: 'Rasband, Wayne (NIH/NIMH) [E]'
> Cc: [hidden email]
> Subject: RE: BUG 1.49i Get a null pointer exception in Measure!
>
> Dear  Wayne:
> Here is the stack trace !
> Reverting to 1.49g stopped it happening.
> I am on a different workstation than I was on this morning (I was at
> home) Thank you for looking at this.
>
> We use ImageJ all the time here.
>
>
>
> Sincerely,
> Robert Atwood
>
>   ____________________
>
>   Dr. Robert C. Atwood
>   Senior Support Scientist
>   Beamline I12-JEEP
>   The Joint Engineering and Environmental Processing Beamline
>   Diamond Light Source
>   The Harwell Science and Innovation Campus
>   Didcot,OXON
>   OX11 0DE
>   +44 (0) 1235 778 670
>
>
>
>
>
>
>
>
> > -----Original Message-----
> > From: Rasband, Wayne (NIH/NIMH) [E] [mailto:[hidden email]]
> > Sent: 20 October 2014 18:41
> > To: Atwood, Robert (DLSLtd,RAL,SCI)
> > Subject: Re: BUG 1.49i Get a null pointer exception in Measure!
> >
> > Dear Robert,
> >
> > Thanks for the update. If the error does re-occur, please send the
> > full null pointer exception stack trace.
> >
> > Best regards,
> >
> > -wayne
> >
> > > On Oct 20, 2014, at 6:52 AM, Robert Atwood
> > <[hidden email]> wrote:
> > >
> > > Dear Wayne
> > >
> > > Thanks for checking this. I am afraid that now when I re-revert to
> > 1.49i it does not happen anymore.
> > > However, I am using a installation on a shared storage under linux
> > (RHEL6) if that helps, it may be dependent upon exactly which
> > workstation is logged in.
> > > If there were corrupted data and re-upgrading has fixed it maybe it
> > will not happen, but if it does I will certainly let you know.
> > > We are using an ImageJ macro for an autofocus routine that uses
> > measure->standard deviation on a few regions in each  slice of a
> stack
> > so if it happens again  I will know about it soon.
> > >
> > > Regards,
> > > Robert
> > >
> > >  ____________________
> > >  Dr. Robert C. Atwood
> > >  Senior Support Scientist
> > >  Beamline I12-JEEP
> > >  The Joint Engineering and Environmental Processing Beamline
> > > Diamond Light Source  The Harwell Science and Innovation Campus
> > > Didcot,OXON
> > >  OX11 0DE
> > >  +44 (0) 1235 778 670
> > >
> > >
> > >
> > >
> > >
> > >
> > > From: Wayne Rasband [mailto:[hidden email]]
> > > Sent: 17 October 2014 22:15
> > > To: Atwood, Robert (DLSLtd,RAL,SCI)
> > > Subject: RE: BUG 1.49i Get a null pointer exception in Measure!
> > >
> > > Hi Robert,
> > >
> > > I am unable to reproduce this problem. Please send a small macro
> > > that
> > causes the exception. It would also help if you could send the full
> > exception stack trace.
> > >
> > > Best regards,
> > >
> > > -wayne
> > >
> > > -------- Original message --------
> > > From: Robert Atwood
> > > Date:10/17/2014 9:22 AM (GMT-05:00)
> > > To: [hidden email]<mailto:[hidden email]>
> > > Subject: BUG 1.49i Get a null pointer exception in Measure!
> > >
> > > Hi,
> > >
> > > I just found that if I use
> > >
> > > -- Analyse->Set Measuremnts->Standard deviation
> > > -- Select a rectangle in the image
> > > -- Analyse->Measure
> > >
> > > I get a Null Pointer Exception in Java.
> > >
> > > Reverting to 1.49g -- this problem does not happen.
> > >
> > > Thanks!
> > > Robert
> > >
> > >
> > >
> > > --
> > > This e-mail and any attachments may contain confidential, copyright
> > and or privileged material, and are for the use of the intended
> > addressee only. If you are not the intended addressee or an
> authorised
> > recipient of the addressee please notify us of receipt by returning
> > the e-mail and do not use, copy, retain, distribute or disclose the
> > information in or attached to the e-mail.
> > > Any opinions expressed within this e-mail are those of the
> > > individual
> > and not necessarily of Diamond Light Source Ltd.
> > > Diamond Light Source Ltd. cannot guarantee that this e-mail or any
> > attachments are free from viruses and we cannot accept liability for
> > any damage which you may sustain as a result of software viruses
> which
> > may be transmitted in or with the message.
> > > Diamond Light Source Limited (company no. 4375679). Registered in
> > England and Wales with its registered office at Diamond House,
> Harwell
> > Science and Innovation Campus, Didcot, Oxfordshire, OX11 0DE, United
> > Kingdom
> > >
> > >
> > > --
> > > ImageJ mailing list: http://imagej.nih.gov/ij/list.html
> > >
> > > --
> > > ImageJ mailing list: http://imagej.nih.gov/ij/list.html


--
This e-mail and any attachments may contain confidential, copyright and or privileged material, and are for the use of the intended addressee only. If you are not the intended addressee or an authorised recipient of the addressee please notify us of receipt by returning the e-mail and do not use, copy, retain, distribute or disclose the information in or attached to the e-mail.
Any opinions expressed within this e-mail are those of the individual and not necessarily of Diamond Light Source Ltd.
Diamond Light Source Ltd. cannot guarantee that this e-mail or any attachments are free from viruses and we cannot accept liability for any damage which you may sustain as a result of software viruses which may be transmitted in or with the message.
Diamond Light Source Limited (company no. 4375679). Registered in England and Wales with its registered office at Diamond House, Harwell Science and Innovation Campus, Didcot, Oxfordshire, OX11 0DE, United Kingdom


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