On Wed, 22 Dec 2021 08:59:53 GMT, eduardsdv <d...@openjdk.java.net> wrote:
> The NullPointer occurs when `Accessible.getAttribute(Object)` returns null. > I checked all places where the `getAttribute(..)` method is called. > Everywhere it is checked for null `(Accessible,` `MacAccessible,` > `WinAccessible,` `WinTextRangeProvider`). Only at this one place in > `WinAccessible.GetPatternProvider(int)` it is missing. > > This PR adds this missing null-check in the > `WinAccessible.GetPatternProvider(int)` method. This looks like an obviously correct fix to me. ------------- Marked as reviewed by kcr (Lead). PR: https://git.openjdk.java.net/jfx/pull/700