RFR: 8336031: Create implementation of NSAccessibilityStaticText protocol [v3]

Alexander Zuev kizune at openjdk.org
Fri Aug 23 06:47:12 UTC 2024


On Tue, 6 Aug 2024 17:17:15 GMT, Andy Goryachev <angorya at openjdk.org> wrote:

> Item 4 seems to have been introduced by this PR - don't see the issue with the master branch. Also, notice that we don't get a stack trace but a bunch of concatenated messages.

I can not reproduce this on my build - probably because i use Ensemble to test WebView, i will try again with MonkeyTester - but with Ensemble even without my fix i see a bunch of exceptions just by scrolling with my trackpad (without VoiceOver so not caused by the a11y code) that look like this:

SEVERE: RenderJob error
java.util.concurrent.ExecutionException: java.lang.NullPointerException: Cannot invoke "com.sun.prism.RTTexture.contentsUseful()" because "this.txt" is null
	at java.base/java.util.concurrent.FutureTask.report(FutureTask.java:122)
	at java.base/java.util.concurrent.FutureTask.get(FutureTask.java:191)
	at javafx.web at 24-internal/com.sun.javafx.webkit.prism.PrismInvoker.runOnRenderThread(PrismInvoker.java:93)
...

so i just wonder if there is something with github site which WebView can not load or parse which leads to the displayed structure being not correct hence errors when a11y code fetches properties of the text elements.

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

PR Comment: https://git.openjdk.org/jfx/pull/1507#issuecomment-2306401192


More information about the openjfx-dev mailing list