java.sql.SQLException

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • Jackson unable to process JSON
    via GitHub by tmcdevitt85
    ,
    • java.sql.SQLException: Could not set parameter at position 3, parameter length is 2 at org.mariadb.jdbc.internal.util.ExceptionMapper.getSqlException(ExceptionMapper.java:149) at org.mariadb.jdbc.MariaDbServerPreparedStatement.setParameter(MariaDbServerPreparedStatement.java:151) at org.mariadb.jdbc.AbstractMariaDbPrepareStatement.setDouble(AbstractMariaDbPrepareStatement.java:1322) at org.apache.commons.dbcp.DelegatingPreparedStatement.setDouble(DelegatingPreparedStatement.java:129) at org.apache.commons.dbcp.DelegatingPreparedStatement.setDouble(DelegatingPreparedStatement.java:129) at scalikejdbc.StatementExecutor.scalikejdbc$StatementExecutor$$bind(StatementExecutor.scala:88) at scalikejdbc.StatementExecutor$$anonfun$bindParams$2.apply(StatementExecutor.scala:67) at scalikejdbc.StatementExecutor$$anonfun$bindParams$2.apply(StatementExecutor.scala:66) at scala.collection.TraversableLike$WithFilter$$anonfun$foreach$1.apply(TraversableLike.scala:733) at scala.collection.immutable.List.foreach(List.scala:381) at scala.collection.TraversableLike$WithFilter.foreach(TraversableLike.scala:732) at scalikejdbc.StatementExecutor.bindParams(StatementExecutor.scala:66) at scalikejdbc.StatementExecutor.initialize(StatementExecutor.scala:50) at scalikejdbc.StatementExecutor.<init>(StatementExecutor.scala:44) at scalikejdbc.DBSession$class.createStatementExecutor(DBSession.scala:103) at scalikejdbc.DBSession$class.updateWithFilters(DBSession.scala:469) at scalikejdbc.ActiveSession.updateWithFilters(DBSession.scala:706) at scalikejdbc.DBSession$class.updateAndReturnSpecifiedGeneratedKey(DBSession.scala:564) at scalikejdbc.ActiveSession.updateAndReturnSpecifiedGeneratedKey(DBSession.scala:706) at scalikejdbc.SQLUpdateWithGeneratedKey$$anonfun$10.apply(SQL.scala:646) at scalikejdbc.SQLUpdateWithGeneratedKey$$anonfun$10.apply(SQL.scala:646) at scalikejdbc.DBConnection$$anonfun$autoCommit$1.apply(DBConnection.scala:221) at scalikejdbc.DBConnection$$anonfun$autoCommit$1.apply(DBConnection.scala:221) at scalikejdbc.LoanPattern$class.using(LoanPattern.scala:18) at scalikejdbc.NamedDB.using(NamedDB.scala:17) at scalikejdbc.DBConnection$class.autoCommit(DBConnection.scala:221) at scalikejdbc.NamedDB.autoCommit(NamedDB.scala:17) at scalikejdbc.SQLUpdateWithGeneratedKey.apply(SQL.scala:650) at playground.model.GeoNodeRepository$.create(GeoNode.scala:54) at playground.DBTest$$anonfun$3.apply(DBTest.scala:28) at playground.DBTest$$anonfun$3.apply(DBTest.scala:27)
    No Bugmate found.