java.lang.NullPointerException

Pentaho BI Platform Tracking | Aliaksei Simkin | 2 years ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    User can't open MQL query in "Query Editor" dialog - NullPointerException appears in terminal (console). {noformat} java.lang.NullPointerException at org.dom4j.DocumentHelper.getEncoding(DocumentHelper.java:292) at org.dom4j.DocumentHelper.parseText(DocumentHelper.java:273) at org.pentaho.pms.ui.QueryBuilderDialog.viewMql(QueryBuilderDialog.java:479) at org.pentaho.pms.ui.QueryBuilderDialog.access$400(QueryBuilderDialog.java:68) at org.pentaho.pms.ui.QueryBuilderDialog$5.widgetSelected(QueryBuilderDialog.java:209) at org.eclipse.swt.widgets.TypedListener.handleEvent(Unknown Source) 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.eclipse.jface.window.Window.runEventLoop(Window.java:820) at org.eclipse.jface.window.Window.open(Window.java:796) at org.pentaho.pms.ui.MetaEditor.testQR(MetaEditor.java:3818) at org.pentaho.pms.ui.MetaEditor$42.widgetSelected(MetaEditor.java:1280) at org.eclipse.swt.widgets.TypedListener.handleEvent(Unknown Source) 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:859) at org.pentaho.pms.ui.MetaEditor.main(MetaEditor.java:3648) 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.commons.launcher.Launcher.main(Launcher.java:92) {noformat}

    Pentaho BI Platform Tracking | 2 years ago | Aliaksei Simkin
    java.lang.NullPointerException

    Root Cause Analysis

    1. java.lang.NullPointerException

      No message provided

      at org.dom4j.DocumentHelper.getEncoding()
    2. dom4j
      DocumentHelper.parseText
      1. org.dom4j.DocumentHelper.getEncoding(DocumentHelper.java:292)
      2. org.dom4j.DocumentHelper.parseText(DocumentHelper.java:273)
      2 frames
    3. org.pentaho.pms
      QueryBuilderDialog$5.widgetSelected
      1. org.pentaho.pms.ui.QueryBuilderDialog.viewMql(QueryBuilderDialog.java:479)
      2. org.pentaho.pms.ui.QueryBuilderDialog.access$400(QueryBuilderDialog.java:68)
      3. org.pentaho.pms.ui.QueryBuilderDialog$5.widgetSelected(QueryBuilderDialog.java:209)
      3 frames
    4. RWT
      Display.readAndDispatch
      1. org.eclipse.swt.widgets.TypedListener.handleEvent(Unknown Source)
      2. org.eclipse.swt.widgets.EventTable.sendEvent(Unknown Source)
      3. org.eclipse.swt.widgets.Widget.sendEvent(Unknown Source)
      4. org.eclipse.swt.widgets.Display.runDeferredEvents(Unknown Source)
      5. org.eclipse.swt.widgets.Display.readAndDispatch(Unknown Source)
      5 frames
    5. JFace
      Window.open
      1. org.eclipse.jface.window.Window.runEventLoop(Window.java:820)
      2. org.eclipse.jface.window.Window.open(Window.java:796)
      2 frames
    6. org.pentaho.pms
      MetaEditor$42.widgetSelected
      1. org.pentaho.pms.ui.MetaEditor.testQR(MetaEditor.java:3818)
      2. org.pentaho.pms.ui.MetaEditor$42.widgetSelected(MetaEditor.java:1280)
      2 frames
    7. RWT
      Display.readAndDispatch
      1. org.eclipse.swt.widgets.TypedListener.handleEvent(Unknown Source)
      2. org.eclipse.swt.widgets.EventTable.sendEvent(Unknown Source)
      3. org.eclipse.swt.widgets.Widget.sendEvent(Unknown Source)
      4. org.eclipse.swt.widgets.Display.runDeferredEvents(Unknown Source)
      5. org.eclipse.swt.widgets.Display.readAndDispatch(Unknown Source)
      5 frames
    8. org.pentaho.pms
      MetaEditor.main
      1. org.pentaho.pms.ui.MetaEditor.readAndDispatch(MetaEditor.java:859)
      2. org.pentaho.pms.ui.MetaEditor.main(MetaEditor.java:3648)
      2 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.commons
      Launcher.main
      1. org.pentaho.commons.launcher.Launcher.main(Launcher.java:92)
      1 frame