Which version of hdf-java and the libraries are you using? Also, what is your 
environment: OS version, compiler, etc.?

Allen

> Hi,
> I'm using HDF with java using ncsa.hdf.
> I tries to write a hdf file with an attribute. I tried to use the following
> example:
> http://www.hdfgroup.org/ftp/HDF5/hdf-java/src/hdf-java/examples/intro/H5_CreateAttribute.java
> I've got an exception:
> ncsa.hdf.hdf5lib.exceptions.HDF5LibraryException
> ncsa.hdf.hdf5lib.exceptions.HDF5LibraryException
> at ncsa.hdf.hdflib.H5._H5Fopen(Native Method)
> at ncsa.hdf.hdflib.H5.H5Fopen(H5.java:1295)
> at intro.H5_CreateAttribute.main(H5_CreateAttribute.java:106)
> HDF5-DIAG: Error detected in hdf HDF5 (1.8.4) thread 0:
>  #000: ..\..\..\src\H5Edeprec.c line 182 in
> H5Eget_minor(): not a error message ID
>  major: Invalid arguments to routine
>  minor: Inappropriate type
> 
> Why did it happen?
> thanks
> 

_______________________________________________
Hdf-forum is for HDF software users discussion.
[email protected]
http://mail.hdfgroup.org/mailman/listinfo/hdf-forum_hdfgroup.org

Reply via email to