java.lang.ClassCastException: javafx.beans.property.SimpleStringProperty cannot be cast to javafx.beans.property.ObjectProperty

GitHub | minborg | 10 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Inconsistent label naming in UI and label not shown

    GitHub | 10 months ago | minborg
    java.lang.ClassCastException: javafx.beans.property.SimpleStringProperty cannot be cast to javafx.beans.property.ObjectProperty

    Root Cause Analysis

    1. java.lang.ClassCastException

      javafx.beans.property.SimpleStringProperty cannot be cast to javafx.beans.property.ObjectProperty

      at com.speedment.internal.ui.config.AbstractDocumentProperty.objectPropertyOf()
    2. com.speedment.internal
      WorkspaceController.lambda$new$0
      1. com.speedment.internal.ui.config.AbstractDocumentProperty.objectPropertyOf(AbstractDocumentProperty.java:210)
      2. com.speedment.internal.ui.config.trait.HasOrderTypeProperty.orderTypeProperty(HasOrderTypeProperty.java:35)
      3. com.speedment.internal.ui.config.trait.HasOrderTypeProperty.getUiVisibleProperties(HasOrderTypeProperty.java:48)
      4. com.speedment.internal.ui.config.IndexColumnProperty.getUiVisibleProperties(IndexColumnProperty.java:56)
      5. com.speedment.internal.ui.controller.WorkspaceController.lambda$new$0(WorkspaceController.java:67)
      5 frames
    3. com.sun.javafx
      ListListenerHelper.fireValueChangedEvent
      1. com.sun.javafx.collections.ListListenerHelper$SingleChange.fireValueChangedEvent(ListListenerHelper.java:164)
      2. com.sun.javafx.collections.ListListenerHelper.fireValueChangedEvent(ListListenerHelper.java:73)
      2 frames
    4. javafx.collections
      ModifiableObservableListBase.addAll
      1. javafx.collections.ObservableListBase.fireChange(ObservableListBase.java:233)
      2. javafx.collections.ListChangeBuilder.commit(ListChangeBuilder.java:482)
      3. javafx.collections.ListChangeBuilder.endChange(ListChangeBuilder.java:541)
      4. javafx.collections.ObservableListBase.endChange(ObservableListBase.java:205)
      5. javafx.collections.ModifiableObservableListBase.addAll(ModifiableObservableListBase.java:113)
      5 frames
    5. com.sun.javafx
      ReadOnlyUnbackedObservableList.callObservers
      1. com.sun.javafx.binding.ContentBinding$ListContentBinding.onChanged(ContentBinding.java:117)
      2. com.sun.javafx.collections.ListListenerHelper$SingleChange.fireValueChangedEvent(ListListenerHelper.java:164)
      3. com.sun.javafx.collections.ListListenerHelper.fireValueChangedEvent(ListListenerHelper.java:73)
      4. com.sun.javafx.scene.control.ReadOnlyUnbackedObservableList.callObservers(ReadOnlyUnbackedObservableList.java:75)
      4 frames
    6. FXSampler
      MultipleSelectionModelBase$1.onChanged
      1. javafx.scene.control.MultipleSelectionModelBase$1.onChanged(MultipleSelectionModelBase.java:97)
      1 frame
    7. com.sun.javafx
      ReadOnlyUnbackedObservableList.callObservers
      1. com.sun.javafx.collections.ListListenerHelper$Generic.fireValueChangedEvent(ListListenerHelper.java:329)
      2. com.sun.javafx.collections.ListListenerHelper.fireValueChangedEvent(ListListenerHelper.java:73)
      3. com.sun.javafx.scene.control.ReadOnlyUnbackedObservableList.callObservers(ReadOnlyUnbackedObservableList.java:75)
      3 frames
    8. FXSampler
      TreeView$TreeViewBitSetSelectionModel.clearAndSelect
      1. javafx.scene.control.MultipleSelectionModelBase.clearAndSelect(MultipleSelectionModelBase.java:378)
      2. javafx.scene.control.TreeView$TreeViewBitSetSelectionModel.clearAndSelect(TreeView.java:1477)
      2 frames
    9. com.sun.javafx
      CellBehaviorBase.mousePressed
      1. com.sun.javafx.scene.control.behavior.CellBehaviorBase.simpleSelect(CellBehaviorBase.java:256)
      2. com.sun.javafx.scene.control.behavior.CellBehaviorBase.doSelect(CellBehaviorBase.java:220)
      3. com.sun.javafx.scene.control.behavior.CellBehaviorBase.mousePressed(CellBehaviorBase.java:150)
      3 frames
    10. FXSampler
      BehaviorSkinBase$1.handle
      1. com.sun.javafx.scene.control.skin.BehaviorSkinBase$1.handle(BehaviorSkinBase.java:95)
      2. com.sun.javafx.scene.control.skin.BehaviorSkinBase$1.handle(BehaviorSkinBase.java:89)
      2 frames
    11. com.sun.javafx
      EventUtil.fireEvent
      1. com.sun.javafx.event.CompositeEventHandler$NormalEventHandlerRecord.handleBubblingEvent(CompositeEventHandler.java:218)
      2. com.sun.javafx.event.CompositeEventHandler.dispatchBubblingEvent(CompositeEventHandler.java:80)
      3. com.sun.javafx.event.EventHandlerManager.dispatchBubblingEvent(EventHandlerManager.java:238)
      4. com.sun.javafx.event.EventHandlerManager.dispatchBubblingEvent(EventHandlerManager.java:191)
      5. com.sun.javafx.event.CompositeEventDispatcher.dispatchBubblingEvent(CompositeEventDispatcher.java:59)
      6. com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(BasicEventDispatcher.java:58)
      7. com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(EventDispatchChainImpl.java:114)
      8. com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(BasicEventDispatcher.java:56)
      9. com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(EventDispatchChainImpl.java:114)
      10. com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(BasicEventDispatcher.java:56)
      11. com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(EventDispatchChainImpl.java:114)
      12. com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(BasicEventDispatcher.java:56)
      13. com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(EventDispatchChainImpl.java:114)
      14. com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(BasicEventDispatcher.java:56)
      15. com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(EventDispatchChainImpl.java:114)
      16. com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(BasicEventDispatcher.java:56)
      17. com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(EventDispatchChainImpl.java:114)
      18. com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(BasicEventDispatcher.java:56)
      19. com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(EventDispatchChainImpl.java:114)
      20. com.sun.javafx.event.EventUtil.fireEventImpl(EventUtil.java:74)
      21. com.sun.javafx.event.EventUtil.fireEvent(EventUtil.java:54)
      21 frames
    12. javafx.event
      Event.fireEvent
      1. javafx.event.Event.fireEvent(Event.java:198)
      1 frame
    13. javafx.scene
      Scene$ScenePeerListener.mouseEvent
      1. javafx.scene.Scene$MouseHandler.process(Scene.java:3757)
      2. javafx.scene.Scene$MouseHandler.access$1500(Scene.java:3485)
      3. javafx.scene.Scene.impl_processMouseEvent(Scene.java:1762)
      4. javafx.scene.Scene$ScenePeerListener.mouseEvent(Scene.java:2494)
      4 frames
    14. com.sun.javafx
      GlassViewEventHandler$MouseEventNotification.run
      1. com.sun.javafx.tk.quantum.GlassViewEventHandler$MouseEventNotification.run(GlassViewEventHandler.java:380)
      2. com.sun.javafx.tk.quantum.GlassViewEventHandler$MouseEventNotification.run(GlassViewEventHandler.java:294)
      2 frames
    15. Java RT
      AccessController.doPrivileged
      1. java.security.AccessController.doPrivileged(Native Method)
      1 frame
    16. com.sun.javafx
      GlassViewEventHandler.handleMouseEvent
      1. com.sun.javafx.tk.quantum.GlassViewEventHandler.lambda$handleMouseEvent$354(GlassViewEventHandler.java:416)
      2. com.sun.javafx.tk.quantum.QuantumToolkit.runWithoutRenderLock(QuantumToolkit.java:389)
      3. com.sun.javafx.tk.quantum.GlassViewEventHandler.handleMouseEvent(GlassViewEventHandler.java:415)
      3 frames
    17. com.sun.glass
      View.notifyMouse
      1. com.sun.glass.ui.View.handleMouseEvent(View.java:555)
      2. com.sun.glass.ui.View.notifyMouse(View.java:937)
      2 frames