-
Notifications
You must be signed in to change notification settings - Fork 180
ClassCastException thrown when trying to read a ucar.nc2.Variable that is an empty ucar.nc2.Structure or a member of an empty Structure #1212
Comments
@DennisHeimbigner - can you take a look at this one? |
ok |
It turns out this issue is related to this one: #1211 (comment) |
Just note that the issue occurs only for empty The following test passes without problems:
|
CCE-problem-report.zip
Summary:
The following
ClassCastException
is thrown when trying to read data from an empty Structure:Notes:
https://www.unidata.ucar.edu/software/netcdf/workshops/2010/groups-types/popup_groups-types_ObsDataExample_1.html via
ncgen -b odnc4_empty_structures.cdl
(see the attached .zip file for both the .cdl and the .nc file).Example test cases highlighting the issue are:
The text was updated successfully, but these errors were encountered: