Fixed bug in DTEDRasterReader where AVList was assumed non-null by mikeoertli · Pull Request #7 · NASAWorldWind/WorldWindJava
I was talking with @pdavidc about this and he pointed out there is a null check for setting the params to the AVList on line 61 of the current method. So it does seem a null check is missing at the point you identified. If you are up for it, I'll merge the request if you add a null check before the first call to the params.setValue method.
With the params null check on line 61 and, any new instantiation of AVList dropping out of scope at the end of the method, I don't think instantiating a new AVList is required, what about you?
Let me know if you have any questions or if I missed something. Please match the formatting of the existing code to include the bracket positioning and order of null check if statements.
Thanks @mikeoertli for the catch! We appreciate your effort to make WWJ better!