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.
Hello- > Full Name: Karim Bergaoui > Email Address: address@hidden > Organization: National Meteorological Institute of Tunisia > Package Version: 2.8 build date:2010-01-15 20:48 UTC > Operating System: Linux > Hardware: Java: home: /media/LaCie/CAIRO_2010/IDV_2.8/jre version: 1.6.0_17 > j3d:1.5.2 fcs (build4) > Description of problem: > > There was an error loading the data: > > java.lang.NullPointerException > > This error occur when I try to load a grib file !!! The error indicates that the IDV was trying to open this as a radar file. In the Files chooser, set the Data Source Type to "Grid files (netCDF/GRIB/OPeNDAP/GEMPAK)" and then try to load the file. Don Murray > ****************** > Stack trace: > java.lang.NullPointerException > at ucar.unidata.data.radar.CDMRadarAdapter.init(CDMRadarAdapter.java:326) > at ucar.unidata.data.radar.CDMRadarAdapter.<init>(CDMRadarAdapter.java:214) > at > ucar.unidata.data.radar.CDMRadarDataSource.makeRadarAdapter(CDMRadarDataSource.java:584) > at ucar.unidata.data.radar.RadarDataSource$1.run(RadarDataSource.java:298) > at visad.util.ThreadManager.runInParallel(ThreadManager.java:273) > at visad.util.ThreadManager.runInParallel(ThreadManager.java:245) > at visad.util.ThreadManager.runInParallel(ThreadManager.java:212) > at > ucar.unidata.data.radar.RadarDataSource.makeAdapters(RadarDataSource.java:320) > at > ucar.unidata.data.radar.RadarDataSource.getAdapters(RadarDataSource.java:252) > at > ucar.unidata.data.radar.RadarDataSource.getRadarAdapters(RadarDataSource.java:546) > at > ucar.unidata.data.radar.CDMRadarDataSource.doMakeDataChoices(CDMRadarDataSource.java:313) > at ucar.unidata.data.DataSourceImpl.getDataChoices(DataSourceImpl.java:1842) > at ucar.unidata.data.DataManager.createDataSource(DataManager.java:1567) > at > ucar.unidata.idv.IntegratedDataViewer.createDataSource(IntegratedDataViewer.java:1992) > at > ucar.unidata.idv.IntegratedDataViewer.makeDataSource(IntegratedDataViewer.java:1909) > at > ucar.unidata.idv.IntegratedDataViewer.makeDataSource(IntegratedDataViewer.java:1843) > at > ucar.unidata.idv.IntegratedDataViewer.makeDataSource(IntegratedDataViewer.java:1816) > at ucar.unidata.idv.chooser.IdvChooser.makeDataSource(IdvChooser.java:938) > at ucar.unidata.idv.chooser.FileChooser.selectFilesInner(FileChooser.java:648) > at ucar.unidata.idv.chooser.FileChooser.selectFiles(FileChooser.java:517) > at ucar.unidata.idv.chooser.FileChooser.doLoadInThread(FileChooser.java:539) > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) > at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) > at java.lang.reflect.Method.invoke(Unknown Source) > at ucar.unidata.util.Misc$2.run(Misc.java:1068) > at ucar.unidata.util.Misc$3.run(Misc.java:1096) > > > Ticket Details =================== Ticket ID: RXA-931865 Department: Support IDV Priority: Normal Status: Closed