Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8087970

WebEngine stucks in "Running" State

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Not an Issue
    • Icon: P4 P4
    • None
    • 8u40
    • javafx
    • Windows 8 64 bits

    • web

      I'm writing an application in JavaFX where I need to open some HTML files. For this, I have a TreeView that contains the list of files. Near of that TreeView, I have a TabPane which is intended to display the opened files. So, when the user double clicks on the file, I create a WebView, I load the url of that file in the WebEngine and a Tab (with the webview) is added to the TabPane. Pretty simple.

      The problem is the following : sometimes, the first time I'm trying to load the file, the WebEngine worker freezes on "RUNNING" state. It never changes to FAILED or SUCCEEDED, it just stays on Running.

      I don't know if I have to post the whole code. As this problem raised in a random way, I don't know if it will be relevant. Let me know if I have to do it.

      I'm not the only one to have this problem. This is a well-know bug. I've seen other people on Internet who faced the same issue :

      http://stackoverflow.com/questions/19298740/javafx-webengine-stuck-in-running-state

      Could you have an idea on why it appears and how to solve it ?

      Thanks.

            Unassigned Unassigned
            jbahatijfx Jiva Bahati (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported: