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

setCancelButton throws NPE

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3 P3
    • 8
    • 7u40
    • javafx

      Glass detected outstanding Java exception at -[GlassViewDelegate sendJavaMouseEvent:]:src/com/sun/mat/ui/GlassViewDelegate.m:541
      Exception in thread "JavaFX Application Thread" java.lang.NullPointerException
      at com.sun.javafx.scene.control.skin.ButtonSkin.setCancelButton(ButtonSkin.java:169)
      at com.sun.javafx.scene.control.skin.ButtonSkin.handleControlPropertyChanged(ButtonSkin.java:77)
      at com.sun.javafx.scene.control.skin.SkinBase$3.changed(SkinBase.java:282)
      at javafx.beans.value.WeakChangeListener.changed(WeakChangeListener.java:107)
      at com.sun.javafx.binding.ExpressionHelper$SingleChange.fireValueChangedEvent(ExpressionHelper.java:196)
      at com.sun.javafx.binding.ExpressionHelper.fireValueChangedEvent(ExpressionHelper.java:100)
      at javafx.beans.property.BooleanPropertyBase.fireValueChangedEvent(BooleanPropertyBase.java:121)
      at javafx.beans.property.BooleanPropertyBase.markInvalid(BooleanPropertyBase.java:128)
      at javafx.beans.property.BooleanPropertyBase.set(BooleanPropertyBase.java:161)
      at javafx.scene.control.Button.setCancelButton(Button.java:143)
      at com.intuism.ui.form.button.CancelButton.<init>(CancelButton.java:21)
      at com.intuism.ui.form.button.CancelButton.<init>(CancelButton.java:16)
      at com.intuism.ui.dialog.Dialog.updateChoiceButtons(Dialog.java:262)
      at com.intuism.ui.dialog.Dialog$1.onChanged(Dialog.java:94)
      at com.sun.javafx.binding.ListExpressionHelper$SingleListChange.fireValueChangedEvent(ListExpressionHelper.java:319)
      at com.sun.javafx.binding.ListExpressionHelper.fireValueChangedEvent(ListExpressionHelper.java:128)
      at javafx.beans.property.ListPropertyBase.fireValueChangedEvent(ListPropertyBase.java:221)
      at javafx.beans.property.ListPropertyBase$1.onChanged(ListPropertyBase.java:76)
      at com.sun.javafx.collections.ListListenerHelper$SingleChange.fireValueChangedEvent(ListListenerHelper.java:134)
      at com.sun.javafx.collections.ListListenerHelper.fireValueChangedEvent(ListListenerHelper.java:48)
      at com.sun.javafx.collections.ObservableListWrapper.callObservers(ObservableListWrapper.java:97)
      at com.sun.javafx.collections.ObservableListWrapper.setAll(ObservableListWrapper.java:303)
      at com.sun.javafx.collections.ObservableListWrapper.setAll(ObservableListWrapper.java:314)
      at com.intuism.ui.dialog.Dialog.setChoices(Dialog.java:253)
      at com.wefend.pc.protection.ProtectionDialog.<init>(ProtectionDialog.java:146)
      at com.wefend.pc.protection.ProtectionDialog.show(ProtectionDialog.java:280)
      at com.wefend.pc.protection.ProtectionRadar.toggleProtection(ProtectionRadar.java:47)
      at com.wefend.pc.protection.ProtectionRadar$2.handle(ProtectionRadar.java:38)
      at com.wefend.pc.protection.ProtectionRadar$2.handle(ProtectionRadar.java:35)
      at com.sun.javafx.event.CompositeEventHandler.dispatchBubblingEvent(CompositeEventHandler.java:64)
      at com.sun.javafx.event.EventHandlerManager.dispatchBubblingEvent(EventHandlerManager.java:217)
      at com.sun.javafx.event.EventHandlerManager.dispatchBubblingEvent(EventHandlerManager.java:170)
      at com.sun.javafx.event.CompositeEventDispatcher.dispatchBubblingEvent(CompositeEventDispatcher.java:38)
      at com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(BasicEventDispatcher.java:37)
      at com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(EventDispatchChainImpl.java:92)
      at com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(BasicEventDispatcher.java:35)
      at com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(EventDispatchChainImpl.java:92)
      at com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(BasicEventDispatcher.java:35)
      at com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(EventDispatchChainImpl.java:92)
      at com.sun.javafx.event.EventUtil.fireEventImpl(EventUtil.java:53)
      at com.sun.javafx.event.EventUtil.fireEvent(EventUtil.java:33)
      at javafx.event.Event.fireEvent(Event.java:171)
      at javafx.scene.Scene$MouseHandler.process(Scene.java:3324)
      at javafx.scene.Scene$MouseHandler.process(Scene.java:3164)
      at javafx.scene.Scene$MouseHandler.access$1900(Scene.java:3119)
      at javafx.scene.Scene.impl_processMouseEvent(Scene.java:1559)
      at javafx.scene.Scene$ScenePeerListener.mouseEvent(Scene.java:2261)
      at com.sun.javafx.tk.quantum.GlassViewEventHandler.handleMouseEvent(GlassViewEventHandler.java:228)
      at com.sun.glass.ui.View.handleMouseEvent(View.java:528)
      at com.sun.glass.ui.View.notifyMouse(View.java:922)

            miflemi Mick Fleming
            risaksen Randahl Isaksen
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported: