Plugin for dynamically loaded library:Can't open directory or file ["H5PL.c line 402 in H5PL__find()

i have a h5 file and i want to read its data in my java program. first of all, i import the sis-jhdf5-batteries_included.jar to my project, then, i use the follow code to read a dataset:

 

IHDF5Reader reader=HDF5Factory.openForReading(h5filepath);
reader.int16().readArray("/REF/DataSet_1000_1");
reader.close();

 

unfortunatly, when i run the program, it thorws out an exception:

in thread "main" ncsa.hdf.hdf5lib.exceptions.HDF5LibraryException: Plugin for dynamically loaded library:Can't open directory or file ["H5PL.c line 402 in H5PL__find(): can't open directory"]
	at ch.systemsx.cisd.hdf5.hdf5lib.H5.H5Dread(Native Method)
	at ch.systemsx.cisd.hdf5.hdf5lib.H5D.H5Dread(H5D.java:381)
	at ch.systemsx.cisd.hdf5.HDF5.readDataSet(HDF5.java:944)
	at ch.systemsx.cisd.hdf5.HDF5ShortReader.readShortArray(HDF5ShortReader.java:199)
	at ch.systemsx.cisd.hdf5.HDF5ShortReader.access$1(HDF5ShortReader.java:192)
	at ch.systemsx.cisd.hdf5.HDF5ShortReader$5.call(HDF5ShortReader.java:186)
	at ch.systemsx.cisd.hdf5.HDF5ShortReader$5.call(HDF5ShortReader.java:1)
	at ch.systemsx.cisd.hdf5.cleanup.CleanUpCallable.call(CleanUpCallable.java:40)
	at ch.systemsx.cisd.hdf5.HDF5ShortReader.readArray(HDF5ShortReader.java:189)
	at VariableTest.main(VariableTest.java:24)

i don't know how to solve this problem, anyone can help me?

the h5 file's data format like this ( use hdfview to open it ):

exception.pngwhen i double click on the DataSet_1000_1, the same exception happens:exception1.png

the DataSet_1000_1 in fact is a 2D image (1200*1200)

any answer will be appreciated, thanks in advance!

1 answer

1 accepted

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

Post a new question

0 votes
Answer accepted

Could you explain what this has to do with Atlassian applications?

Nothing then, I think you're in the wrong place.

Community showcase
Posted 10 hours ago in United States

Confluence Security Advisory

Good morning Members, Not sure if you are aware. Please read the following: https://www.icloud.com/keynote/0RyJ4VEdNUpjDpGfMhfZx9fEg#Confluence_Security_Advisor More details: https://co...

24 views 1 0
View post

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you