Open shalk opened 2 years ago
@shalk thanks for filing this. Can you share an image that reproduces this issue?
It may be that the value is sometimes a string, and sometimes a Byte
. I would prefer to only parse when the value is actually a string.
echo @drewnoakes' request for source image. I had only seen similar problems when the BPLIST was malformed or un-parsable. The top object is expected to be a map of bytes (a dict
by the marker).
Also have an error while reading exif: java.lang.ClassCastException: java.lang.Integer cannot be cast to java.lang.Long at com.drew.metadata.apple.AppleRunTimeReader.processAppleRunTime(AppleRunTimeReader.java:75) version: 2.18.0 file attached.
the exception info is as follow
https://github.com/drewnoakes/metadata-extractor/blob/2.16.0/Source/com/drew/metadata/exif/ExifTiffHandler.java#L385
byte flags = (Byte)values.get("flags");
I have debug into the line. the value of "flags" is "1" ,type is char[]
is Byte.parseByte(values.get("flags").toString()) right?