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.
> Yuan- > > I put in a temporary fix for this. The problem is that the getStringValue > on the attribute is returning null. Is this a change in the netCDF > library or something that you changed on the IOSP side? > > Don We will keep this temporary fix for a while, the issue is that level3 datasets return VCP as a numerical type, not a string, I will revisit this issue after making some changes in the CDM side. Yuan > > > Full Name: Don > > Email Address: address@hidden > > Organization: Unidata > > Package Version: 2.7a1 build date:2009-03-15 12:30 UTC > > Operating System: Windows XP > > Hardware: Java: home: c:\Program Files\Java\jdk1.5.0_17\jre version: > > 1.5.0_17 j3d:1.5.2 fcs (build4) > > Description of problem: Yuan- > > > > I'm gettting a NullPointerException with the attached bundle. The code is: > > > > if(vcp.equalsIgnoreCase("RHI")) { > > isRHI = true; > > } > > > > loadDataSource > > java.lang.NullPointerException > > > > ****************** > > Stack trace: > > java.lang.NullPointerException > > at ucar.unidata.data.radar.CDMRadarAdapter.init(CDMRadarAdapter.java:317) > > at ucar.unidata.data.radar.CDMRadarAdapter.<init>(CDMRadarAdapter.java:172) > > at > > ucar.unidata.data.radar.CDMRadarDataSource.makeRadarAdapter(CDMRadarDataSource.java:531) > > at ucar.unidata.data.radar.RadarDataSource$1.run(RadarDataSource.java:291) > > at visad.util.ThreadManager$1.run(ThreadManager.java:284) > > at visad.util.ThreadPool$ThreadMinnow.run(ThreadPool.java:98) > > > > > > > Ticket Details =================== Ticket ID: XME-177353 Department: Support IDV Priority: Normal Status: Closed