Aperiodically, I am getting the following exception while using the Java hdf5 API:
ncsa.hdf.hdf5lib.exceptions.HDF5LibraryException
HDF5-DIAG: Error detected in HDF5 (1.8.4-patch1) thread 0:
#000: H5Edeprec.c line 182 in H5Eget_minor(): not a error message ID
major: Invalid arguments to routine
minor: Inappropriate type
ncsa.hdf.hdf5lib.exceptions.HDF5LibraryException
at ncsa.hdf.hdf5lib.H5._H5Dget_type(Native Method)
at ncsa.hdf.hdf5lib.H5.H5Dget_type(H5.java:874)
at ncsa.hdf.object.h5.H5ScalarDS.read(H5ScalarDS.java:602)
Naturally, I checked whether or not the arguments to the H5ScalarDS.read are valid, and from what I can tell they are, i.e., they are within range of the dataset dimensions. The main problem is that the error doesn't occur every time I run the code, but since the Exception looked super cryptic I was wondering if anyone had an inkling.
thanks, jim
Hi Jim,
Do you have any small example file and some isolated sample code that can
reproduce the problem?
Thanks
--pc
···
On 12/7/2010 2:41 PM, James Bullard wrote:
Aperiodically, I am getting the following exception while using the Java hdf5 API:
ncsa.hdf.hdf5lib.exceptions.HDF5LibraryException
HDF5-DIAG: Error detected in HDF5 (1.8.4-patch1) thread 0:
#000: H5Edeprec.c line 182 in H5Eget_minor(): not a error message ID
major: Invalid arguments to routine
minor: Inappropriate type
ncsa.hdf.hdf5lib.exceptions.HDF5LibraryException
at ncsa.hdf.hdf5lib.H5._H5Dget_type(Native Method)
at ncsa.hdf.hdf5lib.H5.H5Dget_type(H5.java:874)
at ncsa.hdf.object.h5.H5ScalarDS.read(H5ScalarDS.java:602)
Naturally, I checked whether or not the arguments to the H5ScalarDS.read are valid, and from what I can tell they are, i.e., they are within range of the dataset dimensions. The main problem is that the error doesn't occur every time I run the code, but since the Exception looked super cryptic I was wondering if anyone had an inkling.
thanks, jim
_______________________________________________
Hdf-forum is for HDF software users discussion.
Hdf-forum@hdfgroup.org
http://mail.hdfgroup.org/mailman/listinfo/hdf-forum_hdfgroup.org