I do not understand. I retried a process. Create a barcode with barcode4j, add it in a document. Print the document to scan it after into a PNG file. Extract manually the barcode to another PNG file. Pass this file to my software which use ZXing and ZXing have always this exception.
I even retried to scan the datamatrix directly from a smartphone (with flashcode and quickmark) and that works :s
I attached the created Barcode (extractedBarcode.png) and the extracted barcode (extractedDatamatrix.png)
Have you got any idea? Is my extracted barcode is a wild animal? :)