org.pentaho.ui.xul.XulException: Error invoking method: previewController.showPreview()

Pentaho BI Platform Tracking | Curtis Boyden | 4 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

    Repro: 1) Create a transformation with a simple table output 2) Right-click on the table output step and select Visualize > Report Wizard 3) When building the query in report wizard, hit 'preview' -- Following exception occurs ERROR 05-09 11:32:26,270 - Error calling oncommand event org.pentaho.ui.xul.XulException: Error invoking method: previewController.showPreview() at org.pentaho.ui.xul.impl.AbstractXulDomContainer.invoke(AbstractXulDomContainer.java:333) at org.pentaho.ui.xul.impl.AbstractXulComponent.invoke(AbstractXulComponent.java:139) at org.pentaho.ui.xul.impl.AbstractXulComponent.invoke(AbstractXulComponent.java:123) at org.pentaho.ui.xul.swt.tags.SwtButton.access$100(SwtButton.java:26) at org.pentaho.ui.xul.swt.tags.SwtButton$1.widgetSelected(SwtButton.java:51) 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.ui.xul.swt.tags.SwtDialog.show(SwtDialog.java:375) at org.pentaho.ui.xul.swt.tags.SwtDialog.show(SwtDialog.java:301) at org.pentaho.commons.metadata.mqleditor.editor.AbstractMqlEditor.show(AbstractMqlEditor.java:160) at org.pentaho.agilebi.spoon.wizard.ui.xul.steps.DataSourceAndQueryStep$DatasourceAndQueryStepHandler.doEditQuery(DataSourceAndQueryStep.java:222) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at org.pentaho.ui.xul.impl.AbstractXulDomContainer.invoke(AbstractXulDomContainer.java:329) at org.pentaho.ui.xul.impl.AbstractXulComponent.invoke(AbstractXulComponent.java:139) at org.pentaho.ui.xul.impl.AbstractXulComponent.invoke(AbstractXulComponent.java:123) at org.pentaho.ui.xul.swt.tags.SwtButton.access$500(SwtButton.java:26) at org.pentaho.ui.xul.swt.tags.SwtButton$4.widgetSelected(SwtButton.java:121) 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.ui.xul.swt.tags.SwtDialog.show(SwtDialog.java:375) at org.pentaho.ui.xul.swt.tags.SwtDialog.show(SwtDialog.java:301) at org.pentaho.agilebi.spoon.wizard.EmbeddedWizard.run(EmbeddedWizard.java:170) at org.pentaho.agilebi.spoon.wizard.EmbeddedWizard$1.run(EmbeddedWizard.java:99) at org.eclipse.swt.widgets.RunnableLock.run(Unknown Source) at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Unknown Source) at org.eclipse.swt.widgets.Display.runAsyncMessages(Unknown Source) at org.eclipse.swt.widgets.Display.readAndDispatch(Unknown Source) at org.pentaho.di.ui.spoon.Spoon.readAndDispatch(Spoon.java:1227) at org.pentaho.di.ui.spoon.Spoon.waitForDispose(Spoon.java:7351) at org.pentaho.di.ui.spoon.Spoon.start(Spoon.java:8656) at org.pentaho.di.ui.spoon.Spoon.main(Spoon.java:625) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at org.pentaho.commons.launcher.Launcher.main(Launcher.java:134) Caused by: java.lang.reflect.InvocationTargetException at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at org.pentaho.ui.xul.impl.AbstractXulDomContainer.invoke(AbstractXulDomContainer.java:329) ... 48 more Caused by: java.lang.NoClassDefFoundError: org/pentaho/reporting/ui/datasources/pmd/PmdPreviewWorker at org.pentaho.agilebi.spoon.wizard.ui.xul.steps.DataSourceAndQueryStep$DatasourceAndQueryStepHandler$1.getPreviewData(DataSourceAndQueryStep.java:151) at org.pentaho.agilebi.spoon.wizard.ui.xul.steps.DataSourceAndQueryStep$DatasourceAndQueryStepHandler$2.getPreviewData(DataSourceAndQueryStep.java:182) at org.pentaho.commons.metadata.mqleditor.editor.controllers.PreviewController.showPreview(PreviewController.java:105) ... 53 more Caused by: java.lang.ClassNotFoundException: org.pentaho.reporting.ui.datasources.pmd.PmdPreviewWorker at java.net.URLClassLoader$1.run(URLClassLoader.java:366) at java.net.URLClassLoader$1.run(URLClassLoader.java:355) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:354) at java.lang.ClassLoader.loadClass(ClassLoader.java:424) at java.lang.ClassLoader.loadClass(ClassLoader.java:357) at org.pentaho.di.core.plugins.KettleURLClassLoader.loadClass(KettleURLClassLoader.java:98) at java.lang.ClassLoader.loadClass(ClassLoader.java:357) ... 56 more

    Pentaho BI Platform Tracking | 4 years ago | Curtis Boyden
    org.pentaho.ui.xul.XulException: Error invoking method: previewController.showPreview()
  2. 0

    Repro: 1) Create a transformation with a simple table output 2) Right-click on the table output step and select Visualize > Report Wizard 3) When building the query in report wizard, hit 'preview' -- Following exception occurs ERROR 05-09 11:32:26,270 - Error calling oncommand event org.pentaho.ui.xul.XulException: Error invoking method: previewController.showPreview() at org.pentaho.ui.xul.impl.AbstractXulDomContainer.invoke(AbstractXulDomContainer.java:333) at org.pentaho.ui.xul.impl.AbstractXulComponent.invoke(AbstractXulComponent.java:139) at org.pentaho.ui.xul.impl.AbstractXulComponent.invoke(AbstractXulComponent.java:123) at org.pentaho.ui.xul.swt.tags.SwtButton.access$100(SwtButton.java:26) at org.pentaho.ui.xul.swt.tags.SwtButton$1.widgetSelected(SwtButton.java:51) 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.ui.xul.swt.tags.SwtDialog.show(SwtDialog.java:375) at org.pentaho.ui.xul.swt.tags.SwtDialog.show(SwtDialog.java:301) at org.pentaho.commons.metadata.mqleditor.editor.AbstractMqlEditor.show(AbstractMqlEditor.java:160) at org.pentaho.agilebi.spoon.wizard.ui.xul.steps.DataSourceAndQueryStep$DatasourceAndQueryStepHandler.doEditQuery(DataSourceAndQueryStep.java:222) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at org.pentaho.ui.xul.impl.AbstractXulDomContainer.invoke(AbstractXulDomContainer.java:329) at org.pentaho.ui.xul.impl.AbstractXulComponent.invoke(AbstractXulComponent.java:139) at org.pentaho.ui.xul.impl.AbstractXulComponent.invoke(AbstractXulComponent.java:123) at org.pentaho.ui.xul.swt.tags.SwtButton.access$500(SwtButton.java:26) at org.pentaho.ui.xul.swt.tags.SwtButton$4.widgetSelected(SwtButton.java:121) 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.ui.xul.swt.tags.SwtDialog.show(SwtDialog.java:375) at org.pentaho.ui.xul.swt.tags.SwtDialog.show(SwtDialog.java:301) at org.pentaho.agilebi.spoon.wizard.EmbeddedWizard.run(EmbeddedWizard.java:170) at org.pentaho.agilebi.spoon.wizard.EmbeddedWizard$1.run(EmbeddedWizard.java:99) at org.eclipse.swt.widgets.RunnableLock.run(Unknown Source) at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Unknown Source) at org.eclipse.swt.widgets.Display.runAsyncMessages(Unknown Source) at org.eclipse.swt.widgets.Display.readAndDispatch(Unknown Source) at org.pentaho.di.ui.spoon.Spoon.readAndDispatch(Spoon.java:1227) at org.pentaho.di.ui.spoon.Spoon.waitForDispose(Spoon.java:7351) at org.pentaho.di.ui.spoon.Spoon.start(Spoon.java:8656) at org.pentaho.di.ui.spoon.Spoon.main(Spoon.java:625) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at org.pentaho.commons.launcher.Launcher.main(Launcher.java:134) Caused by: java.lang.reflect.InvocationTargetException at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at org.pentaho.ui.xul.impl.AbstractXulDomContainer.invoke(AbstractXulDomContainer.java:329) ... 48 more Caused by: java.lang.NoClassDefFoundError: org/pentaho/reporting/ui/datasources/pmd/PmdPreviewWorker at org.pentaho.agilebi.spoon.wizard.ui.xul.steps.DataSourceAndQueryStep$DatasourceAndQueryStepHandler$1.getPreviewData(DataSourceAndQueryStep.java:151) at org.pentaho.agilebi.spoon.wizard.ui.xul.steps.DataSourceAndQueryStep$DatasourceAndQueryStepHandler$2.getPreviewData(DataSourceAndQueryStep.java:182) at org.pentaho.commons.metadata.mqleditor.editor.controllers.PreviewController.showPreview(PreviewController.java:105) ... 53 more Caused by: java.lang.ClassNotFoundException: org.pentaho.reporting.ui.datasources.pmd.PmdPreviewWorker at java.net.URLClassLoader$1.run(URLClassLoader.java:366) at java.net.URLClassLoader$1.run(URLClassLoader.java:355) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:354) at java.lang.ClassLoader.loadClass(ClassLoader.java:424) at java.lang.ClassLoader.loadClass(ClassLoader.java:357) at org.pentaho.di.core.plugins.KettleURLClassLoader.loadClass(KettleURLClassLoader.java:98) at java.lang.ClassLoader.loadClass(ClassLoader.java:357) ... 56 more

    Pentaho BI Platform Tracking | 4 years ago | Curtis Boyden
    org.pentaho.ui.xul.XulException: Error invoking method: previewController.showPreview()
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0

    Error creating Ruby Scripting Step

    GitHub | 6 years ago | mphelps
    org.typeexit.kettle.plugin.steps.ruby.RubyStepMeta
  5. 0

    java.lang.ClassNotFoundException: org.pentaho.di.ui.trans.steps.cassandrainput.CassandraInputDialog

    GitHub | 3 years ago | owocki
    java.lang.ClassNotFoundException: org.pentaho.di.ui.trans.steps.cassandrainput.CassandraInputDialog
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.ClassNotFoundException

    org.pentaho.reporting.ui.datasources.pmd.PmdPreviewWorker

    at java.net.URLClassLoader$1.run()
  2. Java RT
    ClassLoader.loadClass
    1. java.net.URLClassLoader$1.run(URLClassLoader.java:366)
    2. java.net.URLClassLoader$1.run(URLClassLoader.java:355)
    3. java.security.AccessController.doPrivileged(Native Method)
    4. java.net.URLClassLoader.findClass(URLClassLoader.java:354)
    5. java.lang.ClassLoader.loadClass(ClassLoader.java:424)
    6. java.lang.ClassLoader.loadClass(ClassLoader.java:357)
    6 frames
  3. org.pentaho.di
    KettleURLClassLoader.loadClass
    1. org.pentaho.di.core.plugins.KettleURLClassLoader.loadClass(KettleURLClassLoader.java:98)
    1 frame
  4. Java RT
    ClassLoader.loadClass
    1. java.lang.ClassLoader.loadClass(ClassLoader.java:357)
    1 frame
  5. org.pentaho.agilebi
    DataSourceAndQueryStep$DatasourceAndQueryStepHandler$2.getPreviewData
    1. org.pentaho.agilebi.spoon.wizard.ui.xul.steps.DataSourceAndQueryStep$DatasourceAndQueryStepHandler$1.getPreviewData(DataSourceAndQueryStep.java:151)
    2. org.pentaho.agilebi.spoon.wizard.ui.xul.steps.DataSourceAndQueryStep$DatasourceAndQueryStepHandler$2.getPreviewData(DataSourceAndQueryStep.java:182)
    2 frames
  6. org.pentaho.commons
    PreviewController.showPreview
    1. org.pentaho.commons.metadata.mqleditor.editor.controllers.PreviewController.showPreview(PreviewController.java:105)
    1 frame
  7. Java RT
    Method.invoke
    1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
    3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    4. java.lang.reflect.Method.invoke(Method.java:606)
    4 frames
  8. org.pentaho.ui
    SwtButton$1.widgetSelected
    1. org.pentaho.ui.xul.impl.AbstractXulDomContainer.invoke(AbstractXulDomContainer.java:329)
    2. org.pentaho.ui.xul.impl.AbstractXulComponent.invoke(AbstractXulComponent.java:139)
    3. org.pentaho.ui.xul.impl.AbstractXulComponent.invoke(AbstractXulComponent.java:123)
    4. org.pentaho.ui.xul.swt.tags.SwtButton.access$100(SwtButton.java:26)
    5. org.pentaho.ui.xul.swt.tags.SwtButton$1.widgetSelected(SwtButton.java:51)
    5 frames
  9. 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
  10. 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
  11. org.pentaho.ui
    SwtDialog.show
    1. org.pentaho.ui.xul.swt.tags.SwtDialog.show(SwtDialog.java:375)
    2. org.pentaho.ui.xul.swt.tags.SwtDialog.show(SwtDialog.java:301)
    2 frames
  12. org.pentaho.commons
    AbstractMqlEditor.show
    1. org.pentaho.commons.metadata.mqleditor.editor.AbstractMqlEditor.show(AbstractMqlEditor.java:160)
    1 frame
  13. org.pentaho.agilebi
    DataSourceAndQueryStep$DatasourceAndQueryStepHandler.doEditQuery
    1. org.pentaho.agilebi.spoon.wizard.ui.xul.steps.DataSourceAndQueryStep$DatasourceAndQueryStepHandler.doEditQuery(DataSourceAndQueryStep.java:222)
    1 frame
  14. Java RT
    Method.invoke
    1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
    3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    4. java.lang.reflect.Method.invoke(Method.java:606)
    4 frames
  15. org.pentaho.ui
    SwtButton$4.widgetSelected
    1. org.pentaho.ui.xul.impl.AbstractXulDomContainer.invoke(AbstractXulDomContainer.java:329)
    2. org.pentaho.ui.xul.impl.AbstractXulComponent.invoke(AbstractXulComponent.java:139)
    3. org.pentaho.ui.xul.impl.AbstractXulComponent.invoke(AbstractXulComponent.java:123)
    4. org.pentaho.ui.xul.swt.tags.SwtButton.access$500(SwtButton.java:26)
    5. org.pentaho.ui.xul.swt.tags.SwtButton$4.widgetSelected(SwtButton.java:121)
    5 frames
  16. 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
  17. 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
  18. org.pentaho.ui
    SwtDialog.show
    1. org.pentaho.ui.xul.swt.tags.SwtDialog.show(SwtDialog.java:375)
    2. org.pentaho.ui.xul.swt.tags.SwtDialog.show(SwtDialog.java:301)
    2 frames
  19. org.pentaho.agilebi
    EmbeddedWizard$1.run
    1. org.pentaho.agilebi.spoon.wizard.EmbeddedWizard.run(EmbeddedWizard.java:170)
    2. org.pentaho.agilebi.spoon.wizard.EmbeddedWizard$1.run(EmbeddedWizard.java:99)
    2 frames
  20. RWT
    Display.readAndDispatch
    1. org.eclipse.swt.widgets.RunnableLock.run(Unknown Source)
    2. org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Unknown Source)
    3. org.eclipse.swt.widgets.Display.runAsyncMessages(Unknown Source)
    4. org.eclipse.swt.widgets.Display.readAndDispatch(Unknown Source)
    4 frames
  21. org.pentaho.di
    Spoon.main
    1. org.pentaho.di.ui.spoon.Spoon.readAndDispatch(Spoon.java:1227)
    2. org.pentaho.di.ui.spoon.Spoon.waitForDispose(Spoon.java:7351)
    3. org.pentaho.di.ui.spoon.Spoon.start(Spoon.java:8656)
    4. org.pentaho.di.ui.spoon.Spoon.main(Spoon.java:625)
    4 frames
  22. Java RT
    Method.invoke
    1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
    3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    4. java.lang.reflect.Method.invoke(Method.java:606)
    4 frames
  23. org.pentaho.commons
    Launcher.main
    1. org.pentaho.commons.launcher.Launcher.main(Launcher.java:134)
    1 frame