saapby / json-simple

Automatically exported from code.google.com/p/json-simple
0 stars 0 forks source link

Long cast error, even if String used #94

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Error: java.lang.Long cannot be cast to java.lang.Double
Line: String XString = PLAYER.get("x").toString();

First i tried to directly cast the Double value, same error. The field "x" gets 
checked whether it exists and whether its null.

Original issue reported on code.google.com by j.s.ruec...@gmail.com on 5 Jan 2014 at 4:16

GoogleCodeExporter commented 8 years ago
Fixed, seems to be a bug in Eclipse.

Original comment by j.s.ruec...@gmail.com on 5 Jan 2014 at 4:25

GoogleCodeExporter commented 8 years ago

Original comment by fangyid...@gmail.com on 15 Jul 2014 at 3:13