JavaFX 13 Webview hangs
Kevin Rushforth
kevin.rushforth at oracle.com
Mon Feb 10 14:59:49 UTC 2020
Seems I missed your comment about it being hung to the point you can't
run jstack.
If you are using JDK 12 or later, you might try with JDK 11 and see if
that makes a difference. It will help narrow it down to a change in the
JDK versus a change in JavaFX (although I suspect it's a change in JavaFX).
-- Kevin
On 2/10/2020 6:40 AM, Kevin Rushforth wrote:
> A thread stack dump using "jstack" might be helpful.
>
> Also, what version of the JDK are you running?
>
> -- Kevin
>
>
> On 2/9/2020 4:07 AM, Lior Yaffe wrote:
>> My application is a Java application running a Javascript/Html website
>> inside a JavaFX WebView. It was working stable for several years with
>> various versions of Java and JavaFX.
>> As far as I can tell it is following best coding practices such as
>> running
>> all UI code in the JavaFX thread and as such.
>>
>> Since upgrading to JavaFX 13 my application hangs sporadically. When it
>> happens the website running inside the webview becomes unresponsive and
>> displays an hourglass icon.
>> When the app hangs I cannot take a thread dump using jstack or close the
>> application. I have to kill it.
>>
>> The problem is reproduced on multiple Windows workstations. It was never
>> reported or reproduced on Linux or Mac so there is a chance it is
>> Windows
>> specific.
>> When the app hangs the CPU is ideal so this is not a busy loop.
>> Which diagnostic information can I obtain to better understand this
>> problem?
>
More information about the openjfx-dev
mailing list