java.lang.IllegalArgumentException: DatabaseMeta is not JNDI, it is OCI

Pentaho BI Platform Tracking | Sail Lee | 6 months ago
  1. 0

    Hi Dear, Something wrong when I used OCI to connect my oracle server. My database connect configuration is right and test is pass. When I preview table input/output, PDI causes an unexpected error, "DatabaseMeta is not JNDI, it is OCI", detail messages is follow: {noformat} java.lang.IllegalArgumentException: DatabaseMeta is not JNDI, it is OCI at org.pentaho.metaverse.api.model.JndiResourceInfo.<init>(JndiResourceInfo.java:38) at org.pentaho.metaverse.api.model.ExternalResourceInfoFactory.createDatabaseResource(ExternalResourceInfoFactory.java:51) at org.pentaho.metaverse.analyzer.kettle.step.tableinput.TableInputExternalResourceConsumer.getResourcesFromMeta(TableInputExternalResourceConsumer.java:50) at org.pentaho.metaverse.analyzer.kettle.step.tableinput.TableInputExternalResourceConsumer.getResourcesFromMeta(TableInputExternalResourceConsumer.java:38) at org.pentaho.metaverse.api.analyzer.kettle.step.BaseStepExternalResourceConsumer.getResourcesFromMeta(BaseStepExternalResourceConsumer.java:50) at org.pentaho.metaverse.api.analyzer.kettle.step.BaseStepExternalResourceConsumer.getResourcesFromMeta(BaseStepExternalResourceConsumer.java:40) at Proxy44986bf0_34de_4f6d_9d3e_7fba17410e6c.getResourcesFromMeta(Unknown Source) at Proxy44986bf0_34de_4f6d_9d3e_7fba17410e6c.getResourcesFromMeta(Unknown Source) at org.pentaho.metaverse.analyzer.kettle.extensionpoints.trans.step.StepExternalResourceConsumerListener.callExtensionPoint(StepExternalResourceConsumerListener.java:87) at org.pentaho.di.core.extension.ExtensionPointHandler.callExtensionPoint(ExtensionPointHandler.java:46) at org.pentaho.di.trans.Trans.startThreads(Trans.java:1344) at org.pentaho.di.ui.spoon.trans.TransGraph.startThreads(TransGraph.java:4086) at org.pentaho.di.ui.spoon.trans.TransGraph.debug(TransGraph.java:3833) at org.pentaho.di.ui.spoon.delegates.SpoonTransformationDelegate.executeTransformation(SpoonTransformationDelegate.java:879) at org.pentaho.di.ui.spoon.Spoon$31$1.run(Spoon.java:8523) 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:1347) at org.pentaho.di.ui.spoon.Spoon.waitForDispose(Spoon.java:7989) at org.pentaho.di.ui.spoon.Spoon.start(Spoon.java:9269) at org.pentaho.di.ui.spoon.Spoon.main(Spoon.java:662) 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:92) {noformat}

    Pentaho BI Platform Tracking | 6 months ago | Sail Lee
    java.lang.IllegalArgumentException: DatabaseMeta is not JNDI, it is OCI
  2. 0

    Hi Dear, Something wrong when I used OCI to connect my oracle server. My database connect configuration is right and test is pass. When I preview table input/output, PDI causes an unexpected error, "DatabaseMeta is not JNDI, it is OCI", detail messages is follow: {noformat} java.lang.IllegalArgumentException: DatabaseMeta is not JNDI, it is OCI at org.pentaho.metaverse.api.model.JndiResourceInfo.<init>(JndiResourceInfo.java:38) at org.pentaho.metaverse.api.model.ExternalResourceInfoFactory.createDatabaseResource(ExternalResourceInfoFactory.java:51) at org.pentaho.metaverse.analyzer.kettle.step.tableinput.TableInputExternalResourceConsumer.getResourcesFromMeta(TableInputExternalResourceConsumer.java:50) at org.pentaho.metaverse.analyzer.kettle.step.tableinput.TableInputExternalResourceConsumer.getResourcesFromMeta(TableInputExternalResourceConsumer.java:38) at org.pentaho.metaverse.api.analyzer.kettle.step.BaseStepExternalResourceConsumer.getResourcesFromMeta(BaseStepExternalResourceConsumer.java:50) at org.pentaho.metaverse.api.analyzer.kettle.step.BaseStepExternalResourceConsumer.getResourcesFromMeta(BaseStepExternalResourceConsumer.java:40) at Proxy44986bf0_34de_4f6d_9d3e_7fba17410e6c.getResourcesFromMeta(Unknown Source) at Proxy44986bf0_34de_4f6d_9d3e_7fba17410e6c.getResourcesFromMeta(Unknown Source) at org.pentaho.metaverse.analyzer.kettle.extensionpoints.trans.step.StepExternalResourceConsumerListener.callExtensionPoint(StepExternalResourceConsumerListener.java:87) at org.pentaho.di.core.extension.ExtensionPointHandler.callExtensionPoint(ExtensionPointHandler.java:46) at org.pentaho.di.trans.Trans.startThreads(Trans.java:1344) at org.pentaho.di.ui.spoon.trans.TransGraph.startThreads(TransGraph.java:4086) at org.pentaho.di.ui.spoon.trans.TransGraph.debug(TransGraph.java:3833) at org.pentaho.di.ui.spoon.delegates.SpoonTransformationDelegate.executeTransformation(SpoonTransformationDelegate.java:879) at org.pentaho.di.ui.spoon.Spoon$31$1.run(Spoon.java:8523) 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:1347) at org.pentaho.di.ui.spoon.Spoon.waitForDispose(Spoon.java:7989) at org.pentaho.di.ui.spoon.Spoon.start(Spoon.java:9269) at org.pentaho.di.ui.spoon.Spoon.main(Spoon.java:662) 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:92) {noformat}

    Pentaho BI Platform Tracking | 6 months ago | Sail Lee
    java.lang.IllegalArgumentException: DatabaseMeta is not JNDI, it is OCI
  3. 0

    version 1.4.0.b downloaded from your site today. I created a project in uDig. I saved it; closed uDig. When I try to open the project, I'm left with an empty workspace, it's as if nothing happened. The log is filled with messages such as: !ENTRY org.eclipse.update.configurator 4 0 2013-07-28 09:49:14.933 !MESSAGE Could not install bundle plugins/com.ibm.icu_4.4.2.v20110823.jar Bundle "com.ibm.icu" version "4.4.2.v20110823" has already been installed from: reference:[file:plugins/com.ibm.icu_4.4.2.v20110823.jar] - file:plugins/com.ibm.icu_4.4.2.v20110823.jar and the final error message is: !ENTRY net.refractions.udig.project.ui 1 0 2013-07-28 09:53:03.896 !MESSAGE Could not load map from file: [file:/C:/Users/jlpoole/uDig/NapaDogs.udig/NapaDogs.udig/project.uprj] - file:/C:/Users/jlpoole/uDig/NapaDogs.udig/NapaDogs.udig/project.uprj !STACK 0 java.lang.IllegalArgumentException: Loaded object is not a ProjectElement it is a ProjectImpl at net.refractions.udig.project.ui.ApplicationGIS.loadProjectElement(ApplicationGIS.java:592) at net.refractions.udig.project.ui.internal.actions.OpenMapAction.loadMapFromURL(OpenMapAction.java:90) at net.refractions.udig.project.ui.internal.actions.OpenMapAction.loadMapFromString(OpenMapAction.java:143) at net.refractions.udig.project.ui.internal.actions.OpenMapAction.run(OpenMapAction.java:59) at org.eclipse.ui.internal.PluginAction.runWithEvent(PluginAction.java:251) at org.eclipse.ui.internal.WWinPluginAction.runWithEvent(WWinPluginAction.java:229) at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:584) at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:501) at org.eclipse.jface.action.ActionContributionItem$5.handleEvent(ActionContributionItem.java:411) at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1053) at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4165) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3754) at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2701) at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2665) at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2499) at org.eclipse.ui.internal.Workbench$7.run(Workbench.java:679) at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332) at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:668) at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149) at net.refractions.udig.internal.ui.UDIGApplication.start(UDIGApplication.java:132) at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:344) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:622) at org.eclipse.equinox.launcher.Main.basicRun(Main.java:577) at org.eclipse.equinox.launcher.Main.run(Main.java:1410) at org.eclipse.equinox.launcher.Main.main(Main.java:1386)

    JIRA | 2 years ago | codehaus
    java.lang.IllegalArgumentException: Loaded object is not a ProjectElement it is a ProjectImpl
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    version 1.4.0.b downloaded from your site today. I created a project in uDig. I saved it; closed uDig. When I try to open the project, I'm left with an empty workspace, it's as if nothing happened. The log is filled with messages such as: !ENTRY org.eclipse.update.configurator 4 0 2013-07-28 09:49:14.933 !MESSAGE Could not install bundle plugins/com.ibm.icu_4.4.2.v20110823.jar Bundle "com.ibm.icu" version "4.4.2.v20110823" has already been installed from: reference:[file:plugins/com.ibm.icu_4.4.2.v20110823.jar] - file:plugins/com.ibm.icu_4.4.2.v20110823.jar and the final error message is: !ENTRY net.refractions.udig.project.ui 1 0 2013-07-28 09:53:03.896 !MESSAGE Could not load map from file: [file:/C:/Users/jlpoole/uDig/NapaDogs.udig/NapaDogs.udig/project.uprj] - file:/C:/Users/jlpoole/uDig/NapaDogs.udig/NapaDogs.udig/project.uprj !STACK 0 java.lang.IllegalArgumentException: Loaded object is not a ProjectElement it is a ProjectImpl at net.refractions.udig.project.ui.ApplicationGIS.loadProjectElement(ApplicationGIS.java:592) at net.refractions.udig.project.ui.internal.actions.OpenMapAction.loadMapFromURL(OpenMapAction.java:90) at net.refractions.udig.project.ui.internal.actions.OpenMapAction.loadMapFromString(OpenMapAction.java:143) at net.refractions.udig.project.ui.internal.actions.OpenMapAction.run(OpenMapAction.java:59) at org.eclipse.ui.internal.PluginAction.runWithEvent(PluginAction.java:251) at org.eclipse.ui.internal.WWinPluginAction.runWithEvent(WWinPluginAction.java:229) at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:584) at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:501) at org.eclipse.jface.action.ActionContributionItem$5.handleEvent(ActionContributionItem.java:411) at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1053) at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4165) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3754) at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2701) at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2665) at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2499) at org.eclipse.ui.internal.Workbench$7.run(Workbench.java:679) at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332) at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:668) at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149) at net.refractions.udig.internal.ui.UDIGApplication.start(UDIGApplication.java:132) at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:344) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:622) at org.eclipse.equinox.launcher.Main.basicRun(Main.java:577) at org.eclipse.equinox.launcher.Main.run(Main.java:1410) at org.eclipse.equinox.launcher.Main.main(Main.java:1386)

    JIRA | 2 years ago | codehaus
    java.lang.IllegalArgumentException: Loaded object is not a ProjectElement it is a ProjectImpl

    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.IllegalArgumentException

      DatabaseMeta is not JNDI, it is OCI

      at org.pentaho.metaverse.api.model.JndiResourceInfo.<init>()
    2. org.pentaho.metaverse
      BaseStepExternalResourceConsumer.getResourcesFromMeta
      1. org.pentaho.metaverse.api.model.JndiResourceInfo.<init>(JndiResourceInfo.java:38)
      2. org.pentaho.metaverse.api.model.ExternalResourceInfoFactory.createDatabaseResource(ExternalResourceInfoFactory.java:51)
      3. org.pentaho.metaverse.analyzer.kettle.step.tableinput.TableInputExternalResourceConsumer.getResourcesFromMeta(TableInputExternalResourceConsumer.java:50)
      4. org.pentaho.metaverse.analyzer.kettle.step.tableinput.TableInputExternalResourceConsumer.getResourcesFromMeta(TableInputExternalResourceConsumer.java:38)
      5. org.pentaho.metaverse.api.analyzer.kettle.step.BaseStepExternalResourceConsumer.getResourcesFromMeta(BaseStepExternalResourceConsumer.java:50)
      6. org.pentaho.metaverse.api.analyzer.kettle.step.BaseStepExternalResourceConsumer.getResourcesFromMeta(BaseStepExternalResourceConsumer.java:40)
      6 frames
    3. Unknown
      Proxy44986bf0_34de_4f6d_9d3e_7fba17410e6c.getResourcesFromMeta
      1. Proxy44986bf0_34de_4f6d_9d3e_7fba17410e6c.getResourcesFromMeta(Unknown Source)
      2. Proxy44986bf0_34de_4f6d_9d3e_7fba17410e6c.getResourcesFromMeta(Unknown Source)
      2 frames
    4. org.pentaho.metaverse
      StepExternalResourceConsumerListener.callExtensionPoint
      1. org.pentaho.metaverse.analyzer.kettle.extensionpoints.trans.step.StepExternalResourceConsumerListener.callExtensionPoint(StepExternalResourceConsumerListener.java:87)
      1 frame
    5. org.pentaho.di
      Spoon$31$1.run
      1. org.pentaho.di.core.extension.ExtensionPointHandler.callExtensionPoint(ExtensionPointHandler.java:46)
      2. org.pentaho.di.trans.Trans.startThreads(Trans.java:1344)
      3. org.pentaho.di.ui.spoon.trans.TransGraph.startThreads(TransGraph.java:4086)
      4. org.pentaho.di.ui.spoon.trans.TransGraph.debug(TransGraph.java:3833)
      5. org.pentaho.di.ui.spoon.delegates.SpoonTransformationDelegate.executeTransformation(SpoonTransformationDelegate.java:879)
      6. org.pentaho.di.ui.spoon.Spoon$31$1.run(Spoon.java:8523)
      6 frames
    6. 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
    7. org.pentaho.di
      Spoon.main
      1. org.pentaho.di.ui.spoon.Spoon.readAndDispatch(Spoon.java:1347)
      2. org.pentaho.di.ui.spoon.Spoon.waitForDispose(Spoon.java:7989)
      3. org.pentaho.di.ui.spoon.Spoon.start(Spoon.java:9269)
      4. org.pentaho.di.ui.spoon.Spoon.main(Spoon.java:662)
      4 frames
    8. 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
    9. org.pentaho.commons
      Launcher.main
      1. org.pentaho.commons.launcher.Launcher.main(Launcher.java:92)
      1 frame