java.lang.NullPointerException

JDK Bug System | Murali Billa | 4 months ago
  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 | 4 months ago | Murali Billa
    java.lang.NullPointerException
  2. 0

    Android: Saving Map State in Google map

    Stack Overflow | 11 months ago | Junie Negentien
    java.lang.RuntimeException: Unable to resume activity {com.ourThesis.junieNegentien2015/com.ourThesis.junieNegentien2015.MainActivity}: java.lang.NullPointerException
  3. 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.NullPointerException

      No message provided

      at com.oracle.javafx.scenebuilder.kit.editor.panel.content.driver.TreeTableViewDesignInfoX.getColumnHeaderBounds()
    2. com.oracle.javafx
      AbstractDecoration.lambda$new$0
      1. com.oracle.javafx.scenebuilder.kit.editor.panel.content.driver.TreeTableViewDesignInfoX.getColumnHeaderBounds(TreeTableViewDesignInfoX.java:89)
      2. com.oracle.javafx.scenebuilder.kit.editor.panel.content.driver.handles.TreeTableViewHandles.layoutGrip(TreeTableViewHandles.java:139)
      3. com.oracle.javafx.scenebuilder.kit.editor.panel.content.driver.handles.TreeTableViewHandles.layoutDecoration(TreeTableViewHandles.java:84)
      4. com.oracle.javafx.scenebuilder.kit.editor.panel.content.AbstractDecoration.rootNodeSceneDidChange(AbstractDecoration.java:215)
      5. com.oracle.javafx.scenebuilder.kit.editor.panel.content.AbstractDecoration.lambda$new$0(AbstractDecoration.java:81)
      5 frames
    3. com.sun.javafx
      ExpressionHelper.fireValueChangedEvent
      1. com.sun.javafx.binding.ExpressionHelper$SingleChange.fireValueChangedEvent(ExpressionHelper.java:181)
      2. com.sun.javafx.binding.ExpressionHelper.fireValueChangedEvent(ExpressionHelper.java:80)
      2 frames
    4. javafx.beans.property
      ReadOnlyObjectWrapper.fireValueChangedEvent
      1. javafx.beans.property.ReadOnlyObjectPropertyBase.fireValueChangedEvent(ReadOnlyObjectPropertyBase.java:74)
      2. javafx.beans.property.ReadOnlyObjectWrapper.fireValueChangedEvent(ReadOnlyObjectWrapper.java:102)
      2 frames
    5. javafx.scene
      Parent$2.onChanged
      1. javafx.scene.Node$ReadOnlyObjectWrapperManualFire.fireSuperValueChangedEvent(Node.java:1043)
      2. javafx.scene.Node.invalidatedScenes(Node.java:1105)
      3. javafx.scene.Node.setScenes(Node.java:1143)
      4. javafx.scene.Parent$2.onChanged(Parent.java:391)
      4 frames
    6. com.sun.javafx
      ListListenerHelper.fireValueChangedEvent
      1. com.sun.javafx.collections.TrackableObservableList.lambda$new$0(TrackableObservableList.java:45)
      2. com.sun.javafx.collections.ListListenerHelper$Generic.fireValueChangedEvent(ListListenerHelper.java:329)
      3. com.sun.javafx.collections.ListListenerHelper.fireValueChangedEvent(ListListenerHelper.java:73)
      3 frames
    7. javafx.collections
      ModifiableObservableListBase.add
      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.add(ModifiableObservableListBase.java:155)
      5 frames
    8. Java RT
      AbstractList.add
      1. java.util.AbstractList.add(AbstractList.java:109)
      1 frame
    9. com.sun.javafx
      VetoableListDecorator.add
      1. com.sun.javafx.collections.VetoableListDecorator.add(VetoableListDecorator.java:209)
      1 frame
    10. com.oracle.javafx
      AbstractPanelController.lambda$new$5
      1. com.oracle.javafx.scenebuilder.kit.editor.panel.content.mode.EditModeController.updateHandles(EditModeController.java:449)
      2. com.oracle.javafx.scenebuilder.kit.editor.panel.content.mode.EditModeController.updateHandles(EditModeController.java:384)
      3. com.oracle.javafx.scenebuilder.kit.editor.panel.content.mode.EditModeController.editorSelectionDidChange(EditModeController.java:188)
      4. com.oracle.javafx.scenebuilder.kit.editor.panel.content.ContentPanelController.editorSelectionDidChange(ContentPanelController.java:789)
      5. com.oracle.javafx.scenebuilder.kit.editor.panel.util.AbstractPanelController.lambda$new$5(AbstractPanelController.java:231)
      5 frames
    11. com.sun.javafx
      ExpressionHelper.fireValueChangedEvent
      1. com.sun.javafx.binding.ExpressionHelper$Generic.fireValueChangedEvent(ExpressionHelper.java:360)
      2. com.sun.javafx.binding.ExpressionHelper.fireValueChangedEvent(ExpressionHelper.java:80)
      2 frames
    12. javafx.beans.property
      IntegerPropertyBase.set
      1. javafx.beans.property.IntegerPropertyBase.fireValueChangedEvent(IntegerPropertyBase.java:107)
      2. javafx.beans.property.IntegerPropertyBase.markInvalid(IntegerPropertyBase.java:114)
      3. javafx.beans.property.IntegerPropertyBase.set(IntegerPropertyBase.java:148)
      3 frames
    13. com.oracle.javafx
      LibraryListCell.lambda$new$0
      1. com.oracle.javafx.scenebuilder.kit.editor.selection.Selection.incrementRevision(Selection.java:506)
      2. com.oracle.javafx.scenebuilder.kit.editor.selection.Selection.endUpdate(Selection.java:454)
      3. com.oracle.javafx.scenebuilder.kit.editor.job.BatchSelectionJob.execute(BatchSelectionJob.java:69)
      4. com.oracle.javafx.scenebuilder.kit.editor.job.reference.UpdateReferencesJob.execute(UpdateReferencesJob.java:78)
      5. com.oracle.javafx.scenebuilder.kit.editor.JobManager.executeJob(JobManager.java:193)
      6. com.oracle.javafx.scenebuilder.kit.editor.JobManager.push(JobManager.java:82)
      7. com.oracle.javafx.scenebuilder.kit.editor.EditorController.performInsert(EditorController.java:1610)
      8. com.oracle.javafx.scenebuilder.kit.editor.panel.library.LibraryListCell.handleMouseEvent(LibraryListCell.java:219)
      9. com.oracle.javafx.scenebuilder.kit.editor.panel.library.LibraryListCell.lambda$new$0(LibraryListCell.java:91)
      9 frames
    14. 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.BasicEventDispatcher.dispatchEvent(BasicEventDispatcher.java:56)
      21. com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(EventDispatchChainImpl.java:114)
      22. com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(BasicEventDispatcher.java:56)
      23. com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(EventDispatchChainImpl.java:114)
      24. com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(BasicEventDispatcher.java:56)
      25. com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(EventDispatchChainImpl.java:114)
      26. com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(BasicEventDispatcher.java:56)
      27. com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(EventDispatchChainImpl.java:114)
      28. com.sun.javafx.event.EventUtil.fireEventImpl(EventUtil.java:74)
      29. com.sun.javafx.event.EventUtil.fireEvent(EventUtil.java:54)
      29 frames
    15. javafx.event
      Event.fireEvent
      1. javafx.event.Event.fireEvent(Event.java:198)
      1 frame
    16. javafx.scene
      Scene$ScenePeerListener.mouseEvent
      1. javafx.scene.Scene$ClickGenerator.postProcess(Scene.java:3583)
      2. javafx.scene.Scene$ClickGenerator.access$8300(Scene.java:3511)
      3. javafx.scene.Scene$MouseHandler.process(Scene.java:3879)
      4. javafx.scene.Scene$MouseHandler.access$1300(Scene.java:3598)
      5. javafx.scene.Scene.processMouseEvent(Scene.java:1868)
      6. javafx.scene.Scene$ScenePeerListener.mouseEvent(Scene.java:2607)
      6 frames
    17. com.sun.javafx
      GlassViewEventHandler$MouseEventNotification.run
      1. com.sun.javafx.tk.quantum.GlassViewEventHandler$MouseEventNotification.run(GlassViewEventHandler.java:382)
      2. com.sun.javafx.tk.quantum.GlassViewEventHandler$MouseEventNotification.run(GlassViewEventHandler.java:295)
      2 frames
    18. Java RT
      AccessController.doPrivileged
      1. java.security.AccessController.doPrivileged(Native Method)
      1 frame
    19. com.sun.javafx
      GlassViewEventHandler.handleMouseEvent
      1. com.sun.javafx.tk.quantum.GlassViewEventHandler.lambda$handleMouseEvent$2(GlassViewEventHandler.java:418)
      2. com.sun.javafx.tk.quantum.QuantumToolkit.runWithoutRenderLock(QuantumToolkit.java:389)
      3. com.sun.javafx.tk.quantum.GlassViewEventHandler.handleMouseEvent(GlassViewEventHandler.java:417)
      3 frames
    20. com.sun.glass
      WinApplication.lambda$runLoop$3
      1. com.sun.glass.ui.View.handleMouseEvent(View.java:555)
      2. com.sun.glass.ui.View.notifyMouse(View.java:937)
      3. com.sun.glass.ui.win.WinApplication._runLoop(Native Method)
      4. com.sun.glass.ui.win.WinApplication.lambda$runLoop$3(WinApplication.java:189)
      4 frames
    21. Java RT
      Thread.run
      1. java.lang.Thread.run(Thread.java:804)
      1 frame