java.lang.NullPointerException

Pentaho BI Platform Tracking | Thoa Huynh | 5 months ago
  1. 0

    When following the steps above the user cannot add SQL to the View > Generic and the following stack trace is recorded: {noformat} Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException at mondrian.gui.MondrianGuiDef$View.equals(MondrianGuiDef.java:2418) at javax.swing.tree.TreePath.equals(TreePath.java:260) at java.util.Hashtable.get(Hashtable.java:366) at javax.swing.tree.VariableHeightLayoutCache.getMapping(VariableHeightLayoutCache.java:708) at javax.swing.tree.VariableHeightLayoutCache.getNodeForPath(VariableHeightLayoutCache.java:820) at javax.swing.tree.VariableHeightLayoutCache.ensurePathIsExpanded(VariableHeightLayoutCache.java:978) at javax.swing.tree.VariableHeightLayoutCache.setExpandedState(VariableHeightLayoutCache.java:182) at javax.swing.plaf.basic.BasicTreeUI.updateExpandedDescendants(BasicTreeUI.java:1696) at javax.swing.plaf.basic.BasicTreeUI$Handler.treeExpanded(BasicTreeUI.java:3805) at javax.swing.JTree.fireTreeExpanded(JTree.java:2764) at javax.swing.JTree.setExpandedState(JTree.java:3629) at javax.swing.JTree.expandPath(JTree.java:2212) at mondrian.gui.JTreeUpdater.update(JTreeUpdater.java:56) at mondrian.gui.SchemaExplorer.editingStopped(SchemaExplorer.java:4640) at mondrian.gui.SchemaPropertyCellEditor.fireEditingStopped(SchemaPropertyCellEditor.java:1267) at mondrian.gui.SchemaPropertyCellEditor.stopCellEditing(SchemaPropertyCellEditor.java:1259) at mondrian.gui.SchemaExplorer.valueChanged(SchemaExplorer.java:4088) at javax.swing.JTree.fireValueChanged(JTree.java:2927) at javax.swing.JTree$TreeSelectionRedirector.valueChanged(JTree.java:3391) at javax.swing.tree.DefaultTreeSelectionModel.fireValueChanged(DefaultTreeSelectionModel.java:635) at javax.swing.tree.DefaultTreeSelectionModel.notifyPathChange(DefaultTreeSelectionModel.java:1093) at javax.swing.tree.DefaultTreeSelectionModel.setSelectionPaths(DefaultTreeSelectionModel.java:294) at javax.swing.tree.DefaultTreeSelectionModel.setSelectionPath(DefaultTreeSelectionModel.java:188) at javax.swing.JTree.setSelectionPath(JTree.java:1634) at javax.swing.plaf.basic.BasicTreeUI.selectPathForEvent(BasicTreeUI.java:2393) at javax.swing.plaf.basic.BasicTreeUI$Handler.handleSelection(BasicTreeUI.java:3609) at javax.swing.plaf.basic.BasicTreeUI$Handler.mousePressed(BasicTreeUI.java:3548) at java.awt.AWTEventMulticaster.mousePressed(AWTEventMulticaster.java:279) at java.awt.AWTEventMulticaster.mousePressed(AWTEventMulticaster.java:279) at java.awt.Component.processMouseEvent(Component.java:6532) at javax.swing.JComponent.processMouseEvent(JComponent.java:3324) at java.awt.Component.processEvent(Component.java:6300) at java.awt.Container.processEvent(Container.java:2236) at java.awt.Component.dispatchEventImpl(Component.java:4891) at java.awt.Container.dispatchEventImpl(Container.java:2294) at java.awt.Component.dispatchEvent(Component.java:4713) at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4888) at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4522) at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4466) at java.awt.Container.dispatchEventImpl(Container.java:2280) at java.awt.Window.dispatchEventImpl(Window.java:2750) at java.awt.Component.dispatchEvent(Component.java:4713) at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:758) at java.awt.EventQueue.access$500(EventQueue.java:97) at java.awt.EventQueue$3.run(EventQueue.java:709) at java.awt.EventQueue$3.run(EventQueue.java:703) at java.security.AccessController.doPrivileged(Native Method) at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:76) at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:86) at java.awt.EventQueue$4.run(EventQueue.java:731) at java.awt.EventQueue$4.run(EventQueue.java:729) at java.security.AccessController.doPrivileged(Native Method) at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:76) at java.awt.EventQueue.dispatchEvent(EventQueue.java:728) at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:201) at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116) at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93) at java.awt.EventDispatchThread.run(EventDispatchThread.java:82) Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException at mondrian.gui.MondrianGuiDef$View.equals(MondrianGuiDef.java:2418) at javax.swing.tree.TreePath.equals(TreePath.java:260) at java.util.Hashtable.get(Hashtable.java:366) at javax.swing.JTree.hasBeenExpanded(JTree.java:1988) at javax.swing.plaf.basic.BasicTreeUI.paint(BasicTreeUI.java:1190) at javax.swing.plaf.metal.MetalTreeUI.paint(MetalTreeUI.java:169) at javax.swing.plaf.ComponentUI.update(ComponentUI.java:161) at javax.swing.JComponent.paintComponent(JComponent.java:780) at javax.swing.JComponent.paint(JComponent.java:1056) at javax.swing.JComponent.paintToOffscreen(JComponent.java:5210) at javax.swing.RepaintManager$PaintManager.paintDoubleBuffered(RepaintManager.java:1579) at javax.swing.RepaintManager$PaintManager.paint(RepaintManager.java:1502) at javax.swing.RepaintManager.paint(RepaintManager.java:1272) at javax.swing.JComponent._paintImmediately(JComponent.java:5158) at javax.swing.JComponent.paintImmediately(JComponent.java:4969) at javax.swing.RepaintManager$4.run(RepaintManager.java:831) at javax.swing.RepaintManager$4.run(RepaintManager.java:814) at java.security.AccessController.doPrivileged(Native Method) at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:76) at javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:814) at javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:789) at javax.swing.RepaintManager.prePaintDirtyRegions(RepaintManager.java:738) at javax.swing.RepaintManager.access$1200(RepaintManager.java:64) at javax.swing.RepaintManager$ProcessingRunnable.run(RepaintManager.java:1732) at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:311) at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:756) at java.awt.EventQueue.access$500(EventQueue.java:97) at java.awt.EventQueue$3.run(EventQueue.java:709) at java.awt.EventQueue$3.run(EventQueue.java:703) at java.security.AccessController.doPrivileged(Native Method) at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:76) at java.awt.EventQueue.dispatchEvent(EventQueue.java:726) at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:201) at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116) at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93) at java.awt.EventDispatchThread.run(EventDispatchThread.java:82) {noformat}

    Pentaho BI Platform Tracking | 5 months ago | Thoa Huynh
    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 mondrian.gui.MondrianGuiDef$View.equals()
    2. mondrian.gui
      MondrianGuiDef$View.equals
      1. mondrian.gui.MondrianGuiDef$View.equals(MondrianGuiDef.java:2418)
      1 frame
    3. Java RT
      JTree.expandPath
      1. javax.swing.tree.TreePath.equals(TreePath.java:260)
      2. java.util.Hashtable.get(Hashtable.java:366)
      3. javax.swing.tree.VariableHeightLayoutCache.getMapping(VariableHeightLayoutCache.java:708)
      4. javax.swing.tree.VariableHeightLayoutCache.getNodeForPath(VariableHeightLayoutCache.java:820)
      5. javax.swing.tree.VariableHeightLayoutCache.ensurePathIsExpanded(VariableHeightLayoutCache.java:978)
      6. javax.swing.tree.VariableHeightLayoutCache.setExpandedState(VariableHeightLayoutCache.java:182)
      7. javax.swing.plaf.basic.BasicTreeUI.updateExpandedDescendants(BasicTreeUI.java:1696)
      8. javax.swing.plaf.basic.BasicTreeUI$Handler.treeExpanded(BasicTreeUI.java:3805)
      9. javax.swing.JTree.fireTreeExpanded(JTree.java:2764)
      10. javax.swing.JTree.setExpandedState(JTree.java:3629)
      11. javax.swing.JTree.expandPath(JTree.java:2212)
      11 frames
    4. mondrian.gui
      SchemaExplorer.valueChanged
      1. mondrian.gui.JTreeUpdater.update(JTreeUpdater.java:56)
      2. mondrian.gui.SchemaExplorer.editingStopped(SchemaExplorer.java:4640)
      3. mondrian.gui.SchemaPropertyCellEditor.fireEditingStopped(SchemaPropertyCellEditor.java:1267)
      4. mondrian.gui.SchemaPropertyCellEditor.stopCellEditing(SchemaPropertyCellEditor.java:1259)
      5. mondrian.gui.SchemaExplorer.valueChanged(SchemaExplorer.java:4088)
      5 frames
    5. Java RT
      EventDispatchThread.run
      1. javax.swing.JTree.fireValueChanged(JTree.java:2927)
      2. javax.swing.JTree$TreeSelectionRedirector.valueChanged(JTree.java:3391)
      3. javax.swing.tree.DefaultTreeSelectionModel.fireValueChanged(DefaultTreeSelectionModel.java:635)
      4. javax.swing.tree.DefaultTreeSelectionModel.notifyPathChange(DefaultTreeSelectionModel.java:1093)
      5. javax.swing.tree.DefaultTreeSelectionModel.setSelectionPaths(DefaultTreeSelectionModel.java:294)
      6. javax.swing.tree.DefaultTreeSelectionModel.setSelectionPath(DefaultTreeSelectionModel.java:188)
      7. javax.swing.JTree.setSelectionPath(JTree.java:1634)
      8. javax.swing.plaf.basic.BasicTreeUI.selectPathForEvent(BasicTreeUI.java:2393)
      9. javax.swing.plaf.basic.BasicTreeUI$Handler.handleSelection(BasicTreeUI.java:3609)
      10. javax.swing.plaf.basic.BasicTreeUI$Handler.mousePressed(BasicTreeUI.java:3548)
      11. java.awt.AWTEventMulticaster.mousePressed(AWTEventMulticaster.java:279)
      12. java.awt.AWTEventMulticaster.mousePressed(AWTEventMulticaster.java:279)
      13. java.awt.Component.processMouseEvent(Component.java:6532)
      14. javax.swing.JComponent.processMouseEvent(JComponent.java:3324)
      15. java.awt.Component.processEvent(Component.java:6300)
      16. java.awt.Container.processEvent(Container.java:2236)
      17. java.awt.Component.dispatchEventImpl(Component.java:4891)
      18. java.awt.Container.dispatchEventImpl(Container.java:2294)
      19. java.awt.Component.dispatchEvent(Component.java:4713)
      20. java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4888)
      21. java.awt.LightweightDispatcher.processMouseEvent(Container.java:4522)
      22. java.awt.LightweightDispatcher.dispatchEvent(Container.java:4466)
      23. java.awt.Container.dispatchEventImpl(Container.java:2280)
      24. java.awt.Window.dispatchEventImpl(Window.java:2750)
      25. java.awt.Component.dispatchEvent(Component.java:4713)
      26. java.awt.EventQueue.dispatchEventImpl(EventQueue.java:758)
      27. java.awt.EventQueue.access$500(EventQueue.java:97)
      28. java.awt.EventQueue$3.run(EventQueue.java:709)
      29. java.awt.EventQueue$3.run(EventQueue.java:703)
      30. java.security.AccessController.doPrivileged(Native Method)
      31. java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:76)
      32. java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:86)
      33. java.awt.EventQueue$4.run(EventQueue.java:731)
      34. java.awt.EventQueue$4.run(EventQueue.java:729)
      35. java.security.AccessController.doPrivileged(Native Method)
      36. java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:76)
      37. java.awt.EventQueue.dispatchEvent(EventQueue.java:728)
      38. java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:201)
      39. java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
      40. java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105)
      41. java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
      42. java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
      43. java.awt.EventDispatchThread.run(EventDispatchThread.java:82)
      43 frames