cancel
Showing results for 
Search instead for 
Did you mean: 

Error: 579 Message: 'TM Error:WrongDevice'

former_member199619
Participant
0 Kudos

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:

http://infocenter.sybase.com/help/index.jsp?topic=/com.sybase.infocenter.dc01092.0200/doc/html/dst12...

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

Accepted Solutions (0)

Answers (2)

Answers (2)

0 Kudos

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

Jitendra_Kansal
Product and Topic Expert
Product and Topic Expert
0 Kudos

shyam prasad

user has not come online in SCC right?

in emulator settings, for server name field try with ip address of server.

Rgrds,

Jitendra