Edited to add
This seems linked to an old OpenJDK bug
https://bugs.openjdk.java.net/browse/JDK-5101502This is a more accurate stacktrace (right at at moment of exception) using the 5.10 develop branch
PixelInterleavedSampleModel(SampleModel).<init>(int, int, int, int) line: not available
PixelInterleavedSampleModel(ComponentSampleModel).<init>(int, int, int, int, int, int[]) line: not available
PixelInterleavedSampleModel.<init>(int, int, int, int, int, int[]) line: not available
PixelInterleavedSampleModel.createCompatibleSampleModel(int, int) line: not available
J2KReadState.readAsRaster() line: 429
J2KImageReader.readRaster(int, ImageReadParam) line: 556
JAIIIOServiceImpl.readRaster(InputStream, JPEG2000CodecOptions) line: 174
JPEG2000Codec.decompress(byte[], CodecOptions) line: 281
JPEG2000Codec.decompress(RandomAccessInputStream, CodecOptions) line: 253
JPEG2000Reader.openBytes(int, byte[], int, int, int, int) line: 181
JP2KSlideReader.main(String[]) line: 68