Hello,
I found there is a socket error when connecting to sfs server.
Error Message:
java.net.SocketException: Bad address family
It works fine in Android 2.1 or below SDK, but not in 2.2
I guess the new SDK using default IPv6 address rather than IPv4 address
Could it be fix in the xmlSocket.jar?
Thx
Android 2.2 SDK is not work with Java Client API
Hello,
We have the same problem and in our case it is immediately followed by NullPointerException. Similar problem had been described here: http://stackoverflow.com/questions/2879 ... et-connect
Link above contains stack trace, so it can be useful to find the problem.
Best regards,
Serge.
Lapo wrote:Quite strange error. We're going to investigate soon.
Stay tuned.
We have the same problem and in our case it is immediately followed by NullPointerException. Similar problem had been described here: http://stackoverflow.com/questions/2879 ... et-connect
Link above contains stack trace, so it can be useful to find the problem.
Best regards,
Serge.
Quick update.
The problem is very low level and at the moment we haven't found any detailed explanation of why a MINA client fails to even establish a connection. It's not MINA's fault, evidently something in the guts of the Android socket implementation was changed, breaking the MINA connector.
We'll investigate and see what we can do. Probably an alternative XMLSocket library based on java.net.Socket is a good workaround for now.
From what I read in your StackOverflow post you already have done that. Can we see the code?
You can PM me, if you wish.
The problem is very low level and at the moment we haven't found any detailed explanation of why a MINA client fails to even establish a connection. It's not MINA's fault, evidently something in the guts of the Android socket implementation was changed, breaking the MINA connector.
We'll investigate and see what we can do. Probably an alternative XMLSocket library based on java.net.Socket is a good workaround for now.
From what I read in your StackOverflow post you already have done that. Can we see the code?
You can PM me, if you wish.
Hello,
It's not my post on StackOverflow - I found it while trying to investigate this problem, because the problem described there and our problem are the same... So we still have no solution... On emulator problem can be reproduced easily...
Lapo wrote:Quick update.
The problem is very low level and at the moment we haven't found any detailed explanation of why a MINA client fails to even establish a connection. It's not MINA's fault, evidently something in the guts of the Android socket implementation was changed, breaking the MINA connector.
We'll investigate and see what we can do. Probably an alternative XMLSocket library based on java.net.Socket is a good workaround for now.
From what I read in your StackOverflow post you already have done that. Can we see the code?
You can PM me, if you wish.
It's not my post on StackOverflow - I found it while trying to investigate this problem, because the problem described there and our problem are the same... So we still have no solution... On emulator problem can be reproduced easily...
Return to “Java2SE / Android Client API”
Who is online
Users browsing this forum: No registered users and 22 guests