I've got a curious exception in production mode of my app, which I'm finding difficult to reproduce or error hunt:
java.lang.StackOverflowError: null
at slick.compiler.ExpandSums.slick$compiler$ExpandSums$$tr$1(ExpandSums.scala:27)
at slick.compiler.ExpandSums$$anonfun$7.apply(ExpandSums.scala:32)
at slick.compiler.ExpandSums$$anonfun$7.apply(ExpandSums.scala:32)
at slick.util.ConstArray.endoMap(ConstArray.scala:122)
at slick.ast.Node$class.mapChildren(Node.scala:51)
at slick.ast.Apply.mapChildren(Node.scala:539)
at slick.compiler.ExpandSums.slick$compiler$ExpandSums$$tr$1(ExpandSums.scala:32)
at slick.compiler.ExpandSums$$anonfun$7.apply(ExpandSums.scala:32)
at slick.compiler.ExpandSums$$anonfun$7.apply(ExpandSums.scala:32)
at slick.util.ConstArray.endoMap(ConstArray.scala:122)
Anyone know what this error might mean? Unfortunately the stack trace does not indicate where in my code this is going wrong, and it only happens in the production mode, so it's difficult to find the source of it. Any better way to error debug these kind of messages?