java.sql.SQLException: User does not have access to metadata required to determine stored procedure parameter types. If rights can not be granted, configure connection with "noAccessToProcedureBodies=true" to have driver generate parameters that represent INOUT strings irregardless of actual parameter types.

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Samebug tips

,
Expert tip

MySQL doesn't support some types of characters (such as emojis) with the utf8 encoding. You need to be on MySQL 5.5+ and force utf8mb4 (everywhere, client and server). You can do this sending the query "SET NAMES utf8mb4". Check this https://goo.gl/3E2qzg

Solutions on the web

via GitHub by sumisuburaianto
, 1 year ago
User does not have access to metadata required to determine stored procedure parameter types. If rights can not be granted, configure connection with "noAccessToProcedureBodies=true" to have driver generate parameters that represent INOUT strings irregardless of actual parameter types.
via Stack Overflow by mossaab
, 2 years ago
Operation not allowed after ResultSet closed
via serverfault.com by Unknown author, 2 years ago
via Stack Overflow by Tom Aalbers
, 2 years ago
via mysql.com by Unknown author, 1 year ago
java.sql.SQLException: User does not have access to metadata required to determine stored procedure parameter types. If rights can not be granted, configure connection with "noAccessToProcedureBodies=true" to have driver generate parameters that represent INOUT strings irregardless of actual parameter types.
at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:959)
at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:898)
at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:887)
at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:862)
at com.mysql.jdbc.DatabaseMetaData.getCallStmtParameterTypes(DatabaseMetaData.java:1633)
at com.mysql.jdbc.DatabaseMetaData.getProcedureOrFunctionColumns(DatabaseMetaData.java:3968)
at org.jkiss.dbeaver.model.impl.jdbc.exec.JDBCDatabaseMetaDataImpl.getProcedureColumns(JDBCDatabaseMetaDataImpl.java:1111)
at org.jkiss.dbeaver.ext.mysql.model.MySQLCatalog$ProceduresCache.prepareChildrenStatement(MySQLCatalog.java:578)
at org.jkiss.dbeaver.ext.mysql.model.MySQLCatalog$ProceduresCache.prepareChildrenStatement(MySQLCatalog.java:1)
at org.jkiss.dbeaver.model.impl.jdbc.cache.JDBCStructCache.loadChildren(JDBCStructCache.java:90)
at org.jkiss.dbeaver.model.impl.jdbc.cache.JDBCStructCache.getChildren(JDBCStructCache.java:210)
at org.jkiss.dbeaver.ext.mysql.model.MySQLProcedure.getParameters(MySQLProcedure.java:224)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at org.jkiss.dbeaver.model.navigator.DBNDatabaseNode.extractPropertyValue(DBNDatabaseNode.java:719)
at org.jkiss.dbeaver.model.navigator.DBNDatabaseNode.loadTreeItems(DBNDatabaseNode.java:449)
at org.jkiss.dbeaver.model.navigator.DBNDatabaseNode.loadChildren(DBNDatabaseNode.java:375)
at org.jkiss.dbeaver.model.navigator.DBNDatabaseNode.getChildren(DBNDatabaseNode.java:192)
at org.jkiss.dbeaver.model.navigator.DBNDatabaseNode.getChildren(DBNDatabaseNode.java:1)
at org.jkiss.dbeaver.ui.editors.entity.properties.ObjectPropertiesEditor.collectNavigatorTabs(ObjectPropertiesEditor.java:422)
at org.jkiss.dbeaver.ui.editors.entity.properties.ObjectPropertiesEditor.access$3(ObjectPropertiesEditor.java:415)
at org.jkiss.dbeaver.ui.editors.entity.properties.ObjectPropertiesEditor$2.run(ObjectPropertiesEditor.java:382)
at org.jkiss.dbeaver.core.DBeaverUI$4.run(DBeaverUI.java:253)
at org.jkiss.dbeaver.runtime.RunnableContextDelegate$1.run(RunnableContextDelegate.java:45)

Users with the same issue

1848 times, 18 hours ago
Once, 1 day ago
2 times, 2 days ago
3 times, 3 days ago
16 times, 1 week ago

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.