ImageIO throws a NPE reading a byteArray of an JPEG2K image
I am executing the following code:
bi = ImageIO.read(byteArray);
For one particular JPEG2K image that I am processing, it throws a Throwable NPE. I have been processing others JPEG and JPEG2K just fine. I am using the latest stable version of ImageIO (1.1).
I appreciate if you can share some resolution to this one. I have been searching on the forum and cannot find anything close to this.