This archive contains answers to questions sent to Unidata support through mid-2025. Note that the archive is no longer being updated. We provide the archive for reference; many of the answers presented here remain technically correct, even if somewhat outdated. For the most up-to-date information on the use of NSF Unidata software and data services, please consult the Software Documentation first.
> Full Name: Don Murray > Email Address: address@hidden > Organization: CU/CIRES > Package Version: 3.1u1 build date:2012-11-09 18:55 UTC > Operating System: Mac OS X > Hardware: Java: home: > /System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home version: > 1.6.0_35 j3d:1.5.2 fcs (build4) > Description of problem: Using the latest nightly build, I get the following > error: > > Error invoking method: > ucar.unidata.idv.control.StationLocationControl.setStationModelName(java.lang.String) > java.lang.NullPointerException > > I'm guessing this has to do with the recent change made to > StationModelControl by Yuan. > My fault, it should be fixed. Yuan > Bundle attached. > > ****************** > Stack trace: > java.lang.NullPointerException > at > ucar.unidata.idv.control.StationModelControl.createStationModel(StationModelControl.java:2338) > at > ucar.unidata.idv.control.StationModelControl.setStationModelName(StationModelControl.java:2322) > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) > at > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) > at java.lang.reflect.Method.invoke(Method.java:597) > at ucar.unidata.xml.XmlEncoder.invokeMethod(XmlEncoder.java:2269) > at ucar.unidata.xml.XmlEncoder.createObjectInner(XmlEncoder.java:2179) > at ucar.unidata.xml.XmlEncoder.createObjectInner(XmlEncoder.java:1998) > at ucar.unidata.xml.XmlEncoder.invokeMethod(XmlEncoder.java:2238) > at ucar.unidata.xml.XmlEncoder.createObjectInner(XmlEncoder.java:2175) > at ucar.unidata.xml.XmlEncoder.createObjectInner(XmlEncoder.java:1998) > at ucar.unidata.xml.XmlEncoder.invokeMethod(XmlEncoder.java:2238) > at ucar.unidata.xml.XmlEncoder.createObjectInner(XmlEncoder.java:2175) > at ucar.unidata.xml.XmlEncoder.createObjectInner(XmlEncoder.java:1998) > at ucar.unidata.xml.XmlEncoder.createObject(XmlEncoder.java:1670) > at ucar.unidata.xml.XmlEncoder.toObjectInner(XmlEncoder.java:641) > at ucar.unidata.xml.XmlEncoder.toObject(XmlEncoder.java:598) > at ucar.unidata.xml.XmlEncoder.toObject(XmlEncoder.java:575) > at > ucar.unidata.idv.IdvPersistenceManager.decodeXmlInner(IdvPersistenceManager.java:3042) > at > ucar.unidata.idv.IdvPersistenceManager$11.run(IdvPersistenceManager.java:2867) > at ucar.unidata.util.Misc$3.run(Misc.java:1250) > > > Ticket Details =================== Ticket ID: OUG-643932 Department: Support IDV Priority: Normal Status: Closed