wei-spring / codenameone

Automatically exported from code.google.com/p/codenameone
0 stars 0 forks source link

network Exception message is null on the new iOS vm #1300

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago

Please clearly state whether the issue relates to a device/the simulator or
the tools.
If related to a device be sure to specify exactly which device with as much
details as possible.

the problem is on the new iOS vm

What steps will reproduce the problem?
1. Run this code snippet:

        final ConnectionRequest req = new ConnectionRequest() {

            @Override
            protected void handleIOException(IOException err) {
                System.out.println("error: " + err.getMessage());
            }

        };      
        req.setUrl("http://bar url");
        NetworkManager.getInstance().addToQueue(req);

What is the expected output? What do you see instead?

on the old iOS the code prints out error message:

error: A server with the specified hostname could not be found.

but on the new iOS vm error message is null, the print is:

error: null

What version of the product are you using? On what operating system?

the latest buildserver build

Original issue reported on code.google.com by jaanus.h...@gmail.com on 22 Jan 2015 at 7:29

GoogleCodeExporter commented 9 years ago

Original comment by st...@weblite.ca on 28 Jan 2015 at 12:48

GoogleCodeExporter commented 9 years ago
Fixed in SVN.
https://code.google.com/p/codenameone/source/detail?r=2078

Original comment by steve.ha...@codenameone.com on 3 Feb 2015 at 10:21