[HDF Forum] [HDFView / Java HDF Object Package] Help Request regarding Java 3.3.2

2022-04-14 Thread byrn


3.x versions fixed the exception handling in the java code. Prior versions 
(2.6.1) would silently ignore exceptions.
Also added logging, which is the log you are showing. In that log, all those 
lines start with INFO and shows what 2.6.1 was likely doing without advertising 
it.

In this particular case, anytime an H5ScalarDS.init call happened it would also 
attempt to read if the dataset was an image. The image CF; checking for the 
three attributes that indicate an image. If you look at the stack, you will see 
the failure to find an Attribute with the name PALETTE and that the Exception 
was "Expected". 

No unexpected errors, and there should be a way to switch the logging to NOP or 
just ignore the log.





---
[Visit 
Topic](https://forum.hdfgroup.org/t/help-request-regarding-java-3-3-2/9672/2) 
or reply to this email to respond.

You are receiving this because you enabled mailing list mode.

To unsubscribe from these emails, [click 
here](https://forum.hdfgroup.org/email/unsubscribe/00413fe0d9457ca8f709052694b9f05fa73a5b8ca14d765771bb9ee761e475b7).


[HDF Forum] [HDFView / Java HDF Object Package] Help request with Java 3.3.2

2022-04-22 Thread byrn


3.3 hdfjava added exception handling and reporting. This is likely what you are 
running into, they were always there, just being ignored.

Also, hdfjava would always check for image attributes by name, if a dataset was 
opened and those log errors are a result of blindly calling 
H5Aget_attribute_by_name.

Allen





---
[Visit Topic](https://forum.hdfgroup.org/t/help-request-with-java-3-3-2/9673/2) 
or reply to this email to respond.

You are receiving this because you enabled mailing list mode.

To unsubscribe from these emails, [click 
here](https://forum.hdfgroup.org/email/unsubscribe/f8a6b9f5ec62280386d50d946c5d8229afa390b8bfdd25b3274ce9aaa07c2a4f).