Skip to Content
Author's profile photo Former Member

Run SUP101Sample error

hi everyone

   I  run SUP101Sample  project  error:

com.sybase.persistence.SynchronizeException: com.ianywhere.ultralitejni12.implementation.JniException: UltraLiteJ Error[-857]: Synchronization failed due to an error on the server: [-10244] MobiLink

           at com.sybase.sup.client.persistence.RbsDatabaseDelegate.internalSynchronize(RbsDatabaseDelegate.java:809)

           at com.sybase.sup.client.persistence.RbsDatabaseDelegate.synchronizeWithCallback(RbsDatabaseDelegate.java:419)

           at com.sybase.sup.client.persistence.RbsDatabaseDelegate.synchronize(RbsDatabaseDelegate.java:1221)

           at com.sybase.sup.client.persistence.RbsDatabaseDelegate.synchronize(RbsDatabaseDelegate.java:1212)

           at SUP101.SUP101DB.synchronize(SUP101DB.java:197)

           at com.sybase.sup.samples.objectapi.SUP101SampleActivity$2.run(SUP101SampleActivity.java:113)

           at java.lang.Thread.run(Thread.java:856)

Caused by: com.ianywhere.ultralitejni12.implementation.JniException: UltraLiteJ Error[-857]: Synchronization failed due to an error on the server: [-10244] MobiLink

           at com.ianywhere.ultralitejni12.implementation.JniConnection.ulcSynchronize(Native Method)

           at com.ianywhere.ultralitejni12.implementation.JniConnection.synchronize(Unknown Source)

           at com.sybase.sup.client.persistence.RbsDatabaseDelegate.internalSynchronize(RbsDatabaseDelegate.java:709)

           … 6 more

Who can tell me what is the row

   thanks !!!

