java.lang.NullPointerException

Pentaho BI Platform Tracking | Jared Pshedesky | 8 years ago
  1. 0

    Below is the console output from startup to hang. Exceptions come when you right-click on Connections and choose New Connection... in the tree. Also get the same exceptions when you load the sample xmi file and edit the existing connection. INFO 18-02 21:00:37,281 - Using "C:\DOCUME~1\devuser\LOCALS~1\Temp\vfs_cache" as temporary files store. ERROR 18-02 21:00:40,406 - Pentaho Metadata Editor - Unable to load query : java.io.FileNotFoundException: C:\Documents and Settings\devuser\.pentaho-meta\.query (The system cannot find the file specified) Unable to find kettle engine jar file to set build date. (ignored) createDialogArea createContents WARN 18-02 21:00:47,437 - Could not get document node : null java.lang.NullPointerException at org.pentaho.ui.xul.dom.dom4j.ElementDom4J.getDocument(ElementDom4J.java:63) at org.pentaho.ui.xul.impl.AbstractXulComponent.getDocument(AbstractXulComponent.java:155) at org.pentaho.ui.xul.swt.tags.SwtDialog.setButtons(SwtDialog.java:239) at org.pentaho.ui.xul.swt.tags.SwtDialog.setButtons(SwtDialog.java:160) at org.pentaho.ui.xul.swt.tags.SwtDialog.setButtons(SwtDialog.java:165) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.apache.commons.beanutils.PropertyUtilsBean.invokeMethod(PropertyUtilsBean.java:1773) at org.apache.commons.beanutils.PropertyUtilsBean.setSimpleProperty(PropertyUtilsBean.java:1759) at org.apache.commons.beanutils.PropertyUtilsBean.setNestedProperty(PropertyUtilsBean.java:1648) at org.apache.commons.beanutils.PropertyUtilsBean.setProperty(PropertyUtilsBean.java:1677) at org.apache.commons.beanutils.BeanUtilsBean.setProperty(BeanUtilsBean.java:1022) at org.apache.commons.beanutils.BeanUtilsBean.populate(BeanUtilsBean.java:811) at org.apache.commons.beanutils.BeanUtils.populate(BeanUtils.java:298) at org.pentaho.ui.xul.impl.XulParser.getElement(XulParser.java:180) at org.pentaho.ui.xul.impl.XulParser.parse(XulParser.java:105) at org.pentaho.ui.xul.impl.XulParser.parseDocument(XulParser.java:62) at org.pentaho.ui.xul.impl.AbstractXulLoader.loadXul(AbstractXulLoader.java:91) at org.pentaho.ui.xul.swt.SwtXulLoader.loadXul(SwtXulLoader.java:86) at org.pentaho.ui.xul.swt.SwtXulLoader.loadXul(SwtXulLoader.java:80) at org.pentaho.ui.xul.impl.AbstractXulLoader.loadXul(AbstractXulLoader.java:156) at org.pentaho.ui.database.DatabaseConnectionDialog.getSwtInstance(DatabaseConnectionDialog.java:34) at org.pentaho.di.ui.core.database.dialog.XulDatabaseDialog.open(XulDatabaseDialog.java:88) at org.pentaho.di.ui.core.database.dialog.DatabaseDialog.open(DatabaseDialog.java:44) at org.pentaho.pms.ui.MetaEditor.newConnection(MetaEditor.java:2785) at org.pentaho.pms.ui.MetaEditor$47.handleEvent(MetaEditor.java:1666) at org.eclipse.swt.widgets.EventTable.sendEvent(Unknown Source) at org.eclipse.swt.widgets.Widget.sendEvent(Unknown Source) at org.eclipse.swt.widgets.Display.runDeferredEvents(Unknown Source) at org.eclipse.swt.widgets.Display.readAndDispatch(Unknown Source) at org.pentaho.pms.ui.MetaEditor.readAndDispatch(MetaEditor.java:842) at org.pentaho.pms.ui.MetaEditor.main(MetaEditor.java:3576) WARN 18-02 21:00:47,453 - Could not get document node : null java.lang.NullPointerException at org.pentaho.ui.xul.dom.dom4j.ElementDom4J.getDocument(ElementDom4J.java:63) at org.pentaho.ui.xul.impl.AbstractXulComponent.getDocument(AbstractXulComponent.java:155) at org.pentaho.ui.xul.swt.tags.SwtDialog.setButtons(SwtDialog.java:239) at org.pentaho.ui.xul.swt.tags.SwtDialog.setButtons(SwtDialog.java:160) at org.pentaho.ui.xul.swt.tags.SwtDialog.setButtons(SwtDialog.java:165) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.apache.commons.beanutils.PropertyUtilsBean.invokeMethod(PropertyUtilsBean.java:1773) at org.apache.commons.beanutils.PropertyUtilsBean.setSimpleProperty(PropertyUtilsBean.java:1759) at org.apache.commons.beanutils.PropertyUtilsBean.setNestedProperty(PropertyUtilsBean.java:1648) at org.apache.commons.beanutils.PropertyUtilsBean.setProperty(PropertyUtilsBean.java:1677) at org.apache.commons.beanutils.BeanUtilsBean.setProperty(BeanUtilsBean.java:1022) at org.apache.commons.beanutils.BeanUtilsBean.populate(BeanUtilsBean.java:811) at org.apache.commons.beanutils.BeanUtils.populate(BeanUtils.java:298) at org.pentaho.ui.xul.impl.XulParser.getElement(XulParser.java:180) at org.pentaho.ui.xul.impl.XulParser.parse(XulParser.java:105) at org.pentaho.ui.xul.impl.XulParser.parseDocument(XulParser.java:62) at org.pentaho.ui.xul.impl.AbstractXulLoader.loadXul(AbstractXulLoader.java:91) at org.pentaho.ui.xul.swt.SwtXulLoader.loadXul(SwtXulLoader.java:86) at org.pentaho.ui.xul.swt.SwtXulLoader.loadXul(SwtXulLoader.java:80) at org.pentaho.ui.xul.impl.AbstractXulLoader.loadXul(AbstractXulLoader.java:156) at org.pentaho.ui.database.DatabaseConnectionDialog.getSwtInstance(DatabaseConnectionDialog.java:34) at org.pentaho.di.ui.core.database.dialog.XulDatabaseDialog.open(XulDatabaseDialog.java:88) at org.pentaho.di.ui.core.database.dialog.DatabaseDialog.open(DatabaseDialog.java:44) at org.pentaho.pms.ui.MetaEditor.newConnection(MetaEditor.java:2785) at org.pentaho.pms.ui.MetaEditor$47.handleEvent(MetaEditor.java:1666) at org.eclipse.swt.widgets.EventTable.sendEvent(Unknown Source) at org.eclipse.swt.widgets.Widget.sendEvent(Unknown Source) at org.eclipse.swt.widgets.Display.runDeferredEvents(Unknown Source) at org.eclipse.swt.widgets.Display.readAndDispatch(Unknown Source) at org.pentaho.pms.ui.MetaEditor.readAndDispatch(MetaEditor.java:842) at org.pentaho.pms.ui.MetaEditor.main(MetaEditor.java:3576) Exception in thread "main" java.lang.NoSuchMethodError: org.pentaho.ui.xul.XulDomContainer.loadFragment(Ljava/lang/String;Ljava/util/ResourceBundle;)Lorg/pentaho/ui/xul/XulDomContainer; at org.pentaho.di.ui.core.database.dialog.XulDatabaseDialog.open(XulDatabaseDialog.java:135) at org.pentaho.di.ui.core.database.dialog.DatabaseDialog.open(DatabaseDialog.java:44) at org.pentaho.pms.ui.MetaEditor.newConnection(MetaEditor.java:2785) at org.pentaho.pms.ui.MetaEditor$47.handleEvent(MetaEditor.java:1666) at org.eclipse.swt.widgets.EventTable.sendEvent(Unknown Source) at org.eclipse.swt.widgets.Widget.sendEvent(Unknown Source) at org.eclipse.swt.widgets.Display.runDeferredEvents(Unknown Source) at org.eclipse.swt.widgets.Display.readAndDispatch(Unknown Source) at org.pentaho.pms.ui.MetaEditor.readAndDispatch(MetaEditor.java:842) at org.pentaho.pms.ui.MetaEditor.main(MetaEditor.java:3576)

    Pentaho BI Platform Tracking | 8 years ago | Jared Pshedesky
    java.lang.NullPointerException
  2. 0

    Below is the console output from startup to hang. Exceptions come when you right-click on Connections and choose New Connection... in the tree. Also get the same exceptions when you load the sample xmi file and edit the existing connection. INFO 18-02 21:00:37,281 - Using "C:\DOCUME~1\devuser\LOCALS~1\Temp\vfs_cache" as temporary files store. ERROR 18-02 21:00:40,406 - Pentaho Metadata Editor - Unable to load query : java.io.FileNotFoundException: C:\Documents and Settings\devuser\.pentaho-meta\.query (The system cannot find the file specified) Unable to find kettle engine jar file to set build date. (ignored) createDialogArea createContents WARN 18-02 21:00:47,437 - Could not get document node : null java.lang.NullPointerException at org.pentaho.ui.xul.dom.dom4j.ElementDom4J.getDocument(ElementDom4J.java:63) at org.pentaho.ui.xul.impl.AbstractXulComponent.getDocument(AbstractXulComponent.java:155) at org.pentaho.ui.xul.swt.tags.SwtDialog.setButtons(SwtDialog.java:239) at org.pentaho.ui.xul.swt.tags.SwtDialog.setButtons(SwtDialog.java:160) at org.pentaho.ui.xul.swt.tags.SwtDialog.setButtons(SwtDialog.java:165) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.apache.commons.beanutils.PropertyUtilsBean.invokeMethod(PropertyUtilsBean.java:1773) at org.apache.commons.beanutils.PropertyUtilsBean.setSimpleProperty(PropertyUtilsBean.java:1759) at org.apache.commons.beanutils.PropertyUtilsBean.setNestedProperty(PropertyUtilsBean.java:1648) at org.apache.commons.beanutils.PropertyUtilsBean.setProperty(PropertyUtilsBean.java:1677) at org.apache.commons.beanutils.BeanUtilsBean.setProperty(BeanUtilsBean.java:1022) at org.apache.commons.beanutils.BeanUtilsBean.populate(BeanUtilsBean.java:811) at org.apache.commons.beanutils.BeanUtils.populate(BeanUtils.java:298) at org.pentaho.ui.xul.impl.XulParser.getElement(XulParser.java:180) at org.pentaho.ui.xul.impl.XulParser.parse(XulParser.java:105) at org.pentaho.ui.xul.impl.XulParser.parseDocument(XulParser.java:62) at org.pentaho.ui.xul.impl.AbstractXulLoader.loadXul(AbstractXulLoader.java:91) at org.pentaho.ui.xul.swt.SwtXulLoader.loadXul(SwtXulLoader.java:86) at org.pentaho.ui.xul.swt.SwtXulLoader.loadXul(SwtXulLoader.java:80) at org.pentaho.ui.xul.impl.AbstractXulLoader.loadXul(AbstractXulLoader.java:156) at org.pentaho.ui.database.DatabaseConnectionDialog.getSwtInstance(DatabaseConnectionDialog.java:34) at org.pentaho.di.ui.core.database.dialog.XulDatabaseDialog.open(XulDatabaseDialog.java:88) at org.pentaho.di.ui.core.database.dialog.DatabaseDialog.open(DatabaseDialog.java:44) at org.pentaho.pms.ui.MetaEditor.newConnection(MetaEditor.java:2785) at org.pentaho.pms.ui.MetaEditor$47.handleEvent(MetaEditor.java:1666) at org.eclipse.swt.widgets.EventTable.sendEvent(Unknown Source) at org.eclipse.swt.widgets.Widget.sendEvent(Unknown Source) at org.eclipse.swt.widgets.Display.runDeferredEvents(Unknown Source) at org.eclipse.swt.widgets.Display.readAndDispatch(Unknown Source) at org.pentaho.pms.ui.MetaEditor.readAndDispatch(MetaEditor.java:842) at org.pentaho.pms.ui.MetaEditor.main(MetaEditor.java:3576) WARN 18-02 21:00:47,453 - Could not get document node : null java.lang.NullPointerException at org.pentaho.ui.xul.dom.dom4j.ElementDom4J.getDocument(ElementDom4J.java:63) at org.pentaho.ui.xul.impl.AbstractXulComponent.getDocument(AbstractXulComponent.java:155) at org.pentaho.ui.xul.swt.tags.SwtDialog.setButtons(SwtDialog.java:239) at org.pentaho.ui.xul.swt.tags.SwtDialog.setButtons(SwtDialog.java:160) at org.pentaho.ui.xul.swt.tags.SwtDialog.setButtons(SwtDialog.java:165) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.apache.commons.beanutils.PropertyUtilsBean.invokeMethod(PropertyUtilsBean.java:1773) at org.apache.commons.beanutils.PropertyUtilsBean.setSimpleProperty(PropertyUtilsBean.java:1759) at org.apache.commons.beanutils.PropertyUtilsBean.setNestedProperty(PropertyUtilsBean.java:1648) at org.apache.commons.beanutils.PropertyUtilsBean.setProperty(PropertyUtilsBean.java:1677) at org.apache.commons.beanutils.BeanUtilsBean.setProperty(BeanUtilsBean.java:1022) at org.apache.commons.beanutils.BeanUtilsBean.populate(BeanUtilsBean.java:811) at org.apache.commons.beanutils.BeanUtils.populate(BeanUtils.java:298) at org.pentaho.ui.xul.impl.XulParser.getElement(XulParser.java:180) at org.pentaho.ui.xul.impl.XulParser.parse(XulParser.java:105) at org.pentaho.ui.xul.impl.XulParser.parseDocument(XulParser.java:62) at org.pentaho.ui.xul.impl.AbstractXulLoader.loadXul(AbstractXulLoader.java:91) at org.pentaho.ui.xul.swt.SwtXulLoader.loadXul(SwtXulLoader.java:86) at org.pentaho.ui.xul.swt.SwtXulLoader.loadXul(SwtXulLoader.java:80) at org.pentaho.ui.xul.impl.AbstractXulLoader.loadXul(AbstractXulLoader.java:156) at org.pentaho.ui.database.DatabaseConnectionDialog.getSwtInstance(DatabaseConnectionDialog.java:34) at org.pentaho.di.ui.core.database.dialog.XulDatabaseDialog.open(XulDatabaseDialog.java:88) at org.pentaho.di.ui.core.database.dialog.DatabaseDialog.open(DatabaseDialog.java:44) at org.pentaho.pms.ui.MetaEditor.newConnection(MetaEditor.java:2785) at org.pentaho.pms.ui.MetaEditor$47.handleEvent(MetaEditor.java:1666) at org.eclipse.swt.widgets.EventTable.sendEvent(Unknown Source) at org.eclipse.swt.widgets.Widget.sendEvent(Unknown Source) at org.eclipse.swt.widgets.Display.runDeferredEvents(Unknown Source) at org.eclipse.swt.widgets.Display.readAndDispatch(Unknown Source) at org.pentaho.pms.ui.MetaEditor.readAndDispatch(MetaEditor.java:842) at org.pentaho.pms.ui.MetaEditor.main(MetaEditor.java:3576) Exception in thread "main" java.lang.NoSuchMethodError: org.pentaho.ui.xul.XulDomContainer.loadFragment(Ljava/lang/String;Ljava/util/ResourceBundle;)Lorg/pentaho/ui/xul/XulDomContainer; at org.pentaho.di.ui.core.database.dialog.XulDatabaseDialog.open(XulDatabaseDialog.java:135) at org.pentaho.di.ui.core.database.dialog.DatabaseDialog.open(DatabaseDialog.java:44) at org.pentaho.pms.ui.MetaEditor.newConnection(MetaEditor.java:2785) at org.pentaho.pms.ui.MetaEditor$47.handleEvent(MetaEditor.java:1666) at org.eclipse.swt.widgets.EventTable.sendEvent(Unknown Source) at org.eclipse.swt.widgets.Widget.sendEvent(Unknown Source) at org.eclipse.swt.widgets.Display.runDeferredEvents(Unknown Source) at org.eclipse.swt.widgets.Display.readAndDispatch(Unknown Source) at org.pentaho.pms.ui.MetaEditor.readAndDispatch(MetaEditor.java:842) at org.pentaho.pms.ui.MetaEditor.main(MetaEditor.java:3576)

    Pentaho BI Platform Tracking | 8 years ago | Jared Pshedesky
    java.lang.NullPointerException
  3. 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
  4. 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 org.pentaho.ui.xul.dom.dom4j.ElementDom4J.getDocument()
    2. org.pentaho.ui
      SwtDialog.setButtons
      1. org.pentaho.ui.xul.dom.dom4j.ElementDom4J.getDocument(ElementDom4J.java:63)
      2. org.pentaho.ui.xul.impl.AbstractXulComponent.getDocument(AbstractXulComponent.java:155)
      3. org.pentaho.ui.xul.swt.tags.SwtDialog.setButtons(SwtDialog.java:239)
      4. org.pentaho.ui.xul.swt.tags.SwtDialog.setButtons(SwtDialog.java:160)
      5. org.pentaho.ui.xul.swt.tags.SwtDialog.setButtons(SwtDialog.java:165)
      5 frames
    3. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      4. java.lang.reflect.Method.invoke(Method.java:585)
      4 frames
    4. Apache Commons BeanUtils
      BeanUtils.populate
      1. org.apache.commons.beanutils.PropertyUtilsBean.invokeMethod(PropertyUtilsBean.java:1773)
      2. org.apache.commons.beanutils.PropertyUtilsBean.setSimpleProperty(PropertyUtilsBean.java:1759)
      3. org.apache.commons.beanutils.PropertyUtilsBean.setNestedProperty(PropertyUtilsBean.java:1648)
      4. org.apache.commons.beanutils.PropertyUtilsBean.setProperty(PropertyUtilsBean.java:1677)
      5. org.apache.commons.beanutils.BeanUtilsBean.setProperty(BeanUtilsBean.java:1022)
      6. org.apache.commons.beanutils.BeanUtilsBean.populate(BeanUtilsBean.java:811)
      7. org.apache.commons.beanutils.BeanUtils.populate(BeanUtils.java:298)
      7 frames
    5. org.pentaho.ui
      DatabaseConnectionDialog.getSwtInstance
      1. org.pentaho.ui.xul.impl.XulParser.getElement(XulParser.java:180)
      2. org.pentaho.ui.xul.impl.XulParser.parse(XulParser.java:105)
      3. org.pentaho.ui.xul.impl.XulParser.parseDocument(XulParser.java:62)
      4. org.pentaho.ui.xul.impl.AbstractXulLoader.loadXul(AbstractXulLoader.java:91)
      5. org.pentaho.ui.xul.swt.SwtXulLoader.loadXul(SwtXulLoader.java:86)
      6. org.pentaho.ui.xul.swt.SwtXulLoader.loadXul(SwtXulLoader.java:80)
      7. org.pentaho.ui.xul.impl.AbstractXulLoader.loadXul(AbstractXulLoader.java:156)
      8. org.pentaho.ui.database.DatabaseConnectionDialog.getSwtInstance(DatabaseConnectionDialog.java:34)
      8 frames
    6. org.pentaho.di
      DatabaseDialog.open
      1. org.pentaho.di.ui.core.database.dialog.XulDatabaseDialog.open(XulDatabaseDialog.java:88)
      2. org.pentaho.di.ui.core.database.dialog.DatabaseDialog.open(DatabaseDialog.java:44)
      2 frames
    7. org.pentaho.pms
      MetaEditor$47.handleEvent
      1. org.pentaho.pms.ui.MetaEditor.newConnection(MetaEditor.java:2785)
      2. org.pentaho.pms.ui.MetaEditor$47.handleEvent(MetaEditor.java:1666)
      2 frames
    8. RWT
      Display.readAndDispatch
      1. org.eclipse.swt.widgets.EventTable.sendEvent(Unknown Source)
      2. org.eclipse.swt.widgets.Widget.sendEvent(Unknown Source)
      3. org.eclipse.swt.widgets.Display.runDeferredEvents(Unknown Source)
      4. org.eclipse.swt.widgets.Display.readAndDispatch(Unknown Source)
      4 frames
    9. org.pentaho.pms
      MetaEditor.main
      1. org.pentaho.pms.ui.MetaEditor.readAndDispatch(MetaEditor.java:842)
      2. org.pentaho.pms.ui.MetaEditor.main(MetaEditor.java:3576)
      2 frames