java.lang.ClassNotFoundException: org.pentaho.di.openerp.core.OpenERPHelper

Pentaho BI Platform Tracking | Pieter van der Merwe (De Bortoli Wines, Australia) | 5 years ago
  1. 0

    This doesn't happen on the development environment using Eclipse but it happens on a finished build. To reproduce: 1. Download the latest version from the CI server, for example pdi-ce-4.3.0-M1-r15785.tar.gz; or do a build on the current trunk and run kettle from the distrib directory. 2. Create a new Palo or OpenERP connection and enter anything in the connection parameters. It doesn't need to be valid. 3. Press the test button. Then you get the errors listed below. Interestingly the steps still work that make use of the connections (as far as I've tested). It only seems to affect the database connection dialog. OpenERP Connection I'm sorry, we can't create a test report for this database. {noformat} Error connecting to database [dbw_openerp1] : java.lang.ClassNotFoundException: org.pentaho.di.openerp.core.OpenERPHelper java.lang.ClassNotFoundException: org.pentaho.di.openerp.core.OpenERPHelper at java.net.URLClassLoader$1.run(URLClassLoader.java:217) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:205) at java.lang.ClassLoader.loadClass(ClassLoader.java:319) at java.lang.ClassLoader.loadClass(ClassLoader.java:264) at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:332) at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Class.java:186) at org.pentaho.di.core.database.DatabaseMeta.getDatabaseFactory(DatabaseMeta.java:2471) at org.pentaho.di.core.database.DatabaseMeta.testConnection(DatabaseMeta.java:2454) at org.pentaho.ui.database.event.DataHandler.testDatabaseConnection(DataHandler.java:511) 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:616) 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:119) 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:378) at org.pentaho.ui.xul.swt.tags.SwtDialog.show(SwtDialog.java:304) at org.pentaho.di.ui.core.database.dialog.XulDatabaseDialog.open(XulDatabaseDialog.java:104) at org.pentaho.di.ui.core.database.dialog.DatabaseDialog.open(DatabaseDialog.java:51) at org.pentaho.di.ui.spoon.delegates.SpoonDBDelegate.editConnection(SpoonDBDelegate.java:78) at org.pentaho.di.ui.spoon.Spoon.doubleClickedInTree(Spoon.java:2778) at org.pentaho.di.ui.spoon.Spoon.access$1900(Spoon.java:299) at org.pentaho.di.ui.spoon.Spoon$24.widgetDefaultSelected(Spoon.java:5258) 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.di.ui.spoon.Spoon.readAndDispatch(Spoon.java:1169) at org.pentaho.di.ui.spoon.Spoon.start(Spoon.java:6938) at org.pentaho.di.ui.spoon.Spoon.main(Spoon.java:553) 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:616) at org.pentaho.commons.launcher.Launcher.main(Launcher.java:134) {noformat} Palo Error: I'm sorry, we can't create a test report for this database. {noformat} Error connecting to database [dbw_openerp1] : java.lang.ClassNotFoundException: org.pentaho.di.palo.core.PaloHelper java.lang.ClassNotFoundException: org.pentaho.di.palo.core.PaloHelper (Same stack trace as before) {noformat} It didn't happen when I last tested (around 10 builds ago?), but I didn't have enough time to check at which revision it broke.

    Pentaho BI Platform Tracking | 5 years ago | Pieter van der Merwe (De Bortoli Wines, Australia)
    java.lang.ClassNotFoundException: org.pentaho.di.openerp.core.OpenERPHelper
  2. 0

    This doesn't happen on the development environment using Eclipse but it happens on a finished build. To reproduce: 1. Download the latest version from the CI server, for example pdi-ce-4.3.0-M1-r15785.tar.gz; or do a build on the current trunk and run kettle from the distrib directory. 2. Create a new Palo or OpenERP connection and enter anything in the connection parameters. It doesn't need to be valid. 3. Press the test button. Then you get the errors listed below. Interestingly the steps still work that make use of the connections (as far as I've tested). It only seems to affect the database connection dialog. OpenERP Connection I'm sorry, we can't create a test report for this database. {noformat} Error connecting to database [dbw_openerp1] : java.lang.ClassNotFoundException: org.pentaho.di.openerp.core.OpenERPHelper java.lang.ClassNotFoundException: org.pentaho.di.openerp.core.OpenERPHelper at java.net.URLClassLoader$1.run(URLClassLoader.java:217) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:205) at java.lang.ClassLoader.loadClass(ClassLoader.java:319) at java.lang.ClassLoader.loadClass(ClassLoader.java:264) at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:332) at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Class.java:186) at org.pentaho.di.core.database.DatabaseMeta.getDatabaseFactory(DatabaseMeta.java:2471) at org.pentaho.di.core.database.DatabaseMeta.testConnection(DatabaseMeta.java:2454) at org.pentaho.ui.database.event.DataHandler.testDatabaseConnection(DataHandler.java:511) 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:616) 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:119) 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:378) at org.pentaho.ui.xul.swt.tags.SwtDialog.show(SwtDialog.java:304) at org.pentaho.di.ui.core.database.dialog.XulDatabaseDialog.open(XulDatabaseDialog.java:104) at org.pentaho.di.ui.core.database.dialog.DatabaseDialog.open(DatabaseDialog.java:51) at org.pentaho.di.ui.spoon.delegates.SpoonDBDelegate.editConnection(SpoonDBDelegate.java:78) at org.pentaho.di.ui.spoon.Spoon.doubleClickedInTree(Spoon.java:2778) at org.pentaho.di.ui.spoon.Spoon.access$1900(Spoon.java:299) at org.pentaho.di.ui.spoon.Spoon$24.widgetDefaultSelected(Spoon.java:5258) 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.di.ui.spoon.Spoon.readAndDispatch(Spoon.java:1169) at org.pentaho.di.ui.spoon.Spoon.start(Spoon.java:6938) at org.pentaho.di.ui.spoon.Spoon.main(Spoon.java:553) 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:616) at org.pentaho.commons.launcher.Launcher.main(Launcher.java:134) {noformat} Palo Error: I'm sorry, we can't create a test report for this database. {noformat} Error connecting to database [dbw_openerp1] : java.lang.ClassNotFoundException: org.pentaho.di.palo.core.PaloHelper java.lang.ClassNotFoundException: org.pentaho.di.palo.core.PaloHelper (Same stack trace as before) {noformat} It didn't happen when I last tested (around 10 builds ago?), but I didn't have enough time to check at which revision it broke.

    Pentaho BI Platform Tracking | 5 years ago | Pieter van der Merwe (De Bortoli Wines, Australia)
    java.lang.ClassNotFoundException: org.pentaho.di.openerp.core.OpenERPHelper
  3. 0

    PALO problem with pentaho report designer connection [Archive] - Pentaho Community Forums

    pentaho.com | 5 months ago
    java.lang.ClassNotFoundException: plugin.palo.core.PaloHelper
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Managed server failed during start

    Oracle Community | 7 years ago | user507243
    java.lang.ClassNotFoundException: weblogic.jndi.internal.ServerNamingNode_922_WLStub
  6. 0

    Weblogic Version Check

    Oracle Community | 7 years ago | user507243
    java.lang.ClassNotFoundException: weblogic.jndi.internal.ServerNamingNode_922_WLStub

  1. gehel 1 times, last 5 days ago
  2. davidvanlaatum 3 times, last 6 days ago
  3. danleyb2Interintel 1 times, last 1 week ago
  4. malhobayyeb 3 times, last 2 weeks ago
  5. Kialandei 1 times, last 2 weeks ago
49 more registered users
46 unregistered visitors
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.di.openerp.core.OpenERPHelper

    at java.net.URLClassLoader$1.run()
  2. Java RT
    Class.forName
    1. java.net.URLClassLoader$1.run(URLClassLoader.java:217)
    2. java.security.AccessController.doPrivileged(Native Method)
    3. java.net.URLClassLoader.findClass(URLClassLoader.java:205)
    4. java.lang.ClassLoader.loadClass(ClassLoader.java:319)
    5. java.lang.ClassLoader.loadClass(ClassLoader.java:264)
    6. java.lang.ClassLoader.loadClassInternal(ClassLoader.java:332)
    7. java.lang.Class.forName0(Native Method)
    8. java.lang.Class.forName(Class.java:186)
    8 frames
  3. org.pentaho.di
    DatabaseMeta.testConnection
    1. org.pentaho.di.core.database.DatabaseMeta.getDatabaseFactory(DatabaseMeta.java:2471)
    2. org.pentaho.di.core.database.DatabaseMeta.testConnection(DatabaseMeta.java:2454)
    2 frames
  4. org.pentaho.ui
    DataHandler.testDatabaseConnection
    1. org.pentaho.ui.database.event.DataHandler.testDatabaseConnection(DataHandler.java:511)
    1 frame
  5. 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:616)
    4 frames
  6. 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:119)
    5 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. 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
  9. org.pentaho.ui
    SwtDialog.show
    1. org.pentaho.ui.xul.swt.tags.SwtDialog.show(SwtDialog.java:378)
    2. org.pentaho.ui.xul.swt.tags.SwtDialog.show(SwtDialog.java:304)
    2 frames
  10. org.pentaho.di
    Spoon$24.widgetDefaultSelected
    1. org.pentaho.di.ui.core.database.dialog.XulDatabaseDialog.open(XulDatabaseDialog.java:104)
    2. org.pentaho.di.ui.core.database.dialog.DatabaseDialog.open(DatabaseDialog.java:51)
    3. org.pentaho.di.ui.spoon.delegates.SpoonDBDelegate.editConnection(SpoonDBDelegate.java:78)
    4. org.pentaho.di.ui.spoon.Spoon.doubleClickedInTree(Spoon.java:2778)
    5. org.pentaho.di.ui.spoon.Spoon.access$1900(Spoon.java:299)
    6. org.pentaho.di.ui.spoon.Spoon$24.widgetDefaultSelected(Spoon.java:5258)
    6 frames
  11. 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
  12. org.pentaho.di
    Spoon.main
    1. org.pentaho.di.ui.spoon.Spoon.readAndDispatch(Spoon.java:1169)
    2. org.pentaho.di.ui.spoon.Spoon.start(Spoon.java:6938)
    3. org.pentaho.di.ui.spoon.Spoon.main(Spoon.java:553)
    3 frames
  13. 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:616)
    4 frames
  14. org.pentaho.commons
    Launcher.main
    1. org.pentaho.commons.launcher.Launcher.main(Launcher.java:134)
    1 frame