java.lang.RuntimeException: ServiceCode Error in function uploadOverwrite at 13

GitHub | MisterY | 7 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Error on GoogleDrive upload

    GitHub | 7 months ago | MisterY
    java.lang.RuntimeException: ServiceCode Error in function uploadOverwrite at 13
  2. 0

    Handle error on update from sync service

    GitHub | 7 months ago | MisterY
    java.lang.RuntimeException: ServiceCode Error in function uploadOverwrite at 13

    Root Cause Analysis

    1. java.lang.ClassCastException

      android.app.ContextImpl cannot be cast to android.app.Activity

      at com.cloudrail.si.servicecode.commands.GetMimeType.init()
    2. com.cloudrail.si
      GoogleDrive.upload
      1. com.cloudrail.si.servicecode.commands.GetMimeType.init(GetMimeType.java:44)
      2. com.cloudrail.si.servicecode.commands.GetMimeType.execute(GetMimeType.java:34)
      3. com.cloudrail.si.servicecode.Interpreter.run(Interpreter.java:84)
      4. com.cloudrail.si.servicecode.Interpreter.callFunction(Interpreter.java:42)
      5. com.cloudrail.si.services.GoogleDrive.upload(GoogleDrive.java:972)
      5 frames
    3. com.money.manager
      SyncService.onHandleIntent
      1. com.money.manager.ex.sync.SyncManager.upload(SyncManager.java:523)
      2. com.money.manager.ex.sync.SyncService.triggerUpload(SyncService.java:246)
      3. com.money.manager.ex.sync.SyncService.onHandleIntent(SyncService.java:125)
      3 frames
    4. Android Platform
      HandlerThread.run
      1. android.app.IntentService$ServiceHandler.handleMessage(IntentService.java:66)
      2. android.os.Handler.dispatchMessage(Handler.java:102)
      3. android.os.Looper.loop(Looper.java:158)
      4. android.os.HandlerThread.run(HandlerThread.java:61)
      4 frames