java.lang.NullPointerException

Pentaho BI Platform Tracking | Vijayakrishna Papineni | 9 years 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

    After connecting to database, run the advisor and generate aggregates. Then, select an aggregate. The following error is show in the logfile: 12:17:35,520 WARN [ElementDom4J] Could not get document node : null java.lang.NullPointerException at org.pentaho.ui.xul.dom.dom4j.ElementDom4J.getDocument(ElementDom4J.ja va:63) at org.pentaho.ui.xul.impl.AbstractXulComponent.getDocument(AbstractXulC omponent.java:166) at org.pentaho.ui.xul.swing.tags.SwingTree.setElements(SwingTree.java:80 6) at sun.reflect.GeneratedMethodAccessor54.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.pentaho.ui.xul.swing.SwingBinding$1.propertyChange(SwingBinding.j ava:96) at java.beans.PropertyChangeSupport.firePropertyChange(Unknown Source) at java.beans.PropertyChangeSupport.firePropertyChange(Unknown Source) at org.pentaho.ui.xul.XulEventSourceAdapter.firePropertyChange(XulEventS ourceAdapter.java:27) at com.teradata.aggdes.ui.impl.AjiOutputModel.setAvailableIndexColumns(A jiOutputModel.java:135) at com.teradata.aggdes.ui.impl.AjiOutputModel.refreshAvailableColumns(Aj iOutputModel.java:169) at com.teradata.aggdes.ui.impl.AjiOutputUiExtension.loadOutput(AjiOutput UiExtension.java:137) at org.pentaho.aggdes.ui.form.controller.AggController.applyUiExtensions (AggController.java:218) at org.pentaho.aggdes.ui.form.controller.AggController$4.listChanged(Agg Controller.java:168) at org.pentaho.aggdes.ui.model.impl.AggListImpl.fireEvent(AggListImpl.ja va:68) at org.pentaho.aggdes.ui.model.impl.AggListImpl.setSelectedIndex(AggList Impl.java:118) at org.pentaho.aggdes.ui.form.controller.AggListController$3.listChanged (AggListController.java:436) at org.pentaho.aggdes.ui.model.impl.AggListImpl.fireEvent(AggListImpl.ja va:68) at org.pentaho.aggdes.ui.model.impl.AggListImpl.removeAgg(AggListImpl.ja va:99) at org.pentaho.aggdes.ui.form.controller.AggListController.removeAgg(Agg ListController.java:564) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.pentaho.ui.xul.impl.AbstractXulDomContainer.invoke(AbstractXulDom Container.java:294) at org.pentaho.ui.xul.swing.tags.SwingButton$1$1.run(SwingButton.java:80 ) at java.awt.event.InvocationEvent.dispatch(Unknown Source) at java.awt.EventQueue.dispatchEvent(Unknown Source) at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source) at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source) at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source) at java.awt.EventDispatchThread.pumpEvents(Unknown Source) at java.awt.EventDispatchThread.pumpEvents(Unknown Source) at java.awt.EventDispatchThread.run(Unknown Source) 12:17:35,520 ERROR [SwingTree] error adding elements java.lang.NullPointerException at org.pentaho.ui.xul.swing.tags.SwingTree.setElements(SwingTree.java:80 6) at sun.reflect.GeneratedMethodAccessor54.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.pentaho.ui.xul.swing.SwingBinding$1.propertyChange(SwingBinding.j ava:96) at java.beans.PropertyChangeSupport.firePropertyChange(Unknown Source) at java.beans.PropertyChangeSupport.firePropertyChange(Unknown Source) at org.pentaho.ui.xul.XulEventSourceAdapter.firePropertyChange(XulEventS ourceAdapter.java:27) at com.teradata.aggdes.ui.impl.AjiOutputModel.setAvailableIndexColumns(A jiOutputModel.java:135) at com.teradata.aggdes.ui.impl.AjiOutputModel.refreshAvailableColumns(Aj iOutputModel.java:169) at com.teradata.aggdes.ui.impl.AjiOutputUiExtension.loadOutput(AjiOutput UiExtension.java:137) at org.pentaho.aggdes.ui.form.controller.AggController.applyUiExtensions (AggController.java:218) at org.pentaho.aggdes.ui.form.controller.AggController$4.listChanged(Agg Controller.java:168) at org.pentaho.aggdes.ui.model.impl.AggListImpl.fireEvent(AggListImpl.ja va:68) at org.pentaho.aggdes.ui.model.impl.AggListImpl.setSelectedIndex(AggList Impl.java:118) at org.pentaho.aggdes.ui.form.controller.AggListController$3.listChanged (AggListController.java:436) at org.pentaho.aggdes.ui.model.impl.AggListImpl.fireEvent(AggListImpl.ja va:68) at org.pentaho.aggdes.ui.model.impl.AggListImpl.removeAgg(AggListImpl.ja va:99) at org.pentaho.aggdes.ui.form.controller.AggListController.removeAgg(Agg ListController.java:564) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.pentaho.ui.xul.impl.AbstractXulDomContainer.invoke(AbstractXulDom Container.java:294) at org.pentaho.ui.xul.swing.tags.SwingButton$1$1.run(SwingButton.java:80 ) at java.awt.event.InvocationEvent.dispatch(Unknown Source) at java.awt.EventQueue.dispatchEvent(Unknown Source) at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source) at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source) at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source) at java.awt.EventDispatchThread.pumpEvents(Unknown Source) at java.awt.EventDispatchThread.pumpEvents(Unknown Source) at java.awt.EventDispatchThread.run(Unknown Source)

    Pentaho BI Platform Tracking | 9 years ago | Vijayakrishna Papineni
    java.lang.NullPointerException

    Root Cause Analysis

    1. java.lang.NullPointerException

      No message provided

      at org.pentaho.ui.xul.dom.dom4j.ElementDom4J.getDocument()
    2. org.pentaho.ui
      SwingTree.setElements
      1. org.pentaho.ui.xul.dom.dom4j.ElementDom4J.getDocument(ElementDom4J.java:63)
      2. org.pentaho.ui.xul.impl.AbstractXulComponent.getDocument(AbstractXulComponent.java:166)
      3. org.pentaho.ui.xul.swing.tags.SwingTree.setElements(SwingTree.java:806)
      3 frames
    3. Java RT
      Method.invoke
      1. sun.reflect.GeneratedMethodAccessor54.invoke(Unknown Source)
      2. sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
      3. java.lang.reflect.Method.invoke(Unknown Source)
      3 frames
    4. org.pentaho.ui
      SwingBinding$1.propertyChange
      1. org.pentaho.ui.xul.swing.SwingBinding$1.propertyChange(SwingBinding.java:96)
      1 frame
    5. Java RT
      PropertyChangeSupport.firePropertyChange
      1. java.beans.PropertyChangeSupport.firePropertyChange(Unknown Source)
      2. java.beans.PropertyChangeSupport.firePropertyChange(Unknown Source)
      2 frames
    6. org.pentaho.ui
      XulEventSourceAdapter.firePropertyChange
      1. org.pentaho.ui.xul.XulEventSourceAdapter.firePropertyChange(XulEventSourceAdapter.java:27)
      1 frame
    7. com.teradata.aggdes
      AjiOutputUiExtension.loadOutput
      1. com.teradata.aggdes.ui.impl.AjiOutputModel.setAvailableIndexColumns(AjiOutputModel.java:135)
      2. com.teradata.aggdes.ui.impl.AjiOutputModel.refreshAvailableColumns(AjiOutputModel.java:169)
      3. com.teradata.aggdes.ui.impl.AjiOutputUiExtension.loadOutput(AjiOutputUiExtension.java:137)
      3 frames
    8. org.pentaho.aggdes
      AggListController.removeAgg
      1. org.pentaho.aggdes.ui.form.controller.AggController.applyUiExtensions(AggController.java:218)
      2. org.pentaho.aggdes.ui.form.controller.AggController$4.listChanged(AggController.java:168)
      3. org.pentaho.aggdes.ui.model.impl.AggListImpl.fireEvent(AggListImpl.java:68)
      4. org.pentaho.aggdes.ui.model.impl.AggListImpl.setSelectedIndex(AggListImpl.java:118)
      5. org.pentaho.aggdes.ui.form.controller.AggListController$3.listChanged(AggListController.java:436)
      6. org.pentaho.aggdes.ui.model.impl.AggListImpl.fireEvent(AggListImpl.java:68)
      7. org.pentaho.aggdes.ui.model.impl.AggListImpl.removeAgg(AggListImpl.java:99)
      8. org.pentaho.aggdes.ui.form.controller.AggListController.removeAgg(AggListController.java:564)
      8 frames
    9. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
      4. java.lang.reflect.Method.invoke(Unknown Source)
      4 frames
    10. org.pentaho.ui
      SwingButton$1$1.run
      1. org.pentaho.ui.xul.impl.AbstractXulDomContainer.invoke(AbstractXulDomContainer.java:294)
      2. org.pentaho.ui.xul.swing.tags.SwingButton$1$1.run(SwingButton.java:80)
      2 frames
    11. Java RT
      EventDispatchThread.run
      1. java.awt.event.InvocationEvent.dispatch(Unknown Source)
      2. java.awt.EventQueue.dispatchEvent(Unknown Source)
      3. java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
      4. java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
      5. java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
      6. java.awt.EventDispatchThread.pumpEvents(Unknown Source)
      7. java.awt.EventDispatchThread.pumpEvents(Unknown Source)
      8. java.awt.EventDispatchThread.run(Unknown Source)
      8 frames