java.lang.AssertionError

YouTrack | 3 months ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    While doing some random operations (was trying to add TreeTableView) in SceneBuilder Application , i observed below NPE in windows 7, 64 bit with JDK-9. I am getting this NPE consistently now.I attached the screenshot (SceneGraph-NPE.png) to check the scenegraph components. Aug 01, 2016 6:23:55 PM com.oracle.javafx.scenebuilder.app.SceneBuilderApp$SceneBuilderUncaughtExceptionHandler uncaughtException SEVERE: An exception was thrown: java.lang.NullPointerException at com.oracle.javafx.scenebuilder.kit.editor.panel.content.driver.TreeTableViewDesignInfoX.getColumnHeaderBounds(TreeTableViewDesignInfoX.java:89) at com.oracle.javafx.scenebuilder.kit.editor.panel.content.driver.handles.TreeTableViewHandles.layoutGrip(TreeTableViewHandles.java:139) at com.oracle.javafx.scenebuilder.kit.editor.panel.content.driver.handles.TreeTableViewHandles.layoutDecoration(TreeTableViewHandles.java:84) at com.oracle.javafx.scenebuilder.kit.editor.panel.content.AbstractDecoration.rootNodeSceneDidChange(AbstractDecoration.java:215) at com.oracle.javafx.scenebuilder.kit.editor.panel.content.AbstractDecoration.lambda$new$0(AbstractDecoration.java:81) at com.sun.javafx.binding.ExpressionHelper$SingleChange.fireValueChangedEvent(ExpressionHelper.java:181) at com.sun.javafx.binding.ExpressionHelper.fireValueChangedEvent(ExpressionHelper.java:80) at javafx.beans.property.ReadOnlyObjectPropertyBase.fireValueChangedEvent(ReadOnlyObjectPropertyBase.java:74) at javafx.beans.property.ReadOnlyObjectWrapper.fireValueChangedEvent(ReadOnlyObjectWrapper.java:102) at javafx.scene.Node$ReadOnlyObjectWrapperManualFire.fireSuperValueChangedEvent(Node.java:1043) at javafx.scene.Node.invalidatedScenes(Node.java:1105) at javafx.scene.Node.setScenes(Node.java:1143) at javafx.scene.Parent$2.onChanged(Parent.java:391) at com.sun.javafx.collections.TrackableObservableList.lambda$new$0(TrackableObservableList.java:45) at com.sun.javafx.collections.ListListenerHelper$Generic.fireValueChangedEvent(ListListenerHelper.java:329) at com.sun.javafx.collections.ListListenerHelper.fireValueChangedEvent(ListListenerHelper.java:73) at javafx.collections.ObservableListBase.fireChange(ObservableListBase.java:233) at javafx.collections.ListChangeBuilder.commit(ListChangeBuilder.java:482) at javafx.collections.ListChangeBuilder.endChange(ListChangeBuilder.java:541) at javafx.collections.ObservableListBase.endChange(ObservableListBase.java:205) at javafx.collections.ModifiableObservableListBase.add(ModifiableObservableListBase.java:155) at java.util.AbstractList.add(AbstractList.java:109) at com.sun.javafx.collections.VetoableListDecorator.add(VetoableListDecorator.java:209) at com.oracle.javafx.scenebuilder.kit.editor.panel.content.mode.EditModeController.updateHandles(EditModeController.java:449) at com.oracle.javafx.scenebuilder.kit.editor.panel.content.mode.EditModeController.updateHandles(EditModeController.java:384) at com.oracle.javafx.scenebuilder.kit.editor.panel.content.mode.EditModeController.editorSelectionDidChange(EditModeController.java:188) at com.oracle.javafx.scenebuilder.kit.editor.panel.content.ContentPanelController.editorSelectionDidChange(ContentPanelController.java:789) at com.oracle.javafx.scenebuilder.kit.editor.panel.util.AbstractPanelController.lambda$new$5(AbstractPanelController.java:231) at com.sun.javafx.binding.ExpressionHelper$Generic.fireValueChangedEvent(ExpressionHelper.java:360) at com.sun.javafx.binding.ExpressionHelper.fireValueChangedEvent(ExpressionHelper.java:80) at javafx.beans.property.IntegerPropertyBase.fireValueChangedEvent(IntegerPropertyBase.java:107) at javafx.beans.property.IntegerPropertyBase.markInvalid(IntegerPropertyBase.java:114) at javafx.beans.property.IntegerPropertyBase.set(IntegerPropertyBase.java:148) at com.oracle.javafx.scenebuilder.kit.editor.selection.Selection.incrementRevision(Selection.java:506) at com.oracle.javafx.scenebuilder.kit.editor.selection.Selection.endUpdate(Selection.java:454) at com.oracle.javafx.scenebuilder.kit.editor.job.BatchSelectionJob.execute(BatchSelectionJob.java:69) at com.oracle.javafx.scenebuilder.kit.editor.job.reference.UpdateReferencesJob.execute(UpdateReferencesJob.java:78) at com.oracle.javafx.scenebuilder.kit.editor.JobManager.executeJob(JobManager.java:193) at com.oracle.javafx.scenebuilder.kit.editor.JobManager.push(JobManager.java:82) at com.oracle.javafx.scenebuilder.kit.editor.EditorController.performInsert(EditorController.java:1610) at com.oracle.javafx.scenebuilder.kit.editor.panel.library.LibraryListCell.handleMouseEvent(LibraryListCell.java:219) at com.oracle.javafx.scenebuilder.kit.editor.panel.library.LibraryListCell.lambda$new$0(LibraryListCell.java:91) 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:114) at com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(BasicEventDispatcher.java:56) at com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(EventDispatchChainImpl.java:114) at com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(BasicEventDispatcher.java:56) at com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(EventDispatchChainImpl.java:114) at com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(BasicEventDispatcher.java:56) at com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(EventDispatchChainImpl.java:114) at com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(BasicEventDispatcher.java:56) at com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(EventDispatchChainImpl.java:114) at com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(BasicEventDispatcher.java:56) at com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(EventDispatchChainImpl.java:114) at com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(BasicEventDispatcher.java:56) at com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(EventDispatchChainImpl.java:114) at com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(BasicEventDispatcher.java:56) at com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(EventDispatchChainImpl.java:114) at com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(BasicEventDispatcher.java:56) at com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(EventDispatchChainImpl.java:114) at com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(BasicEventDispatcher.java:56) at com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(EventDispatchChainImpl.java:114) at com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(BasicEventDispatcher.java:56) at com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(EventDispatchChainImpl.java:114) 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:198) at javafx.scene.Scene$ClickGenerator.postProcess(Scene.java:3583) at javafx.scene.Scene$ClickGenerator.access$8300(Scene.java:3511) at javafx.scene.Scene$MouseHandler.process(Scene.java:3879) at javafx.scene.Scene$MouseHandler.access$1300(Scene.java:3598) at javafx.scene.Scene.processMouseEvent(Scene.java:1868) at javafx.scene.Scene$ScenePeerListener.mouseEvent(Scene.java:2607) at com.sun.javafx.tk.quantum.GlassViewEventHandler$MouseEventNotification.run(GlassViewEventHandler.java:382) at com.sun.javafx.tk.quantum.GlassViewEventHandler$MouseEventNotification.run(GlassViewEventHandler.java:295) at java.security.AccessController.doPrivileged(Native Method) at com.sun.javafx.tk.quantum.GlassViewEventHandler.lambda$handleMouseEvent$2(GlassViewEventHandler.java:418) at com.sun.javafx.tk.quantum.QuantumToolkit.runWithoutRenderLock(QuantumToolkit.java:389) at com.sun.javafx.tk.quantum.GlassViewEventHandler.handleMouseEvent(GlassViewEventHandler.java:417) at com.sun.glass.ui.View.handleMouseEvent(View.java:555) at com.sun.glass.ui.View.notifyMouse(View.java:937) at com.sun.glass.ui.win.WinApplication._runLoop(Native Method) at com.sun.glass.ui.win.WinApplication.lambda$runLoop$3(WinApplication.java:189) at java.lang.Thread.run(Thread.java:804)

    JDK Bug System | 8 months ago | Murali Billa
    java.lang.NullPointerException
  2. Speed up your debug routine!

    Automated exception search integrated into your IDE

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.AssertionError

      No message provided

      at com.oracle.javafx.scenebuilder.kit.editor.panel.inspector.editors.AnchorPaneConstraintsEditor$ConstraintEditor.getValueEditor()
    2. com.oracle.javafx
      InspectorPanelController.lambda$controllerDidLoadFxml$140
      1. com.oracle.javafx.scenebuilder.kit.editor.panel.inspector.editors.AnchorPaneConstraintsEditor$ConstraintEditor.getValueEditor(AnchorPaneConstraintsEditor.java:281)
      2. com.oracle.javafx.scenebuilder.kit.editor.panel.inspector.InspectorPanelController.setEditorValueFromSelection(InspectorPanelController.java:1330)
      3. com.oracle.javafx.scenebuilder.kit.editor.panel.inspector.InspectorPanelController.getInitializedPropertiesEditor(InspectorPanelController.java:791)
      4. com.oracle.javafx.scenebuilder.kit.editor.panel.inspector.InspectorPanelController.buildSection(InspectorPanelController.java:763)
      5. com.oracle.javafx.scenebuilder.kit.editor.panel.inspector.InspectorPanelController.handleTitledPane(InspectorPanelController.java:1703)
      6. com.oracle.javafx.scenebuilder.kit.editor.panel.inspector.InspectorPanelController.lambda$controllerDidLoadFxml$140(InspectorPanelController.java:562)
      6 frames
    3. com.sun.javafx
      ExpressionHelper.fireValueChangedEvent
      1. com.sun.javafx.binding.ExpressionHelper$Generic.fireValueChangedEvent(ExpressionHelper.java:361)
      2. com.sun.javafx.binding.ExpressionHelper.fireValueChangedEvent(ExpressionHelper.java:81)
      2 frames
    4. javafx.beans.property
      BooleanPropertyBase.set
      1. javafx.beans.property.BooleanPropertyBase.fireValueChangedEvent(BooleanPropertyBase.java:103)
      2. javafx.beans.property.BooleanPropertyBase.markInvalid(BooleanPropertyBase.java:110)
      3. javafx.beans.property.BooleanPropertyBase.set(BooleanPropertyBase.java:144)
      3 frames
    5. FXSampler
      TitledPane.setExpanded
      1. javafx.scene.control.TitledPane.setExpanded(TitledPane.java:175)
      1 frame
    6. com.sun.javafx
      TitledPaneBehavior.toggle
      1. com.sun.javafx.scene.control.behavior.TitledPaneBehavior.toggle(TitledPaneBehavior.java:98)
      1 frame
    7. FXSampler
      TitledPaneSkin$TitleRegion.lambda$new$0
      1. com.sun.javafx.scene.control.skin.TitledPaneSkin$TitleRegion.lambda$new$0(TitledPaneSkin.java:369)
      1 frame
    8. com.sun.javafx
      EventHandlerManager.dispatchBubblingEvent
      1. com.sun.javafx.event.CompositeEventHandler.dispatchBubblingEvent(CompositeEventHandler.java:86)
      2. com.sun.javafx.event.EventHandlerManager.dispatchBubblingEvent(EventHandlerManager.java:238)
      3. com.sun.javafx.event.EventHandlerManager.dispatchBubblingEvent(EventHandlerManager.java:191)
      3 frames