java.lang.RuntimeException: java.sql.SQLException: Specified key was too long. Max key length is 500

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

Solutions on the web

via Apereo Issues by Elliot Metsger, 1 year ago
via Apereo Issues by Elliot Metsger, 1 year ago
via Apereo Issues by Dan McCallum, 1 year ago
java.sql.SQLException: ORA-01400: cannot insert NULL into ("UNI"."GAP_GROUP_MEMBER"."MEMBER_SERVICE")
via Apereo Issues by Dan McCallum, 1 year ago
java.sql.SQLException: ORA-01400: cannot insert NULL into ("UNI"."GAP_GROUP_MEMBER"."MEMBER_SERVICE")
java.lang.RuntimeException: java.sql.SQLException: Specified key was too long. Max key length is 500
at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:2975)
at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:1600)
at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:1695)
at com.mysql.jdbc.Connection.execSQL(Connection.java:3020)
at com.mysql.jdbc.Statement.executeUpdate(Statement.java:1074)
at org.jasig.gap.db.DbUtils.jdbcExecuteStatement(DbUtils.java:89)
at org.jasig.gap.db.AbstractJdbcDao.primExecute(AbstractJdbcDao.java:74)
at org.jasig.gap.db.AbstractJdbcDao.createBackingStore(AbstractJdbcDao.java:43)
at org.jasig.gap.db.DbInit.createBackingStore(DbInit.java:219)
at org.jasig.gap.db.DbInit.createBackingStore(DbInit.java:170)
at org.jasig.gap.db.DbInit.main(DbInit.java:137)

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
5 more bugmates

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