Closed Aynamic closed 4 months ago
Thanks for reporting this issue. I updated LASPoint with a method to check for RGB data and throw an IllegalStateException when getRed(), getGreen() or getBlue() is called on a point without RGB data.
See https://github.com/mreutegg/laszip4j/commit/a9ce67eef5170c9b4be02b73875f27e6324a3399
Change is included in laszip4j 0.18 release.
If the file has no color, a NullPointerException occurs when trying to read the R G B