All,
I am getting the following ArrayIndexOutOfBoundsException error when trying to produce an animation output from LAS Armstrong 1.1.1 using Ferret 6.08. The problem seems to occur on all files including datasets uses a descriptor files. Sometimes I will get a plot before the error occurs but no plot for other datasets. Is this fixed in a new release?
To recreate the error, use http://mynasadata.larc.nasa.gov/las.armstrong/servlets/dataset, Select Oceans, Weekly Sea Surface Temperature (or Daily SST and others), animation output.
From Catalina.out:
/usr/local/ferret-6.08/bin/ferret -memsize 16 -gif -server -script FBS.jnl /usr/local/tomcat/webapps/las.armstrong/WEB-INF/classes/resources/ferret/temp/ferret_operation_1212585074525.jnl
2008-06-04 09:11:18,544 ERROR product.server.LASAction - The backend service threw an uncaught exception
2008-06-04 09:11:18,544 ERROR product.server.LASAction - java.lang.ArrayIndexOutOfBoundsException: 1
org.apache.axis.message.SOAPFaultBuilder.createFault(SOAPFaultBuilder.java:222)
2008-06-04 09:11:18,592 ERROR product.server.LASAction - Error parsing the map scale file.
2008-06-04 09:11:18,592 ERROR product.server.LASAction - org.jdom.input.JDOMParseException: Error on line 23 of document file:/usr/local/tomcat/webapps/las.armstrong/output/FF0B89FDFDB84D475F2D16FE4BC78F43_map_scale.xml: Content is not allowed in trailing section.
2008-06-04 09:11:18,592 ERROR product.server.LASAction - org.jdom.input.SAXBuilder.build(SAXBuilder.java:465)
Contents of /usr/local/tomcat/webapps/las.armstrong/output/FF0B89FDFDB84D475F2D16FE4BC78F43_map_scale.xml:
<?xml version="1.0" encoding="UTF-8"?>
<map_scale>
<x_pixels_per_inch>63.650425</x_pixels_per_inch>
<y_pixels_per_inch>63.531353</y_pixels_per_inch>
<x_image_size>823.0</x_image_size>
<y_image_size>462.0</y_image_size>
<x_plot_size>682.96906</x_plot_size>
<y_plot_size>284.1122</y_plot_size>
<x_offset_from_left>76.380516</x_offset_from_left>
<y_offset_from_bottom>88.94389</y_offset_from_bottom>
<x_offset_from_right>63.650425</x_offset_from_right>
<y_offset_from_top>88.94389</y_offset_from_top>
<x_axis_lower_left>-180.35</x_axis_lower_left>
<y_axis_lower_left>-70.3</y_axis_lower_left>
<x_axis_upper_right>180.15</x_axis_upper_right>
<y_axis_upper_right>80.3</y_axis_upper_right>
<axis_horizontal />
<axis_vertical />
<axis_vertical_positive />
<axis_horizontal_positive />
</map_scale>
"AX_HORIZ" "X"
"AX_HORIZ_POSTV" " "
"AX_VERT" "Y"
"AX_VERT_POSTV" " "
"DATA_EXISTS" "1"
"DATA_MIN" "-0.5000"
"DATA_MAX" "32.30"