If a client calls the reader's reset() method, the following exception is thrown
NullPointerException: Cannot invoke "javax.imageio.stream.ImageInputStream.getStreamPosition()" because "this.iis" is null
It is apparent that JKImageReader.setInput() ignores the possibility that the input parameter may be null, as it will be when called by ImageReader.reset() (the base class).
If a client calls the reader's
reset()
method, the following exception is thrownIt is apparent that
JKImageReader.setInput()
ignores the possibility that theinput
parameter may benull
, as it will be when called byImageReader.reset()
(the base class).