[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[IDV #IOZ-671527]: cannot write .zidv file -- all fields return "null pointer exception"

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.


  • Subject: [IDV #IOZ-671527]: cannot write .zidv file -- all fields return "null pointer exception"
  • Date: Wed, 11 Feb 2015 10:43:07 -0700

Brian,

That is what you get for using the nightly :-) But seriously, thanks for the
heads up.

This problem is indeed a bug in nc-java. We are working with Jon's group to
fix the issue ASAP.

In the meantime please use 5.0u2 which does not have this problem.

Also, please test your zidv bundle without Internet connectivity to verify it
really does what you expect.

Best,

Unidata IDV Support



> Full Name: brian mapes
> Email Address: address@hidden
> Organization: u of miami
> Package Version: 5.0u3 build date:2015-02-04 08:05 UTC
> Operating System: Mac OS X
> Hardware: Java: home: /Applications/IDV_5.0u3/jre.bundle/Contents/Home/jre 
> version: 1.7.0_67 j3d:1.6.0-pre9-daily-experimental daily
> Description of problem: Error writing local netcdf file.
> Data:dods://rda.ucar.edu/thredds/dodsC/aggregations/e/ds629.1/9/best
> Variables:[Geopotential_surface, Total_column_water_vapour_surface]
> java.lang.NullPointerException
> 
> 
> I really want to carry this to India tomorow, where internet may be poor. 
> Help?
> 
> 
> ******************
> Stack trace:
> java.lang.NullPointerException
> at ucar.nc2.dt.grid.CFGridWriter2.writeOrTestSize(CFGridWriter2.java:227)
> at ucar.nc2.dt.grid.CFGridWriter2.writeFile(CFGridWriter2.java:112)
> at 
> ucar.unidata.data.grid.GeoGridDataSource.writeNc(GeoGridDataSource.java:937)
> at 
> ucar.unidata.data.grid.GeoGridDataSource.saveDataToLocalDisk(GeoGridDataSource.java:780)
> at 
> ucar.unidata.data.DataSourceImpl.saveDataToLocalDisk(DataSourceImpl.java:2773)
> at 
> ucar.unidata.idv.IdvPersistenceManager.showDataEmbedGui(IdvPersistenceManager.java:2317)
> at 
> ucar.unidata.idv.IdvPersistenceManager.doSave(IdvPersistenceManager.java:1308)
> at 
> ucar.unidata.idv.IdvPersistenceManager.doSave(IdvPersistenceManager.java:1205)
> at 
> ucar.unidata.idv.IdvPersistenceManager.doSaveAs(IdvPersistenceManager.java:687)
> at 
> ucar.unidata.idv.IntegratedDataViewer$10.run(IntegratedDataViewer.java:2761)
> at ucar.unidata.util.Misc$3.run(Misc.java:1243)
> 
> 
> 


Ticket Details
===================
Ticket ID: IOZ-671527
Department: Support IDV
Priority: Normal
Status: Closed