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

Pentaho BI Platform Tracking | Sail Lee | 11 months ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  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 | 11 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 | 11 months ago | Sail Lee
    java.lang.IllegalArgumentException: DatabaseMeta is not JNDI, it is OCI

    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