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

Mac: Multitouch exception

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • 8
    • 8
    • javafx
    • jdk1.8.0b75

      to reproduce:
      1. run any app with combobox;
      2. click on the combobox to open popup;
      3. put two fingers and start moving; while moving two fingers put the third finger to the touchpad.

      Glass detected outstanding Java exception at -[GlassTouches(hidden) sendJavaTouchEvent:]:src/com/sun/mat/ui/GlassTouches.m:333
      Exception in thread "JavaFX Application Thread" java.lang.NullPointerException
      at javafx.scene.Scene$ScenePeerListener.scrollEvent(Scene.java:2354)
      at com.sun.javafx.tk.quantum.GlassViewEventHandler.handleScrollGestureEvent(GlassViewEventHandler.java:699)
      at com.sun.glass.ui.View.handleScrollGestureEvent(Unknown Source)
      at com.sun.glass.ui.View.notifyScrollGestureEvent(Unknown Source)
      at com.sun.glass.ui.GestureSupport.handleScrollingEnd(Unknown Source)
      at com.sun.glass.ui.GestureSupport$1.touchCountChanged(Unknown Source)
      at com.sun.glass.ui.TouchInputSupport.notifyEndTouchEvent(Unknown Source)
      at com.sun.glass.ui.mac.MacTouchInputSupport.notifyEndTouchEvent(Unknown Source)
      at com.sun.glass.ui.mac.MacGestureSupport.notifyEndTouchEvent(Unknown Source)

      public void start(Stage primaryStage) {
              
              
              StackPane root = new StackPane();
              
              ComboBox cb = new ComboBox();
              for (int i = 0; i < 10; i++) {
                  cb.getItems().add("Item - " + i);
              }
              root.getChildren().add(cb);
              
              Scene scene = new Scene(root, 300, 250);
              
              primaryStage.setTitle(VersionInfo.getRuntimeVersion());
              primaryStage.setScene(scene);
              primaryStage.show();
          }

            pchelko Petr Pchelko (Inactive)
            dzinkevi Dmitry Zinkevich (Inactive)
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported: