Issue 94 in json-simple: Long cast error, even if String used

6 views
Skip to first unread message

json-...@googlecode.com

unread,
Jan 5, 2014, 11:16:13 AM1/5/14
to json-...@googlegroups.com
Status: New
Owner: ----
Labels: Type-Defect Priority-Medium

New issue 94 by j.s.ruec...@gmail.com: Long cast error, even if String used
http://code.google.com/p/json-simple/issues/detail?id=94

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.

--
You received this message because this project is configured to send all
issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings

json-...@googlecode.com

unread,
Jan 5, 2014, 11:25:45 AM1/5/14
to json-...@googlegroups.com

Comment #1 on issue 94 by j.s.ruec...@gmail.com: Long cast error, even if
String used
http://code.google.com/p/json-simple/issues/detail?id=94

Fixed, seems to be a bug in Eclipse.

json-...@googlecode.com

unread,
Jul 14, 2014, 11:13:26 PM7/14/14
to json-...@googlegroups.com
Updates:
Status: Invalid

Comment #2 on issue 94 by fangyid...@gmail.com: Long cast error, even if
String used
http://code.google.com/p/json-simple/issues/detail?id=94

(No comment was entered for this change.)
Reply all
Reply to author
Forward
0 new messages