Unidata - To provide the data services, tools, and cyberinfrastructure leadership that advance Earth system science, enhance educational opportunities, and broaden participation. Unidata
         
  advanced  
 

setRange on IsoContour gives NullPointerException

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

 
 
  Contact Us     Site Map     Search     Terms and Conditions     Privacy Policy     Participation Policy
 
National Science Foundation (NSF) UCAR Community Programs   Unidata is a member of the UCAR Community Programs, is managed by the University Corporation for Atmospheric Research, and is sponsored by the National Science Foundation.
P.O. Box 3000     Boulder, CO 80307-3000 USA     Tel: 303-497-8643     Fax: 303-497-8690