[JHV 2.1] Uncaught exception when loading long AIA series
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
JHelioviewer |
Fix Released
|
Critical
|
Markus Langenberg |
Bug Description
Hi,
I just loaded a 500-frame AIA 171 series (2010/08/
Uncaught Exception detected.
JHelioviewer Version: 2.1.0
JHelioviewer Revision: 359
Date: Wed Nov 24 08:48:35 GMT 2010
Thread: Thread[
Message: For input string: "NAN"
Stacktrace:
java.lang.
at sun.misc.
at java.lang.
at org.helioviewer
at org.helioviewer
at org.helioviewer
at org.helioviewer
at org.helioviewer
at java.lang.
Related branches
Changed in jhelioviewer: | |
status: | In Progress → Fix Committed |
Changed in jhelioviewer: | |
status: | Fix Committed → Fix Released |
The exception was thrown during the this line (HelioviewerMet aData.java: 134):
double arcsecPerPixelX = metaDataContain er.tryGetDouble ("CDELT1" );
The request to read the value "CDELT1" from the meta data returned "NAN" instead of a floating point value, which was not expected and thus caused the crash. From my point of view, this value is invalid and should not appear in the meta data, thus, the corrupt meta data should be corrected. Or is it really intended to get a "NAN"? Then I need to know which value should be assumed by JHV, because NaN obviously won't do the job here... As one idea: If CDELT1 is NaN and CDELT2 is not, the later one can be used. But I don't know, if this was the case here, because I don't know the exact time stamp of the corrupted frame.