stain/jai-imageio-core — pull request #3 by codyebberson (2013-12-20 23:53:13+00:00)
Title: Fixed NullPointerException in J2KImageReader

Calling "readAsRaster" with J2KImageReader resulted in a NullPointerException,
because sampleModel was not instantiated.

The similar nearby method "readAsBufferedImage" instantiated sampleModel with
the existing method, getSampleModel().

Using the same pattern in "readAsRaster".