java.lang.Throwable: java.sql.SQLException: statement handle not executed: getMetaData

mulesoft.com | 6 months 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

    Cannot Auto-Load DB's MetaData when using DataBase Connector - MuleSoft

    mulesoft.com | 6 months ago
    java.lang.Throwable: java.sql.SQLException: statement handle not executed: getMetaData

    Root Cause Analysis

    1. java.lang.Throwable

      java.sql.SQLException: statement handle not executed: getMetaData

      at oracle.jdbc.driver.SQLStateMapping.newSQLException()
    2. Oracle jdbc
      OraclePreparedStatementWrapper.getMetaData
      1. oracle.jdbc.driver.SQLStateMapping.newSQLException(SQLStateMapping.java:70)
      2. oracle.jdbc.driver.DatabaseError.newSQLException(DatabaseError.java:133)
      3. oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:199)
      4. oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:263)
      5. oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:271)
      6. oracle.jdbc.driver.OracleResultSetImpl.getMetaData(OracleResultSetImpl.java:141)
      7. oracle.jdbc.driver.OraclePreparedStatement.getMetaData(OraclePreparedStatement.java:4097)
      8. oracle.jdbc.driver.OraclePreparedStatementWrapper.getMetaData(OraclePreparedStatementWrapper.java:1499)
      8 frames
    3. org.mule.module
      AbstractDbMessageProcessor.getOutputMetaData
      1. org.mule.module.db.internal.metadata.SelectMetadataProvider.getDynamicOutputMetadata(SelectMetadataProvider.java:56)
      2. org.mule.module.db.internal.metadata.AbstractQueryMetadataProvider$OutputMetadataResolver.resolveMetaData(AbstractQueryMetadataProvider.java:361)
      3. org.mule.module.db.internal.metadata.AbstractQueryMetadataProvider.getMetaDataResult(AbstractQueryMetadataProvider.java:341)
      4. org.mule.module.db.internal.metadata.AbstractQueryMetadataProvider.getOutputMetaData(AbstractQueryMetadataProvider.java:310)
      5. org.mule.module.db.internal.processor.AbstractDbMessageProcessor.getOutputMetaData(AbstractDbMessageProcessor.java:142)
      5 frames
    4. org.mule.tooling
      BaseGetMetadataOperation$3.run
      1. org.mule.tooling.metadata.api.utils.MetadataRetriever.getExternalMetadata(MetadataRetriever.java:71)
      2. org.mule.tooling.ui.modules.core.metadata.MetadataRetrievalManager.getInputOutputMetadata(MetadataRetrievalManager.java:189)
      3. org.mule.tooling.ui.modules.core.metadata.action.GetInputOutputMetadata.executeMetadataRetrieverRunnableAction(GetInputOutputMetadata.java:86)
      4. org.mule.tooling.ui.modules.core.metadata.action.BaseGetMetadataOperation$3$1.call(BaseGetMetadataOperation.java:197)
      5. org.mule.tooling.ui.modules.core.metadata.action.BaseGetMetadataOperation$3$1.call(BaseGetMetadataOperation.java:1)
      6. org.mule.tooling.utils.SilentRunner.run(SilentRunner.java:25)
      7. org.mule.tooling.core.StudioDesignContextRunner.runSilentWithMuleProject(StudioDesignContextRunner.java:17)
      8. org.mule.tooling.core.StudioDesignContextRunner.runSilentWithMuleProject(StudioDesignContextRunner.java:37)
      9. org.mule.tooling.ui.modules.core.metadata.action.BaseGetMetadataOperation$3.run(BaseGetMetadataOperation.java:193)
      9 frames
    5. Java RT
      Thread.run
      1. java.lang.Thread.run(Thread.java:745)
      1 frame
    6. org.mule.tooling
      DataSenseJobNotificationPopup$1.widgetSelected
      1. org.mule.tooling.ui.modules.core.metadata.notifications.DataSenseJobNotificationPopup$1.widgetSelected(DataSenseJobNotificationPopup.java:163)
      1 frame
    7. RWT
      Display.windowProc
      1. org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:248)
      2. org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
      3. org.eclipse.swt.widgets.Display.sendEvent(Display.java:4353)
      4. org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1061)
      5. org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1085)
      6. org.eclipse.swt.widgets.Widget.sendSelectionEvent(Widget.java:1102)
      7. org.eclipse.swt.widgets.Link.wmNotifyChild(Link.java:1086)
      8. org.eclipse.swt.widgets.Control.wmNotify(Control.java:5618)
      9. org.eclipse.swt.widgets.Composite.wmNotify(Composite.java:1935)
      10. org.eclipse.swt.widgets.Control.WM_NOTIFY(Control.java:5169)
      11. org.eclipse.swt.widgets.Control.windowProc(Control.java:4666)
      12. org.eclipse.swt.widgets.Display.windowProc(Display.java:5036)
      12 frames
    8. org.eclipse.swt
      OS.CallWindowProc
      1. org.eclipse.swt.internal.win32.OS.CallWindowProcW(Native Method)
      2. org.eclipse.swt.internal.win32.OS.CallWindowProc(OS.java:2443)
      2 frames
    9. RWT
      Display.windowProc
      1. org.eclipse.swt.widgets.Link.callWindowProc(Link.java:172)
      2. org.eclipse.swt.widgets.Widget.wmLButtonUp(Widget.java:2079)
      3. org.eclipse.swt.widgets.Control.WM_LBUTTONUP(Control.java:4995)
      4. org.eclipse.swt.widgets.Link.WM_LBUTTONUP(Link.java:922)
      5. org.eclipse.swt.widgets.Control.windowProc(Control.java:4647)
      6. org.eclipse.swt.widgets.Display.windowProc(Display.java:5036)
      6 frames
    10. org.eclipse.swt
      OS.DispatchMessage
      1. org.eclipse.swt.internal.win32.OS.DispatchMessageW(Native Method)
      2. org.eclipse.swt.internal.win32.OS.DispatchMessage(OS.java:2549)
      2 frames
    11. RWT
      Display.readAndDispatch
      1. org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3759)
      1 frame
    12. Eclipse Workbench SWT
      PartRenderingEngine$9.run
      1. org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$9.run(PartRenderingEngine.java:1151)
      1 frame
    13. Databinding
      Realm.runWithDefault
      1. org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
      1 frame
    14. Eclipse Workbench SWT
      PartRenderingEngine.run
      1. org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:1032)
      1 frame
    15. Eclipse Workbench
      E4Workbench.createAndRunUI
      1. org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:148)
      1 frame
    16. Eclipse UI
      Workbench$5.run
      1. org.eclipse.ui.internal.Workbench$5.run(Workbench.java:636)
      1 frame
    17. Databinding
      Realm.runWithDefault
      1. org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
      1 frame
    18. Eclipse UI
      Workbench.createAndRunWorkbench
      1. org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:579)
      1 frame
    19. Eclipse UI
      PlatformUI.createAndRunWorkbench
      1. org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:150)
      1 frame
    20. Eclipse IDE
      IDEApplication.start
      1. org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:135)
      1 frame
    21. Equinox Container
      EclipseAppHandle.run
      1. org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
      1 frame
    22. Eclipse OSGi
      EclipseStarter.run
      1. org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:134)
      2. org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:104)
      3. org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:380)
      4. org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:235)
      4 frames
    23. 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
    24. Equinox
      Main.run
      1. org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:648)
      2. org.eclipse.equinox.launcher.Main.basicRun(Main.java:603)
      3. org.eclipse.equinox.launcher.Main.run(Main.java:1465)
      3 frames