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

  1. ,
    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

  2. ,

    Make sure you are using InnoDB storage engine and READ-COMMITTED transaction isolation level and increase the database server innodb_lock_wait_timeout variable to about 500.

Solutions on the web

via Pentaho BI Platform Tracking by Anthony Carter, 1 year ago
via Pentaho BI Platform Tracking by Anthony Carter, 1 year ago
via pentaho.com by Unknown author, 2 years ago
via Stack Overflow by sebaMelgar
, 2 years ago
via Google Groups by Lothar Kimmeringer, 7 months ago
via symmetricds by moshe1011
, 2 years ago
Cannot convert class java.lang.String to SQL type requested due to java.lang.NullPointerException - null
java.sql.SQLException: java.lang.NullPointerException	at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:910)	at com.mysql.jdbc.ServerPreparedStatement.executeInternal(ServerPreparedStatement.java:766)	at com.mysql.jdbc.PreparedStatement.execute(PreparedStatement.java:874)	at com.mysql.jdbc.Statement.createResultSetUsingServerFetch(Statement.java:520)	at com.mysql.jdbc.Statement.executeQuery(Statement.java:1133)	at com.mysql.jdbc.DatabaseMetaData.extractForeignKeyFromCreateTable(DatabaseMetaData.java:1141)	at com.mysql.jdbc.DatabaseMetaData$5.forEach(DatabaseMetaData.java:3231)	at com.mysql.jdbc.DatabaseMetaData$IterateBlock.doForAll(DatabaseMetaData.java:76)	at com.mysql.jdbc.DatabaseMetaData.getImportedKeys(DatabaseMetaData.java:3219)	at mondrian.gui.JdbcMetaData.setAllTables(JdbcMetaData.java:291)	at mondrian.gui.JdbcMetaData.setAllSchemas(JdbcMetaData.java:258)	at mondrian.gui.JdbcMetaData.(JdbcMetaData.java:67)	at mondrian.gui.Workbench.getNewJdbcMetadata(Workbench.java:1975)	at mondrian.gui.Workbench.newJDBCExplorerMenuItemActionPerformed(Workbench.java:1153)	at mondrian.gui.Workbench.access$300(Workbench.java:94)	at mondrian.gui.Workbench$13.actionPerformed(Workbench.java:612)	at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)	at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)	at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)	at javax.swing.DefaultButtonModel.setPressed(Unknown Source)	at javax.swing.AbstractButton.doClick(Unknown Source)	at javax.swing.plaf.basic.BasicMenuItemUI.doClick(Unknown Source)	at javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(UnknownSource)	at java.awt.Component.processMouseEvent(Unknown Source)	at javax.swing.JComponent.processMouseEvent(Unknown Source)	at java.awt.Component.processEvent(Unknown Source)	at java.awt.Container.processEvent(Unknown Source)	at java.awt.Component.dispatchEventImpl(Unknown Source)	at java.awt.Container.dispatchEventImpl(Unknown Source)	at java.awt.Component.dispatchEvent(Unknown Source)	at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)	at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)	at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)	at java.awt.Container.dispatchEventImpl(Unknown Source)	at java.awt.Window.dispatchEventImpl(Unknown Source)	at java.awt.Component.dispatchEvent(Unknown Source)	at java.awt.EventQueue.dispatchEvent(Unknown Source)	at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)	at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)	at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)	at java.awt.EventDispatchThread.pumpEvents(Unknown Source)	at java.awt.EventDispatchThread.pumpEvents(Unknown Source)	at java.awt.EventDispatchThread.run(Unknown Source)