NOTICE: This version of the NSF Unidata web site (archive.unidata.ucar.edu) is no longer being updated.
Current content can be found at unidata.ucar.edu.
To learn about what's going on, see About the Archive Site.
John J Brecht wrote: > > when i try to call setRange on an IsoContour I get a > NullPointerException. Specifically it happens at line 435 of > ScalarMap.java: > > ((ContourControl) control).getMainContours(bvalues, values); > > It would seem that "control" is null at this point. The general context > of this is that I am adding the ranges of Display objects to what is > saved by the SpreadSheet's save function. When I try to open a > SpreadSheet file containing a cell which has data mapped to IsoContour, > when I get to the point in my code where I call setRange on that map, I > get the above exception. > > john Also, is there any way to get at the currently selected values of a SelectRangeWidget (which i want to do for the same reason as above)? I've tried to look into it, and it seems they are based on the value of minValue and MaxValue in RangeSlider, which have no accessors.
visad
archives: