java.lang.NumberFormatException: For input string: "d"

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

,

You try to parse a String that contains non-numeric characters to an int. The string must contain decimal characters only, optionally beginning with a + or - sign.

,

Java does not handle IPv6 nameservers before 1.8.0_60. Upgrade to the latest JVM.

java.lang.NumberFormatException: For input string: "d"
at java.lang.NumberFormatException.forInputString(NumberFormatException.java:65)
at java.lang.Integer.parseInt(Integer.java:580)
at java.lang.Integer.parseInt(Integer.java:615)
at scala.collection.immutable.StringLike$class.toInt(StringLike.scala:272)
at io.getquill.norm.BetaReduction.apply(BetaReduction.scala:38)
at io.getquill.norm.BetaReduction$.apply(BetaReduction.scala:77)
at io.getquill.norm.FlattenOptionOperation$.apply(FlattenOptionOperation.scala:12)
at io.getquill.ast.StatelessTransformer$$anonfun$apply$4.apply(StatelessTransformer.scala:55)
at io.getquill.ast.StatelessTransformer$$anonfun$apply$4.apply(StatelessTransformer.scala:55)
at io.getquill.ast.StatelessTransformer$class.apply(StatelessTransformer.scala:55)
at io.getquill.norm.FlattenOptionOperation$.apply(FlattenOptionOperation.scala:7)
at io.getquill.ast.StatelessTransformer$class.apply(StatelessTransformer.scala:10)
at io.getquill.norm.FlattenOptionOperation$.apply(FlattenOptionOperation.scala:14)
at io.getquill.ast.StatelessTransformer$class.apply(StatelessTransformer.scala:30)
at io.getquill.norm.FlattenOptionOperation$.apply(FlattenOptionOperation.scala:7)
at io.getquill.ast.StatelessTransformer$class.apply(StatelessTransformer.scala:7)
at io.getquill.norm.FlattenOptionOperation$.apply(FlattenOptionOperation.scala:14)
at io.getquill.ast.StatelessTransformer$class.apply(StatelessTransformer.scala:31)
at io.getquill.norm.FlattenOptionOperation$.apply(FlattenOptionOperation.scala:7)
at io.getquill.ast.StatelessTransformer$class.apply(StatelessTransformer.scala:7)
at io.getquill.norm.FlattenOptionOperation$.apply(FlattenOptionOperation.scala:14)
at io.getquill.context.sql.Prepare$$anonfun$9.apply(Prepare.scala:54)
at io.getquill.context.sql.Prepare$$anonfun$9.apply(Prepare.scala:54)
at scala.Function1$$anonfun$andThen$1.apply(Function1.scala:52)
at scala.Function1$$anonfun$andThen$1.apply(Function1.scala:52)
at io.getquill.context.sql.Prepare$.apply(Prepare.scala:23)
at io.getquill.context.sql.SqlContextMacro.prepare(SqlContextMacro.scala:19)
at io.getquill.context.QueryMacro$class.runQuery(QueryMacro.scala:48)
at io.getquill.context.sql.SqlContextMacro.runQuery(SqlContextMacro.scala:13)
at io.getquill.context.ContextMacro$class.run(ContextMacro.scala:69)
at io.getquill.context.ContextMacro$class.runExpr(ContextMacro.scala:51)
at io.getquill.context.ContextMacro$class.run(ContextMacro.scala:21)
at io.getquill.context.sql.SqlContextMacro.run(SqlContextMacro.scala:13)

Users with the same issue

Once, 2 months ago
2 times, 4 months ago
6 times, 1 year ago
17 times, 1 year ago
Once, 10 months ago

Write tip

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