java.lang.NullPointerException

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • 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}
    via by Aliaksei Simkin,
    • 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)
    No Bugmate found.