Whats in that line exactly?
Can you post the full stack just to make sure?
--
You received this message because you are subscribed to the Google Groups "CodenameOne Discussions" group.
To unsubscribe from this group and stop receiving emails from it, send an email to codenameone-discu...@googlegroups.com.
Visit this group at http://groups.google.com/group/codenameone-discussions.
To view this discussion on the web visit https://groups.google.com/d/msgid/codenameone-discussions/9dbb32eb-eb72-4d52-a618-b0b734331849%40googlegroups.com.
My guess is that you still have the "localhost" address hard-coded in your proxy client class. If running on a device, you'll need to use the full address of the server as it will no longer be running on localhost.Steve
On Wed, Nov 5, 2014 at 7:26 AM, Shai Almog <shai....@gmail.com> wrote:
Whats in that line exactly?
Can you post the full stack just to make sure?
--
You received this message because you are subscribed to the Google Groups "CodenameOne Discussions" group.
To unsubscribe from this group and stop receiving emails from it, send an email to codenameone-discussions+unsub...@googlegroups.com.
Visit this group at http://groups.google.com/group/codenameone-discussions.
To view this discussion on the web visit https://groups.google.com/d/msgid/codenameone-discussions/9dbb32eb-eb72-4d52-a618-b0b734331849%40googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to codenameone-discu...@googlegroups.com.
Visit this group at http://groups.google.com/group/codenameone-discussions.
To view this discussion on the web visit https://groups.google.com/d/msgid/codenameone-discussions/795bef97-f6d6-43d8-b37f-d01bb6db7a72%40googlegroups.com.
My guess is that you still have the "localhost" address hard-coded in your proxy client class. If running on a device, you'll need to use the full address of the server as it will no longer be running on localhost.Steve
On Wed, Nov 5, 2014 at 7:26 AM, Shai Almog <shai....@gmail.com> wrote:
Whats in that line exactly?
Can you post the full stack just to make sure?
--
You received this message because you are subscribed to the Google Groups "CodenameOne Discussions" group.
To unsubscribe from this group and stop receiving emails from it, send an email to codenameone-discussions+unsub...@googlegroups.com.
Visit this group at http://groups.google.com/group/codenameone-discussions.
To view this discussion on the web visit https://groups.google.com/d/msgid/codenameone-discussions/9dbb32eb-eb72-4d52-a618-b0b734331849%40googlegroups.com.
this is my code:
To unsubscribe from this group and stop receiving emails from it, send an email to codenameone-discussions+unsubscr...@googlegroups.com.
Visit this group at http://groups.google.com/group/codenameone-discussions.
To view this discussion on the web visit https://groups.google.com/d/msgid/codenameone-discussions/9dbb32eb-eb72-4d52-a618-b0b734331849%40googlegroups.com.
--Steve HannahWeb Lite Solutions Corp.
--
You received this message because you are subscribed to the Google Groups "CodenameOne Discussions" group.
To unsubscribe from this group and stop receiving emails from it, send an email to codenameone-discussions+unsub...@googlegroups.com.
Visit this group at http://groups.google.com/group/codenameone-discussions.
To view this discussion on the web visit https://groups.google.com/d/msgid/codenameone-discussions/795bef97-f6d6-43d8-b37f-d01bb6db7a72%40googlegroups.com.
--Steve HannahWeb Lite Solutions Corp.
To unsubscribe from this group and stop receiving emails from it, send an email to codenameone-discu...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/codenameone-discussions/677986bd-8b76-4c99-a50e-3456d968424d%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/codenameone-discussions/795bef97-f6d6-43d8-b37f-d01bb6db7a72%40googlegroups.com.
--Steve HannahWeb Lite Solutions Corp.
--Steve HannahWeb Lite Solutions Corp.
--
You received this message because you are subscribed to the Google Groups "CodenameOne Discussions" group.
To unsubscribe from this group and stop receiving emails from it, send an email to codenameone-discussions+unsub...@googlegroups.com.
Visit this group at http://groups.google.com/group/codenameone-discussions.
To view this discussion on the web visit https://groups.google.com/d/msgid/codenameone-discussions/677986bd-8b76-4c99-a50e-3456d968424d%40googlegroups.com.
Can you access that URL from a web browser on the machine that is running the simulator?
To unsubscribe from this group and stop receiving emails from it, send an email to codenameone-discu...@googlegroups.com.
Visit this group at http://groups.google.com/group/codenameone-discussions.
To view this discussion on the web visit https://groups.google.com/d/msgid/codenameone-discussions/548a2e45-0c7b-4d0e-8e53-019a43548958%40googlegroups.com.
I'm maybe jumping in, but have You tried with ConnectionRequest? I have a PHP services on the server and working without problem. Here's what I use:
To view this discussion on the web visit https://groups.google.com/d/msgid/codenameone-discussions/677986bd-8b76-4c99-a50e-3456d968424d%40googlegroups.com.
--Steve HannahWeb Lite Solutions Corp.
--
You received this message because you are subscribed to the Google Groups "CodenameOne Discussions" group.
To unsubscribe from this group and stop receiving emails from it, send an email to codenameone-discussions+unsub...@googlegroups.com.
Visit this group at http://groups.google.com/group/codenameone-discussions.
What is the method signature (eg return type) of your authenticateUser method. The only thing I can think of that would cause a null pointer there is if it is doing auto unboxing of a null variable. Eg does the method return boolean or Boolean?
To unsubscribe from this group and stop receiving emails from it, send an email to codenameone-discu...@googlegroups.com.
Visit this group at http://groups.google.com/group/codenameone-discussions.
To view this discussion on the web visit https://groups.google.com/d/msgid/codenameone-discussions/6badb4c2-7dc6-4415-8742-0f4b1615e24b%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/codenameone-discussions/548a2e45-0c7b-4d0e-8e53-019a43548958%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "CodenameOne Discussions" group.
To unsubscribe from this group and stop receiving emails from it, send an email to codenameone-discussions+unsub...@googlegroups.com.
Visit this group at http://groups.google.com/group/codenameone-discussions.
OK. It appears that your server is returning null to this request or that the response couldn't be unserialized for some reason. Check the network monitor in the simulator and see if that provides more info about the response.
--
You received this message because you are subscribed to the Google Groups "CodenameOne Discussions" group.
To unsubscribe from this group and stop receiving emails from it, send an email to codenameone-discu...@googlegroups.com.
Visit this group at http://groups.google.com/group/codenameone-discussions.
To view this discussion on the web visit https://groups.google.com/d/msgid/codenameone-discussions/c35a73a9-d4e5-423b-8e3c-d4d214a835db%40googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to codenameone-discussions+unsub...@googlegroups.com.
OK. Your answer is on the server side then. Add debugging code on the server to see what is happening there.
To unsubscribe from this group and stop receiving emails from it, send an email to codenameone-discu...@googlegroups.com.
Visit this group at http://groups.google.com/group/codenameone-discussions.
To view this discussion on the web visit https://groups.google.com/d/msgid/codenameone-discussions/8ade6dc3-4e94-4a24-b56d-deb74b129db4%40googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to codenameone-discussions+unsubscr...@googlegroups.com.
Visit this group at http://groups.google.com/group/codenameone-discussions.
To view this discussion on the web visit https://groups.google.com/d/msgid/codenameone-discussions/c35a73a9-d4e5-423b-8e3c-d4d214a835db%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "CodenameOne Discussions" group.
To unsubscribe from this group and stop receiving emails from it, send an email to codenameone-discussions+unsub...@googlegroups.com.
Visit this group at http://groups.google.com/group/codenameone-discussions.
To unsubscribe from this group and stop receiving emails from it, send an email to codenameone-discu...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/codenameone-discussions/e946b7b0-7f3f-463f-9b0b-79868c66a762%40googlegroups.com.