-
Notifications
You must be signed in to change notification settings - Fork 66
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
NullPointerException using PlayN.net().get(url,callback) API #69
Comments
I think this has changed in the latest version of the code. If you can try again with the latest PlayN snapshot (which you'll have to build and install, but that should be as easy as I suspect it might have to do with the headers map being null, but that map now comes through a magic RoboVM marhsaler which may turn a null map into an empty map, I'm not sure. |
Oh, I just noticed you're using the snapshot. Well, can you just "git pull" and update your snapshot. The latest code should show |
Hi, After the git pull, the stack trace indeed changed, but the NullPointerException is still there. java.lang.NullPointerException Le 6 déc. 2014 à 22:10, Michael Bayne [email protected] a écrit :
|
I just pushed a fix to master which hopefully prevents this NPE. If you can check it out and let me know if the problem goes away, I'd appreciate it. |
Hi Michael, I was able to replicate the issue with the real device : java.lang.NullPointerException and with the simulator: java.lang.NullPointerException Note that the NPE is not systematic. I managed to use the simulator with the same code with no issues. Le 15 déc. 2014 à 18:36, Michael Bayne [email protected] a écrit :
|
Hi,
1.9-SNAPSHOT
robovm
iPhone 6 with iOS 8.1
Using the PlayN.net().get(url,callback)API the game hangs on the simulator and I saw the following stack several times (but not systematically) on the real device:
The text was updated successfully, but these errors were encountered: