NPE in LZ4FrameInputStream#available
lpireyn opened this issue · 2 comments
lpireyn commented
The available
method in class LZ4FrameInputStream
assumes the buffer
field is not null
. However, that field is set in the private readHeader
method which may not have been executed yet. This results in a NullPointerException
being thrown by the available
method if it is called right after the LZ4FrameInputStream
is created.
odaira commented
Thanks for the report! I'll take a look into the problem.
darkleaf commented
up