java.lang.NullPointerException

Pentaho BI Platform Tracking | Kurtis Cruzada | 7 years 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

    Using the latest build from CI... #3681, do the following steps. 1. Create a New report. 2. Right click on Data Set and select JDBC. 3. Select the Sample Data (Hypersonic) connection. 4. Add a Query. 5. Select the "edit" button to launch the SQL Query Builder. 6. Double click on a table to quickly get a query built. Select Ok in the SQL Query Builder dialog. 7. Select OK in the JDBC Data Source dialog. 8. Notice the query is not added to the tree and the warning "!" message. java.lang.NullPointerException at javax.swing.plaf.basic.BasicTreeUI$Handler.treeNodesChanged(BasicTreeUI.java:3673) at org.pentaho.reporting.designer.core.editor.structuretree.AbstractReportDataTreeModel.fireTreeNodeChanged(AbstractReportDataTreeModel.java:370) at org.pentaho.reporting.designer.core.editor.structuretree.ReportTree$ReportUpdateHandler.nodeChanged(ReportTree.java:105) at org.pentaho.reporting.engine.classic.core.AbstractReportDefinition.fireModelLayoutChanged(AbstractReportDefinition.java:1391) at org.pentaho.reporting.engine.classic.core.MasterReport.updateChangedFlagInternal(MasterReport.java:489) at org.pentaho.reporting.engine.classic.core.Element.notifyNodePropertiesChanged(Element.java:1097) at org.pentaho.reporting.engine.classic.core.Element.setAttribute(Element.java:511) at org.pentaho.reporting.engine.classic.core.Element.setAttribute(Element.java:496) at org.pentaho.reporting.designer.core.actions.report.AddDataFactoryAction.actionPerformed(AddDataFactoryAction.java:97) at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1882) at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2202) at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:420) at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:258) at javax.swing.AbstractButton.doClick(AbstractButton.java:334) at javax.swing.plaf.basic.BasicMenuItemUI.doClick(BasicMenuItemUI.java:1051) at apple.laf.CUIAquaMenuItem.doClick(CUIAquaMenuItem.java:119) at javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(BasicMenuItemUI.java:1092) at java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:231) at java.awt.Component.processMouseEvent(Component.java:5602) at javax.swing.JComponent.processMouseEvent(JComponent.java:3135) at java.awt.Component.processEvent(Component.java:5367) at java.awt.Container.processEvent(Container.java:2010) at java.awt.Component.dispatchEventImpl(Component.java:4068) at java.awt.Container.dispatchEventImpl(Container.java:2068) at java.awt.Component.dispatchEvent(Component.java:3903) at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4256) at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3936) at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3866) at java.awt.Container.dispatchEventImpl(Container.java:2054) at java.awt.Window.dispatchEventImpl(Window.java:1801) at java.awt.Component.dispatchEvent(Component.java:3903) at java.awt.EventQueue.dispatchEvent(EventQueue.java:463) at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:269) at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:190) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:184) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:176) at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)

    Pentaho BI Platform Tracking | 7 years ago | Kurtis Cruzada
    java.lang.NullPointerException
  2. 0

    Using the latest build from CI... #3681, do the following steps. 1. Create a New report. 2. Right click on Data Set and select JDBC. 3. Select the Sample Data (Hypersonic) connection. 4. Add a Query. 5. Select the "edit" button to launch the SQL Query Builder. 6. Double click on a table to quickly get a query built. Select Ok in the SQL Query Builder dialog. 7. Select OK in the JDBC Data Source dialog. 8. Notice the query is not added to the tree and the warning "!" message. java.lang.NullPointerException at javax.swing.plaf.basic.BasicTreeUI$Handler.treeNodesChanged(BasicTreeUI.java:3673) at org.pentaho.reporting.designer.core.editor.structuretree.AbstractReportDataTreeModel.fireTreeNodeChanged(AbstractReportDataTreeModel.java:370) at org.pentaho.reporting.designer.core.editor.structuretree.ReportTree$ReportUpdateHandler.nodeChanged(ReportTree.java:105) at org.pentaho.reporting.engine.classic.core.AbstractReportDefinition.fireModelLayoutChanged(AbstractReportDefinition.java:1391) at org.pentaho.reporting.engine.classic.core.MasterReport.updateChangedFlagInternal(MasterReport.java:489) at org.pentaho.reporting.engine.classic.core.Element.notifyNodePropertiesChanged(Element.java:1097) at org.pentaho.reporting.engine.classic.core.Element.setAttribute(Element.java:511) at org.pentaho.reporting.engine.classic.core.Element.setAttribute(Element.java:496) at org.pentaho.reporting.designer.core.actions.report.AddDataFactoryAction.actionPerformed(AddDataFactoryAction.java:97) at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1882) at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2202) at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:420) at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:258) at javax.swing.AbstractButton.doClick(AbstractButton.java:334) at javax.swing.plaf.basic.BasicMenuItemUI.doClick(BasicMenuItemUI.java:1051) at apple.laf.CUIAquaMenuItem.doClick(CUIAquaMenuItem.java:119) at javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(BasicMenuItemUI.java:1092) at java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:231) at java.awt.Component.processMouseEvent(Component.java:5602) at javax.swing.JComponent.processMouseEvent(JComponent.java:3135) at java.awt.Component.processEvent(Component.java:5367) at java.awt.Container.processEvent(Container.java:2010) at java.awt.Component.dispatchEventImpl(Component.java:4068) at java.awt.Container.dispatchEventImpl(Container.java:2068) at java.awt.Component.dispatchEvent(Component.java:3903) at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4256) at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3936) at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3866) at java.awt.Container.dispatchEventImpl(Container.java:2054) at java.awt.Window.dispatchEventImpl(Window.java:1801) at java.awt.Component.dispatchEvent(Component.java:3903) at java.awt.EventQueue.dispatchEvent(EventQueue.java:463) at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:269) at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:190) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:184) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:176) at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)

    Pentaho BI Platform Tracking | 7 years ago | Kurtis Cruzada
    java.lang.NullPointerException

    Root Cause Analysis

    1. java.lang.NullPointerException

      No message provided

      at javax.swing.plaf.basic.BasicTreeUI$Handler.treeNodesChanged()
    2. Java RT
      BasicTreeUI$Handler.treeNodesChanged
      1. javax.swing.plaf.basic.BasicTreeUI$Handler.treeNodesChanged(BasicTreeUI.java:3673)
      1 frame
    3. org.pentaho.reporting
      AddDataFactoryAction.actionPerformed
      1. org.pentaho.reporting.designer.core.editor.structuretree.AbstractReportDataTreeModel.fireTreeNodeChanged(AbstractReportDataTreeModel.java:370)
      2. org.pentaho.reporting.designer.core.editor.structuretree.ReportTree$ReportUpdateHandler.nodeChanged(ReportTree.java:105)
      3. org.pentaho.reporting.engine.classic.core.AbstractReportDefinition.fireModelLayoutChanged(AbstractReportDefinition.java:1391)
      4. org.pentaho.reporting.engine.classic.core.MasterReport.updateChangedFlagInternal(MasterReport.java:489)
      5. org.pentaho.reporting.engine.classic.core.Element.notifyNodePropertiesChanged(Element.java:1097)
      6. org.pentaho.reporting.engine.classic.core.Element.setAttribute(Element.java:511)
      7. org.pentaho.reporting.engine.classic.core.Element.setAttribute(Element.java:496)
      8. org.pentaho.reporting.designer.core.actions.report.AddDataFactoryAction.actionPerformed(AddDataFactoryAction.java:97)
      8 frames
    4. Java RT
      EventDispatchThread.run
      1. javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1882)
      2. javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2202)
      3. javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:420)
      4. javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:258)
      5. javax.swing.AbstractButton.doClick(AbstractButton.java:334)
      6. javax.swing.plaf.basic.BasicMenuItemUI.doClick(BasicMenuItemUI.java:1051)
      7. apple.laf.CUIAquaMenuItem.doClick(CUIAquaMenuItem.java:119)
      8. javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(BasicMenuItemUI.java:1092)
      9. java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:231)
      10. java.awt.Component.processMouseEvent(Component.java:5602)
      11. javax.swing.JComponent.processMouseEvent(JComponent.java:3135)
      12. java.awt.Component.processEvent(Component.java:5367)
      13. java.awt.Container.processEvent(Container.java:2010)
      14. java.awt.Component.dispatchEventImpl(Component.java:4068)
      15. java.awt.Container.dispatchEventImpl(Container.java:2068)
      16. java.awt.Component.dispatchEvent(Component.java:3903)
      17. java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4256)
      18. java.awt.LightweightDispatcher.processMouseEvent(Container.java:3936)
      19. java.awt.LightweightDispatcher.dispatchEvent(Container.java:3866)
      20. java.awt.Container.dispatchEventImpl(Container.java:2054)
      21. java.awt.Window.dispatchEventImpl(Window.java:1801)
      22. java.awt.Component.dispatchEvent(Component.java:3903)
      23. java.awt.EventQueue.dispatchEvent(EventQueue.java:463)
      24. java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:269)
      25. java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:190)
      26. java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:184)
      27. java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:176)
      28. java.awt.EventDispatchThread.run(EventDispatchThread.java:110)
      28 frames