PDA

View Full Version : Metadata Editor 3.0 RC1



Cameron
04-03-2009, 08:16 AM
I'm getting an exception saving a query out of the MQL Query Builder. Am I overlooking something here, because it worked fine in 2.0.

java.lang.NullPointerException
at org.pentaho.pms.util.FileUtil.saveAsXml(FileUtil.java:22)
at org.pentaho.pms.ui.QueryBuilderDialog.saveQueryAs(QueryBuilderDialog.java:489)
at org.pentaho.pms.ui.QueryBuilderDialog.saveQuery(QueryBuilderDialog.java:474)
at org.pentaho.pms.ui.QueryBuilderDialog.access$200(QueryBuilderDialog.java:47)
at org.pentaho.pms.ui.QueryBuilderDialog$3.widgetSelected(QueryBuilderDialog.java:144)
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:3731)
at org.pentaho.pms.ui.MetaEditor$43.widgetSelected(MetaEditor.java:1261)
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:842)
at org.pentaho.pms.ui.MetaEditor.main(MetaEditor.java:3576)

Thanks,
Cameron

Cameron
04-03-2009, 09:20 AM
Ah, I found a similar case for this http://jira.pentaho.com/browse/PMD-196 the domain has to be saved first.