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

[WebView] Outstanding resource locks detected

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P3 P3
    • None
    • 8u20
    • javafx
    • Windows 8 x64
      Intel i5 - 8Gb RAM
      Java 8u20 64bit

    • web

      I' m getting this error when opening a web page using WebView:

      Outstanding resource locks detected:
      D3D Vram Pool: 17.885.568 used (6,7%), 17.885.568 managed (6,7%), 268.435.456 total
      14 total resources being managed
      average resource age is 0,8 frames
      0 resources at maximum supported age (0,0%)
      7 resources marked permanent (50,0%)
      2 resources have had mismatched locks (14,3%)
      2 resources locked (14,3%)
      8 resources contain interesting data (57,1%)
      0 resources disappeared (0,0%)

      Here is the code that reproduces the problem:

      package sample;

      import javafx.application.Application;
      import javafx.scene.Scene;
      import javafx.scene.layout.StackPane;
      import javafx.scene.web.WebView;
      import javafx.stage.Stage;

      public class Main extends Application {

          @Override
          public void start(Stage primaryStage) throws Exception{

              StackPane stackPane = new StackPane();
              WebView webView = new WebView();
              stackPane.getChildren().addAll(webView);

              webView.getEngine().load("http://dygraphs.com/");

              primaryStage.setTitle("Hello World");
              primaryStage.setScene(new Scene(stackPane, 800, 480));
              primaryStage.show();
          }

          public static void main(String[] args) {
              launch(args);
          }
      }

      The page loaded is "http://dygraphs.com/" and it's supposed to show some lines in the chart but they are not being showed and this error is thrown.

            loneid Leonid Popov (Inactive)
            duke J. Duke
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported: