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

NPE in StyleManager.removeFromCacheMap

    XMLWordPrintable

Details

    • Bug
    • Status: Resolved
    • P4
    • Resolution: Fixed
    • 8
    • 8
    • javafx
    • None
    • JavaFX 8 b80

    Description

      Getting this while navigating a TableView control.

      java.lang.NullPointerException
      at com.sun.javafx.css.StyleManager.removeFromCacheMap(StyleManager.java:460)
      at com.sun.javafx.css.StyleManager.clearCache(StyleManager.java:400)
      at com.sun.javafx.css.StyleManager.removeFromCacheMap(StyleManager.java:478)
      at com.sun.javafx.css.StyleManager.clearCache(StyleManager.java:400)
      at com.sun.javafx.css.StyleManager.processChange(StyleManager.java:381)
      at com.sun.javafx.css.StyleManager.stylesheetsChanged(StyleManager.java:341)
      at javafx.scene.Parent$3.onChanged(Parent.java:1074)
      at com.sun.javafx.collections.TrackableObservableList$1.onChanged(TrackableObservableList.java:48)
      at com.sun.javafx.collections.ListListenerHelper$SingleChange.fireValueChangedEvent(ListListenerHelper.java:158)
      at com.sun.javafx.collections.ListListenerHelper.fireValueChangedEvent(ListListenerHelper.java:72)
      at javafx.collections.ObservableListBase.fireChange(ObservableListBase.java:233)
      at javafx.collections.ListChangeBuilder.commit(ListChangeBuilder.java:370)
      at javafx.collections.ListChangeBuilder.endChange(ListChangeBuilder.java:429)
      at javafx.collections.ObservableListBase.endChange(ObservableListBase.java:205)
      at com.sun.javafx.collections.ObservableListWrapper.clear(ObservableListWrapper.java:159)
      at hs.mediasystem.screens.selectmedia.DetailPane$2.changed(DetailPane.java:49)
      at com.sun.javafx.binding.ExpressionHelper$SingleChange.fireValueChangedEvent(ExpressionHelper.java:176)
      at com.sun.javafx.binding.ExpressionHelper.fireValueChangedEvent(ExpressionHelper.java:80)
      at javafx.beans.binding.ObjectBinding.invalidate(ObjectBinding.java:171)
      at javafx.beans.binding.When$WhenListener.invalidated(When.java:108)
      at com.sun.javafx.binding.ExpressionHelper$Generic.fireValueChangedEvent(ExpressionHelper.java:339)
      at com.sun.javafx.binding.ExpressionHelper.fireValueChangedEvent(ExpressionHelper.java:80)
      at javafx.beans.property.ObjectPropertyBase.fireValueChangedEvent(ObjectPropertyBase.java:103)
      at javafx.beans.property.ObjectPropertyBase.markInvalid(ObjectPropertyBase.java:110)
      at javafx.beans.property.ObjectPropertyBase.access$100(ObjectPropertyBase.java:49)
      at javafx.beans.property.ObjectPropertyBase$Listener.invalidated(ObjectPropertyBase.java:219)
      at com.sun.javafx.binding.ExpressionHelper$SingleInvalidation.fireValueChangedEvent(ExpressionHelper.java:135)
      at com.sun.javafx.binding.ExpressionHelper.fireValueChangedEvent(ExpressionHelper.java:80)
      at javafx.beans.binding.ObjectBinding.invalidate(ObjectBinding.java:171)
      at hs.mediasystem.util.MapBindings$Helper$1.invalidated(MapBindings.java:188)
      at javafx.beans.WeakInvalidationListener.invalidated(WeakInvalidationListener.java:81)
      at com.sun.javafx.binding.ExpressionHelper$Generic.fireValueChangedEvent(ExpressionHelper.java:339)
      at com.sun.javafx.binding.ExpressionHelper.fireValueChangedEvent(ExpressionHelper.java:80)
      at javafx.beans.binding.ObjectBinding.invalidate(ObjectBinding.java:171)
      at com.sun.javafx.binding.BindingHelperObserver.invalidated(BindingHelperObserver.java:51)
      at com.sun.javafx.binding.ExpressionHelper$Generic.fireValueChangedEvent(ExpressionHelper.java:339)
      at com.sun.javafx.binding.ExpressionHelper.fireValueChangedEvent(ExpressionHelper.java:80)
      at javafx.beans.property.ReadOnlyObjectWrapper$ReadOnlyPropertyImpl.fireValueChangedEvent(ReadOnlyObjectWrapper.java:175)
      at javafx.beans.property.ReadOnlyObjectWrapper.fireValueChangedEvent(ReadOnlyObjectWrapper.java:141)
      at javafx.beans.property.ObjectPropertyBase.markInvalid(ObjectPropertyBase.java:110)
      at javafx.beans.property.ObjectPropertyBase.set(ObjectPropertyBase.java:143)
      at javafx.scene.control.TableView$TableViewFocusModel.setFocusedCell(TableView.java:2068)
      at javafx.scene.control.TableView$TableViewFocusModel.focus(TableView.java:2111)
      at javafx.scene.control.TableView$TableViewArrayListSelectionModel.focus(TableView.java:1929)
      at javafx.scene.control.TableView$TableViewArrayListSelectionModel.focus(TableView.java:1923)
      at javafx.scene.control.TableView$TableViewArrayListSelectionModel.select(TableView.java:1593)
      at javafx.scene.control.TableView$TableViewArrayListSelectionModel.clearAndSelect(TableView.java:1563)
      at javafx.scene.control.TableView$TableViewArrayListSelectionModel.clearAndSelect(TableView.java:1267)
      at com.sun.javafx.scene.control.behavior.TableViewBehaviorBase.selectCell(TableViewBehaviorBase.java:830)
      at com.sun.javafx.scene.control.behavior.TableViewBehaviorBase.selectLeftCell(TableViewBehaviorBase.java:802)
      at com.sun.javafx.scene.control.behavior.TableViewBehaviorBase.callAction(TableViewBehaviorBase.java:163)
      at com.sun.javafx.scene.control.behavior.BehaviorBase.callActionForEvent(BehaviorBase.java:181)
      at com.sun.javafx.scene.control.behavior.TableViewBehaviorBase.callActionForEvent(TableViewBehaviorBase.java:213)
      at com.sun.javafx.scene.control.behavior.BehaviorBase$1.handle(BehaviorBase.java:125)
      at com.sun.javafx.scene.control.behavior.BehaviorBase$1.handle(BehaviorBase.java:122)
      at com.sun.javafx.event.CompositeEventHandler$NormalEventHandlerRecord.handleBubblingEvent(CompositeEventHandler.java:218)
      at com.sun.javafx.event.CompositeEventHandler.dispatchBubblingEvent(CompositeEventHandler.java:80)
      at com.sun.javafx.event.EventHandlerManager.dispatchBubblingEvent(EventHandlerManager.java:238)
      at com.sun.javafx.event.EventHandlerManager.dispatchBubblingEvent(EventHandlerManager.java:191)
      at com.sun.javafx.event.CompositeEventDispatcher.dispatchBubblingEvent(CompositeEventDispatcher.java:59)
      at com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(BasicEventDispatcher.java:58)
      at com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(EventDispatchChainImpl.java:113)
      at com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(BasicEventDispatcher.java:56)
      at com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(EventDispatchChainImpl.java:113)
      at com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(BasicEventDispatcher.java:56)
      at hs.mediasystem.util.SceneUtil$1.dispatchEvent(SceneUtil.java:23)
      at com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(EventDispatchChainImpl.java:113)
      at com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(BasicEventDispatcher.java:56)
      at com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(EventDispatchChainImpl.java:113)
      at com.sun.javafx.event.EventUtil.fireEventImpl(EventUtil.java:74)
      at com.sun.javafx.event.EventUtil.fireEvent(EventUtil.java:54)
      at javafx.event.Event.fireEvent(Event.java:202)
      at javafx.scene.Scene$KeyHandler.process(Scene.java:3681)
      at javafx.scene.Scene$KeyHandler.access$2100(Scene.java:3640)
      at javafx.scene.Scene.impl_processKeyEvent(Scene.java:1909)
      at javafx.scene.Scene$ScenePeerListener.keyEvent(Scene.java:2355)
      at com.sun.javafx.tk.quantum.GlassViewEventHandler$KeyEventNotification.run(GlassViewEventHandler.java:158)
      at com.sun.javafx.tk.quantum.GlassViewEventHandler$KeyEventNotification.run(GlassViewEventHandler.java:122)
      at java.security.AccessController.doPrivileged(Native Method)
      at com.sun.javafx.tk.quantum.GlassViewEventHandler.handleKeyEvent(GlassViewEventHandler.java:186)
      at com.sun.glass.ui.View.handleKeyEvent(View.java:510)
      at com.sun.glass.ui.View.notifyKey(View.java:911)
      at com.sun.glass.ui.win.WinApplication._runLoop(Native Method)
      at com.sun.glass.ui.win.WinApplication.access$300(WinApplication.java:39)
      at com.sun.glass.ui.win.WinApplication$3$1.run(WinApplication.java:101)
      at java.lang.Thread.run(Thread.java:722)

      Attachments

        Activity

          People

            dgrieve David Grieve
            jhendrikx John Hendrikx
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              Imported: