Crash during Portal Scan and Scan Upload Failed with "Promise.Finally threw an exception"

1. Ingress crashed during portal scan recording.

2. Start Ingress again.

3. Do Setting -> "Upload Portal Scans".

4. Got error "Portal Scan Upload Failed", log shows exception:

Plugin Error - System.Exception: Promise<T>.Then<T> threw an exception ---> System.Exception: Promise.Finally threw an exception ---> System.NullReferenceException: Object reference not set to an instance of an object.

5. Continue Portal Scanning -> All subsequent Scans are uploaded ok with "Upload Now".


My guess is that when Portal Scan crash happened it corrupted Portal Scan Upload Queue and all previous Portal Scans that were not yet send remains in queue without any possibility to send them anymore as one Scan (on top of scan stack queue) is corrupted.


There are 15 Scans in the queue that are now lost and probably "Clear All" is needed.

There were 85 scan available, scanned all 85 quota and Agent Stats shows 70 Scan uploaded.


Here is the whole log: (as cannot add .txt file here)

-----------------------------------------------------------
[FMOD] Please add an 'FMOD Studio Listener' component to your a camera in the scene for correct 3D positioning of sounds.
Parent of RectTransform is being set with parent property. Consider using the SetParent method instead, with the worldPositionStays argument set to false. This will retain local orientation and scale rather than world orientation and scale, which can prevent common UI scaling issues.
Parent of RectTransform is being set with parent property. Consider using the SetParent method instead, with the worldPositionStays argument set to false. This will retain local orientation and scale rather than world orientation and scale, which can prevent common UI scaling issues.
Plugin Error - System.Exception: Promise<T>.Then<T> threw an exception ---> System.Exception: Promise.Finally threw an exception ---> System.NullReferenceException: Object reference not set to an instance of an object.
 at UnityEngine.UI.Graphic.SetVerticesDirty () [0x00000] in <00000000000000000000000000000000>:0 
 at UnityEngine.UI.Text.set_text (System.String value) [0x00000] in <00000000000000000000000000000000>:0 
 at System.Action.Invoke () [0x00000] in <00000000000000000000000000000000>:0 
 at Niantic.Promises.Promise.Complete () [0x00000] in <00000000000000000000000000000000>:0 
 at Niantic.Promises.Promise`1[T].Complete (T completionValue) [0x00000] in <00000000000000000000000000000000>:0 
 at Niantic.Platform.Ditto.Rpc.RpcManager+<CreateActionRequest>c__AnonStorey0`2[TInput,TResult].<>m__0 (System.Int32 rpcId, Niantic.Platform.Ditto.Rpc.RpcStatus rpcStatus, Google.Protobuf.IMessage result) [0x00000] in <00000000000000000000000000000000>:0 
 at Niantic.Platform.Ditto.Rpc.ParsedRpcFuture+<Set>c__AnonStorey0.<>m__0 () [0x00000] in <00000000000000000000000000000000>:0 
 at Niantic.Platform.Ditto.Tasks.AsyncTaskQueueImpl.ProcessOnMain (System.Double timeBudgetMs) [0x00000] in <00000000000000000000000000000000>:0 
 at Niantic.Platform.Ditto.Plugin.DittoPlugin.Update () [0x00000] in <00000000000000000000000000000000>:0 
  --- End of inner exception stack trace ---
 at Niantic.Promises.Promise.Complete () [0x00000] in <00000000000000000000000000000000>:0 
 at Niantic.Promises.Promise`1[T].Complete (T completionValue) [0x00000] in <00000000000000000000000000000000>:0 
 at Niantic.Platform.Ditto.Rpc.RpcManager+<CreateActionRequest>c__AnonStorey0`2[TInput,TResult].<>m__0 (System.Int32 rpcId, Niantic.Platform.Ditto.Rpc.RpcStatus rpcStatus, Google.Protobuf.IMessage result) [0x00000] in <00000000000000000000000000000000>:0 
 at Niantic.Platform.Ditto.Rpc.ParsedRpcFuture+<Set>c__AnonStorey0.<>m__0 () [0x00000] in <00000000000000000000000000000000>:0 
 at Niantic.Platform.Ditto.Tasks.AsyncTaskQueueImpl.ProcessOnMain (System.Double timeBudgetMs) [0x00000] in <00000000000000000000000000000000>:0 
 at Niantic.Platform.Ditto.Plugin.DittoPlugin.Update () [0x00000] in <00000000000000000000000000000000>:0 
  --- End of inner exception stack trace ---
 at Niantic.Promises.Promise`1[T].Complete (T completionValue) [0x00000] in <00000000000000000000000000000000>:0 
 at Niantic.Platform.Ditto.Rpc.RpcManager+<CreateActionRequest>c__AnonStorey0`2[TInput,TResult].<>m__0 (System.Int32 rpcId, Niantic.Platform.Ditto.Rpc.RpcStatus rpcStatus, Google.Protobuf.IMessage result) [0x00000] in <00000000000000000000000000000000>:0 
 at Niantic.Platform.Ditto.Rpc.ParsedRpcFuture+<Set>c__AnonStorey0.<>m__0 () [0x00000] in <00000000000000000000000000000000>:0 
 at Niantic.Platform.Ditto.Tasks.AsyncTaskQueueImpl.ProcessOnMain (System.Double timeBudgetMs) [0x00000] in <00000000000000000000000000000000>:0 
 at Niantic.Platform.Ditto.Plugin.DittoPlugin.Update () [0x00000] in <00000000000000000000000000000000>:0 
Filestream is reading empty byte
Filestream is reading empty byte
Filestream is reading empty byte
Filestream is reading empty byte
Filestream is reading empty byte
Filestream is reading empty byte
Filestream is reading empty byte
Filestream is reading empty byte
Filestream is reading empty byte
Filestream is reading empty byte
Filestream is reading empty byte
Filestream is reading empty byte
Filestream is reading empty byte
Filestream is reading empty byte
Filestream is reading empty byte
Filestream is reading empty byte
Filestream is reading empty byte
Filestream is reading empty byte
Filestream is reading empty byte
Filestream is reading empty byte
Filestream is reading empty byte
Filestream is reading empty byte
Filestream is reading empty byte
Filestream is reading empty byte
Filestream is reading empty byte
Filestream is reading empty byte
Filestream is reading empty byte
Filestream is reading empty byte
Filestream is reading empty byte
Filestream is reading empty byte
Filestream is reading empty byte
No data given for chunk body.
No data given for chunk body.
No data given for chunk body.
No data given for chunk body.
No data given for chunk body.
No data given for chunk body.
No data given for chunk body.
No data given for chunk body.
No data given for chunk body.
No data given for chunk body.
No data given for chunk body.
No data given for chunk body.
No data given for chunk body.
No data given for chunk body.
No data given for chunk body.
No data given for chunk body.
No data given for chunk body.
No data given for chunk body.
No data given for chunk body.
No data given for chunk body.
No data given for chunk body.
No data given for chunk body.
Filestream is reading empty byte
Filestream is reading empty byte
Filestream is reading empty byte
Filestream is reading empty byte
Filestream is reading empty byte
Filestream is reading empty byte
Filestream is reading empty byte
Filestream is reading empty byte
Filestream is reading empty byte
Filestream is reading empty byte
Filestream is reading empty byte
Filestream is reading empty byte
Filestream is reading empty byte
Filestream is reading empty byte
Filestream is reading empty byte
Filestream is reading empty byte
Filestream is reading empty byte
Filestream is reading empty byte
Filestream is reading empty byte
Filestream is reading empty byte
Filestream is reading empty byte
Filestream is reading empty byte
Filestream is reading empty byte
Filestream is reading empty byte
Filestream is reading empty byte
Filestream is reading empty byte
Filestream is reading empty byte
Filestream is reading empty byte
Filestream is reading empty byte
Filestream is reading empty byte
Filestream is reading empty byte
-----------------------------------------------------------

Samsung S8
Android 9
2.59.2

Comments

  • HopeaKotkaHopeaKotka ✭✭✭
    edited November 18

    Deleted corrupted Portal Scan file from phone and Uploaded Portal Scans again.

    Now portal Scans were uploaded ok and Agent Stats showed 13 Portal Scans uploaded :)

    There was also other crash earlier today during portal scanning, so only 2 scans were lost, both when there were app crash during Scanning.

    Post edited by HopeaKotka on
  • oscarc1oscarc1 ✭✭✭✭

    How did you generate an error log? And how did you delete the scans? I would be interested in knowing in case the same issue happens to me

Sign In or Register to comment.