Assigned Tags

      6 Comments
      You must be Logged on to comment or reply to a post.
      Author's profile photo Midhun VP
      Midhun VP

      Allen you asked the question in the wrong place.

      Please ask the question under discussions.

      Author's profile photo Brenton OCallaghan
      Brenton OCallaghan

      Hi Allen,

      As Midhun said above - you need to ask this as a question - you can do that by clicking here and filling in the information above again - it will generate more interest and responses.

      The above error says "Synchronization failed due to an error on the server" I would start by going back to the server and turning the log levels up to "TRACE" and running your application again. That will allow you to see what is happening on the server that is causing you a problem.

      I have seen errors like this before when connecting to an SAP back end that had short dumped during my reading of data from the server so that might cause you a problem like this.

      Hope that helps,

      Brenton.

      Author's profile photo Former Member
      Former Member

      thanks  Brenton

         This problem is MBO problem has been resolved. But now found a new problem, that is, when you exit the application error:

      05-10 11:31:57.725: E/ActivityThread(15706): Activity com.sybase.sup.samples.objectapi.SUP101SampleActivity has leaked IntentReceiver com.sybase.mo.MessagingService$MoTelephonyListener$1@419aba68 that was originally registered here. Are you missing a call to unregisterReceiver()?

      05-10 11:31:57.725: E/ActivityThread(15706): android.app.IntentReceiverLeaked: Activity com.sybase.sup.samples.objectapi.SUP101SampleActivity has leaked IntentReceiver com.sybase.mo.MessagingService$MoTelephonyListener$1@419aba68 that was originally registered here. Are you missing a call to unregisterReceiver()?

      05-10 11:31:57.725: E/ActivityThread(15706): at android.app.LoadedApk$ReceiverDispatcher.<init>(LoadedApk.java:763)

      05-10 11:31:57.725: E/ActivityThread(15706): at android.app.LoadedApk.getReceiverDispatcher(LoadedApk.java:567)

      05-10 11:31:57.725: E/ActivityThread(15706): at android.app.ContextImpl.registerReceiverInternal(ContextImpl.java:1143)

      05-10 11:31:57.725: E/ActivityThread(15706): at android.app.ContextImpl.registerReceiver(ContextImpl.java:1130)

      05-10 11:31:57.725: E/ActivityThread(15706): at android.app.ContextImpl.registerReceiver(ContextImpl.java:1124)

      05-10 11:31:57.725: E/ActivityThread(15706): at android.content.ContextWrapper.registerReceiver(ContextWrapper.java:348)

      05-10 11:31:57.725: E/ActivityThread(15706): at com.sybase.mo.MessagingService$MoTelephonyListener.<init>(MessagingService.java:142)

      05-10 11:31:57.725: E/ActivityThread(15706): at com.sybase.mo.MessagingService$MoTelephonyListener.initialize(MessagingService.java:65)

      05-10 11:31:57.725: E/ActivityThread(15706): at com.sybase.mobile.Application.checkInitialize(Application.java:244)

      05-10 11:31:57.725: E/ActivityThread(15706): at com.sybase.mobile.Application.setApplicationContext(Application.java:229)

      05-10 11:31:57.725: E/ActivityThread(15706): at com.sybase.sup.samples.objectapi.SUP101SampleActivity.initializeApplication(SUP101SampleActivity.java:85)

      05-10 11:31:57.725: E/ActivityThread(15706): at com.sybase.sup.samples.objectapi.SUP101SampleActivity.onCreate(SUP101SampleActivity.java:42)

      05-10 11:31:57.725: E/ActivityThread(15706): at android.app.Activity.performCreate(Activity.java:4562)

      05-10 11:31:57.725: E/ActivityThread(15706): at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1053)

      05-10 11:31:57.725: E/ActivityThread(15706): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:1934)

      05-10 11:31:57.725: E/ActivityThread(15706): at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:1995)

      05-10 11:31:57.725: E/ActivityThread(15706): at android.app.ActivityThread.access$600(ActivityThread.java:128)

      05-10 11:31:57.725: E/ActivityThread(15706): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1161)

      05-10 11:31:57.725: E/ActivityThread(15706): at android.os.Handler.dispatchMessage(Handler.java:99)

      05-10 11:31:57.725: E/ActivityThread(15706): at android.os.Looper.loop(Looper.java:137)

      05-10 11:31:57.725: E/ActivityThread(15706): at android.app.ActivityThread.main(ActivityThread.java:4514)

      05-10 11:31:57.725: E/ActivityThread(15706): at java.lang.reflect.Method.invokeNative(Native Method)

      05-10 11:31:57.725: E/ActivityThread(15706): at java.lang.reflect.Method.invoke(Method.java:511)

      05-10 11:31:57.725: E/ActivityThread(15706): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:993)

      05-10 11:31:57.725: E/ActivityThread(15706): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:760)

      05-10 11:31:57.725: E/ActivityThread(15706): at dalvik.system.NativeStart.main(Native Method)

      Author's profile photo Midhun VP
      Midhun VP

      This error could be because when you are passing wrong input value to the load parameters of the MBO. Check whether you are passing right value to the RFC input.

      To do that keep a break point in the respective RFC and make a Sync call from the device and check what is the input reaching the SAP.

      -Midhun VP

      Author's profile photo Former Member
      Former Member

      thanks  Midhun

         This problem is MBO problem has been resolved. But now found a new problem, that is, when you exit the application error:

      05-10 11:31:57.725: E/ActivityThread(15706): Activity com.sybase.sup.samples.objectapi.SUP101SampleActivity has leaked IntentReceiver com.sybase.mo.MessagingService$MoTelephonyListener$1@419aba68 that was originally registered here. Are you missing a call to unregisterReceiver()?

      05-10 11:31:57.725: E/ActivityThread(15706): android.app.IntentReceiverLeaked: Activity com.sybase.sup.samples.objectapi.SUP101SampleActivity has leaked IntentReceiver com.sybase.mo.MessagingService$MoTelephonyListener$1@419aba68 that was originally registered here. Are you missing a call to unregisterReceiver()?

      05-10 11:31:57.725: E/ActivityThread(15706):           at android.app.LoadedApk$ReceiverDispatcher.<init>(LoadedApk.java:763)

      05-10 11:31:57.725: E/ActivityThread(15706):           at android.app.LoadedApk.getReceiverDispatcher(LoadedApk.java:567)

      05-10 11:31:57.725: E/ActivityThread(15706):           at android.app.ContextImpl.registerReceiverInternal(ContextImpl.java:1143)

      05-10 11:31:57.725: E/ActivityThread(15706):           at android.app.ContextImpl.registerReceiver(ContextImpl.java:1130)

      05-10 11:31:57.725: E/ActivityThread(15706):           at android.app.ContextImpl.registerReceiver(ContextImpl.java:1124)

      05-10 11:31:57.725: E/ActivityThread(15706):           at android.content.ContextWrapper.registerReceiver(ContextWrapper.java:348)

      05-10 11:31:57.725: E/ActivityThread(15706):           at com.sybase.mo.MessagingService$MoTelephonyListener.<init>(MessagingService.java:142)

      05-10 11:31:57.725: E/ActivityThread(15706):           at com.sybase.mo.MessagingService$MoTelephonyListener.initialize(MessagingService.java:65)

      05-10 11:31:57.725: E/ActivityThread(15706):           at com.sybase.mobile.Application.checkInitialize(Application.java:244)

      05-10 11:31:57.725: E/ActivityThread(15706):           at com.sybase.mobile.Application.setApplicationContext(Application.java:229)

      05-10 11:31:57.725: E/ActivityThread(15706):           at com.sybase.sup.samples.objectapi.SUP101SampleActivity.initializeApplication(SUP101SampleActivity.java:85)

      05-10 11:31:57.725: E/ActivityThread(15706):           at com.sybase.sup.samples.objectapi.SUP101SampleActivity.onCreate(SUP101SampleActivity.java:42)

      05-10 11:31:57.725: E/ActivityThread(15706):           at android.app.Activity.performCreate(Activity.java:4562)

      05-10 11:31:57.725: E/ActivityThread(15706):           at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1053)

      05-10 11:31:57.725: E/ActivityThread(15706):           at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:1934)

      05-10 11:31:57.725: E/ActivityThread(15706):           at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:1995)

      05-10 11:31:57.725: E/ActivityThread(15706):           at android.app.ActivityThread.access$600(ActivityThread.java:128)

      05-10 11:31:57.725: E/ActivityThread(15706):           at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1161)

      05-10 11:31:57.725: E/ActivityThread(15706):           at android.os.Handler.dispatchMessage(Handler.java:99)

      05-10 11:31:57.725: E/ActivityThread(15706):           at android.os.Looper.loop(Looper.java:137)

      05-10 11:31:57.725: E/ActivityThread(15706):           at android.app.ActivityThread.main(ActivityThread.java:4514)

      05-10 11:31:57.725: E/ActivityThread(15706):           at java.lang.reflect.Method.invokeNative(Native Method)

      05-10 11:31:57.725: E/ActivityThread(15706):           at java.lang.reflect.Method.invoke(Method.java:511)

      05-10 11:31:57.725: E/ActivityThread(15706):           at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:993)

      05-10 11:31:57.725: E/ActivityThread(15706):           at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:760)

      05-10 11:31:57.725: E/ActivityThread(15706):           at dalvik.system.NativeStart.main(Native Method)

      Author's profile photo Midhun VP
      Midhun VP

      Please post the issue in a separate thread under discussions.

      - Midhun VP