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 pull request has now been integrated.

Changeset: c705bd49
Author:    eduardsdv <53449139+eduard...@users.noreply.github.com>
Committer: Kevin Rushforth <k...@openjdk.org>
URL:       
https://git.openjdk.java.net/jfx/commit/c705bd493931d88650542be5466d6add359f45b9
Stats:     1 line in 1 file changed: 1 ins; 0 del; 0 mod

8203463: [Accessibility, Narrator] NPE in TableView

Reviewed-by: kcr

-------------

PR: https://git.openjdk.java.net/jfx/pull/700

Reply via email to