You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
scala>JsonCodecMaker.make[Map[java.lang.Integer, String]]
--Error:----------------------------------------------------------------------1|JsonCodecMaker.make[Map[java.lang.Integer, String]]
|^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^|Exception occurred while executing macro expansion.
|java.lang.Exception:Expr cast exception: in.readKeyAsInt()
|of type: scala.Int|did not conform to type: java.lang.Integer|||---------------------------------------------------------------------------|Inline stack trace
|--------------------------------------|This location contains code that was inlined from JsonCodecMaker.scala:511---------------------------------------------------------------------------
Hi,
I got errors on using Java
Integer
asMap
keyThe
java.lang.Long
got simliar issueSince I'm working with Kafka Java library, I got some Java
Integer
from it.The text was updated successfully, but these errors were encountered: