on 10-21-2013 5:19 PM
Hello,
I am developing an Android application using SUP 2.2 and Netweaver Gateway services.
Sometimes I am getting "WrongDevice" error as below.
(com.sybase.mobile.lib.client.ODPClientConnection:startClient:253) User registration has failed, throwing exception
Error: 579 Message: Error: 579 Message: 'TM Error:WrongDevice'
at com.sybase.mobile.lib.client.ODPClientConnection$LiteConnectionStateListener.onConnectionStateChanged(ODPClientConnection.java:560)
at com.sybase.mo.ListenerManager.onConnectionStateChanged(ListenerManager.java:72)
at com.sybase.mo.RobieMocaClient.onConnectStatus(RobieMocaClient.java:95)
at com.sybase.mo.MocaClient.setConnectStatus(MocaClient.java:229)
at com.sybase.mo.MocaProcessServerQueue.processTillStoppedGuts(MocaProcessServerQueue.java:266)
at com.sybase.mo.MocaProcessServerQueue.processTillStopped(MocaProcessServerQueue.java:123)
at com.sybase.mo.MocaProcessQueue$MocaProcessQueueThread.run(MocaProcessQueue.java:165)
(com.sybase.mobile.lib.client.ODPUserManager:registerUser:263) Error occurred while registring the user synchronously
Error: 579 Message: Error: 579 Message: 'TM Error:WrongDevice'
at com.sybase.mobile.lib.client.ODPClientConnection.startClient(ODPClientConnection.java:256)
at com.sybase.mobile.lib.client.ODPUserManager.registerUser(ODPUserManager.java:252)
at com.XXXXXX.XXXXXXXXXXX.XXXXXXXXXXXXX.Registration(XXXXXXXXXXXXX.java:184)
at com.XXXXXX.XXXXXXXXXXX.XXXXXXXXXXXXX.onClick(XXXXXXXXXXXXX.java:135)
at android.view.View.performClick(View.java:2408)
at android.view.View$PerformClick.run(View.java:8816)
at android.os.Handler.handleCallback(Handler.java:587)
at android.os.Handler.dispatchMessage(Handler.java:92)
at android.os.Looper.loop(Looper.java:123)
at android.app.ActivityThread.main(ActivityThread.java:4627)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:521)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:868)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:626)
at dalvik.system.NativeStart.main(Native Method)
As per the below link, I have reregistered my emulator in SCC:
Even though I got the same error.
How to avoid this error when I am running my application in emulator/device.
Please help me.
Shyam
Hi Shyam,
It could be possible due to network problem on your Emulator and also because of wrong device details in your application.
To confirm that it's a network problem, please check server side logs to see that Emulator atleast connected or not.
If device details are wrong then in the Mo logs, you will be able to catch the issue.
Regards,
Abhishek Joshi
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
user has not come online in SCC right?
in emulator settings, for server name field try with ip address of server.
Rgrds,
Jitendra
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
86 | |
10 | |
10 | |
9 | |
6 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.