Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Long cast error, even if String used #94

Closed
GoogleCodeExporter opened this issue Mar 18, 2015 · 2 comments
Closed

Long cast error, even if String used #94

GoogleCodeExporter opened this issue Mar 18, 2015 · 2 comments

Comments

@GoogleCodeExporter
Copy link

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
Copy link
Author

Fixed, seems to be a bug in Eclipse.

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

@GoogleCodeExporter
Copy link
Author

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

  • Changed state: Invalid

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant