Interviewer app crashing suddenly while starting/doing the interview

Dear All,

I am writing as we have an issue with the data collection that is now in the field. Basically, the tablets used to collect data often crashes (both at the beginning of the interview or during the interview). This is an issue that is happening randomly and unexpectedly to different tablets. We have managed to download the log-file from the tablets (see attached); and the tablet crashes with this message: 15:57:18[NearbyConnection][Info][[STOP ALL]]. I am copying the last lines of the tablet log file:

15:41:29[EnumeratorAuditLogService][Info][OpenApplication {“Type”:“OpenApplication”}]
15:41:55[EnumeratorAuditLogService][Info][Login {“UserName”:“Slobodan_R”,“Type”:“Login”}]
15:42:04[EnumeratorAuditLogService][Info][SynchronizationStarted {“SynchronizationType”:“Online”,“Type”:“SynchronizationStarted”}]
15:42:17[EnumeratorAuditLogService][Info][SynchronizationCompleted {“NewAssignmentsCount”:0,“RemovedAssignmentsCount”:0,“NewInterviewsCount”:0,“SuccessfullyUploadedInterviewsCount”:1,“RejectedInterviewsCount”:0,“DeletedInterviewsCount”:0,“SuccessfullyPartialDownloadedInterviewsCount”:0,“SuccessfullyPartialUploadedInterviewsCount”:0,“ReopenedInterviewsAfterReceivedCommentsCount”:0,“Type”:“SynchronizationCompleted”}]
15:57:07[EnumeratorAuditLogService][Info][SynchronizationStarted {“SynchronizationType”:“Online”,“Type”:“SynchronizationStarted”}]
15:57:13[EnumeratorAuditLogService][Info][SynchronizationCompleted {“NewAssignmentsCount”:0,“RemovedAssignmentsCount”:0,“NewInterviewsCount”:0,“SuccessfullyUploadedInterviewsCount”:0,“RejectedInterviewsCount”:0,“DeletedInterviewsCount”:0,“SuccessfullyPartialDownloadedInterviewsCount”:0,“SuccessfullyPartialUploadedInterviewsCount”:0,“ReopenedInterviewsAfterReceivedCommentsCount”:0,“Type”:“SynchronizationCompleted”}]
15:57:18[NearbyConnection][Info][[STOP ALL]]

Did it ever happened to you and do you know how to solve it?

The posted log fragment is related to the synchronization, which is not happening when the interview is running (neither begins nor continues) but rather happens when the interviewer is working with the dashboard.

Furthermore, I don’t see anything about the crash here at all.

Sorry this maybe due to the fact that I am not enough expert of it - can I send the text files to your email address? The texts files from the log are extremely long and I don’t know how to identify the precise points where they record the crash

Look for the word exception in the log file.

See here for an example.

You could also seek by the timestamp, if you know when the crash occurred exactly.

Sorry, I think I found only now what you are referring to. Here it is:

]Android.Runtime.JavaProxyThrowable: Exception of type ‘Android.Runtime.JavaProxyThrowable’ was thrown.
— End of managed Android.Runtime.JavaProxyThrowable stack trace —
android.runtime.JavaProxyThrowable: System.ArgumentException: The resource object with key ‘DateHumanize_MultipleMinutesAgo’ was not found

and also

|AndroidEnvironment.UnhandledException => EnumeratorSetup1.<.ctor>b__0_1 => EnumeratorSetup1.ProcessException
15:36:20[0, Culture=neutral, PublicKeyToken=null]]][Error][System.ArgumentException: The resource object with key ‘DateHumanize_MultipleMinutesAgo’ was not found

at Android.Runtime.JNINativeWrapper.Wrap_JniMarshal_PP_V (_JniMarshal_PP_V callback, System.IntPtr jnienv, System.IntPtr klazz) [0x00005] in :0 |AndroidEnvironment.UnhandledException => EnumeratorSetup1.<.ctor>b__0_1 => EnumeratorSetup1.ProcessException

15:36:53[0, Culture=neutral, PublicKeyToken=null]]][Error][Android.Runtime.JavaProxyThrowable: Exception of type ‘Android.Runtime.JavaProxyThrowable’ was thrown.

I am missing the context here (a bigger portion of the log) but from what you have included there is some issue with translation of the text into “human-readable” form. This is likely a bug in a component being used or a resource missing on our side.

Could you please

  1. specify what exact version of the interviewer app you are using?

  2. And what language is active for the interface? (Even if your questionnaire is in English)?

  3. After that if it is different from English, try to switch to English and check if the issue is still reoccurring and let us know here.

  4. If the version is not the newest - update to the newest and retry.

  5. If the issue is still reoccurring in the newest version and English language - include a bigger portion of the log (more of the lines before and after)

Thank you, Sergiy

Dear Sergiy

thank you so much for your prompt reply.

So, the version of the app is 22.12.2 (I think this is the last one, right?).

The survey was originally written in english but it is applied a Montenegrin/Serbian translation. When crashing, the active language is Montenegrin/Serbian.

I will follow your advice and I will ask the enumerators to switch in english and check if this works.

I will get back, thank you so much

Best regards

Peppe

Dear Sergyi, we are not experiencing the issue with our HQ tablet, neither in english nor in montenegrin, while they are experiencing the issue in both languages. This is the longest version of the log, do you think there is any solution?

First error:

a52218830bdc",“InterviewKey”:“08-11-16-56”,“Type”:“CloseInterview”}]
12:51:23[EnumeratorAuditLogService][Info][OpenInterview {“InterviewId”:“7e35c8ec-bdc9-4aea-96bf-a52218830bdc”,“InterviewKey”:“08-11-16-56”,“AssignmentId”:58,“Type”:“OpenInterview”}]
13:40:01[EnumeratorAuditLogService][Info][CloseInterview {“InterviewId”:“7e35c8ec-bdc9-4aea-96bf-a52218830bdc”,“InterviewKey”:“08-11-16-56”,“Type”:“CloseInterview”}]
14:57:42[EnumeratorAuditLogService][Info][OpenInterview {“InterviewId”:“7e35c8ec-bdc9-4aea-96bf-a52218830bdc”,“InterviewKey”:“08-11-16-56”,“AssignmentId”:58,“Type”:“OpenInterview”}]
15:26:54[EnumeratorAuditLogService][Info][CompleteInterview {“InterviewId”:“7e35c8ec-bdc9-4aea-96bf-a52218830bdc”,“InterviewKey”:“08-11-16-56”,“Type”:“CompleteInterview”}]
15:26:54[EnumeratorAuditLogService][Info][CloseInterview {“InterviewId”:“7e35c8ec-bdc9-4aea-96bf-a52218830bdc”,“InterviewKey”:“08-11-16-56”,“Type”:“CloseInterview”}]
15:33:18[InterviewDashboardItemViewModel][Warn][Open Interview 7e35c8ec-bdc9-4aea-96bf-a52218830bdc (key: 08-11-16-56, assignment: 58) at 21.4.2023. 15.33.18]
15:33:18[EnumeratorAuditLogService][Info][RestartInterview {“InterviewId”:“7e35c8ec-bdc9-4aea-96bf-a52218830bdc”,“InterviewKey”:“08-11-16-56”,“Type”:“RestartInterview”}]
15:33:20[EnumeratorAuditLogService][Info][OpenInterview {“InterviewId”:“7e35c8ec-bdc9-4aea-96bf-a52218830bdc”,“InterviewKey”:“08-11-16-56”,“AssignmentId”:58,“Type”:“OpenInterview”}]
15:34:18[EnumeratorAuditLogService][Info][CompleteInterview {“InterviewId”:“7e35c8ec-bdc9-4aea-96bf-a52218830bdc”,“InterviewKey”:“08-11-16-56”,“Type”:“CompleteInterview”}]
15:34:18[EnumeratorAuditLogService][Info][CloseInterview {“InterviewId”:“7e35c8ec-bdc9-4aea-96bf-a52218830bdc”,“InterviewKey”:“08-11-16-56”,“Type”:“CloseInterview”}]
15:36:16[NearbyConnection][Info][[STOP ALL]]
15:36:20[0, Culture=neutral, PublicKeyToken=null]]][Error][Android.Runtime.JavaProxyThrowable: Exception of type ‘Android.Runtime.JavaProxyThrowable’ was thrown.
— End of managed Android.Runtime.JavaProxyThrowable stack trace —
android.runtime.JavaProxyThrowable: System.ArgumentException: The resource object with key ‘DateHumanize_MultipleMinutesAgo’ was not found
Parameter name: resourceKey
at Humanizer.Localisation.Formatters.DefaultFormatter.Format (System.String resourceKey, System.Int32 number, System.Boolean toWords) [0x0002c] in <6dcc31d3cf5945f1985cc1b3d20eee8c>:0
at Humanizer.Localisation.Formatters.DefaultFormatter.GetResourceForDate (Humanizer.Localisation.TimeUnit unit, Humanizer.Localisation.Tense timeUnitTense, System.Int32 count) [0x0000d] in <6dcc31d3cf5945f1985cc1b3d20eee8c>:0
at Humanizer.Localisation.Formatters.DefaultFormatter.DateHumanize (Humanizer.Localisation.TimeUnit timeUnit, Humanizer.Localisation.Tense timeUnitTense, System.Int32 unit) [0x00000] in <6dcc31d3cf5945f1985cc1b3d20eee8c>:0
at Humanizer.DateTimeHumanizeStrategy.DateTimeHumanizeAlgorithms.DefaultHumanize (System.TimeSpan ts, System.Boolean sameMonth, System.Int32 days, Humanizer.Localisation.Tense tense, System.Globalization.CultureInfo culture) [0x0007e] in <6dcc31d3cf5945f1985cc1b3d20eee8c>:0

Second error:

t WB.Core.SharedKernels.Enumerator.ViewModels.Dashboard.InterviewDashboardItemViewModel.RefreshSubtitle () [0x00000] in :0
at WB.Core.SharedKernels.Enumerator.ViewModels.Dashboard.InterviewDashboardItemViewModel.BindTitles () [0x000f7] in :0
at WB.Core.SharedKernels.Enumerator.ViewModels.Dashboard.InterviewDashboardItemViewModel.Init (WB.Core.SharedKernels.Enumerator.Views.InterviewView interviewView, System.Collections.Generic.List1[T] details) [0x00046] in <eca479354142433bae0341472e7437a3>:0 at WB.Core.SharedKernels.Enumerator.ViewModels.Dashboard.BaseInterviewsViewModel+<GetUiItems>d__21.MoveNext () [0x00137] in <eca479354142433bae0341472e7437a3>:0 at System.Collections.Generic.List1[T].AddEnumerable (System.Collections.Generic.IEnumerable1[T] enumerable) [0x00059] in <97c6c40360454c158c014ee803ea6785>:0 at System.Collections.Generic.List1[T]…ctor (System.Collections.Generic.IEnumerable1[T] collection) [0x00062] in <97c6c40360454c158c014ee803ea6785>:0 at System.Linq.Enumerable.ToList[TSource] (System.Collections.Generic.IEnumerable1[T] source) [0x00018] in <052d4ffc295b472ebae9750a0d92739d>:0
at MvvmCross.ViewModels.MvxObservableCollection1[T].AddRange (System.Collections.Generic.IEnumerable1[T] items) [0x0001a] in :0
at MvvmCross.ViewModels.MvxObservableCollection1[T].ReplaceWith (System.Collections.Generic.IEnumerable1[T] items) [0x0001b] in :0
at WB.Core.SharedKernels.Enumerator.ViewModels.Dashboard.ListViewModel.b__16_0 () [0x00029] in :0
at MvvmCross.Base.MvxMainThreadAsyncDispatcher+<>c__DisplayClass0_0.b__0 () [0x00000] in :0
at MvvmCross.Base.MvxMainThreadAsyncDispatcher+<>c__DisplayClass1_0.b__0 () [0x00011] in :0
at System.Runtime.CompilerServices.AsyncMethodBuilderCore+<>c.b__7_0 (System.Object state) [0x00000] in <97c6c40360454c158c014ee803ea6785>:0
at Android.App.SyncContext+<>c__DisplayClass2_0.b__0 () [0x00000] in :0
at Java.Lang.Thread+RunnableImplementor.Run () [0x00008] in :0
at Java.Lang.IRunnableInvoker.n_Run (System.IntPtr jnienv, System.IntPtr native__this) [0x00008] in :0
at Android.Runtime.JNINativeWrapper.Wrap_JniMarshal_PP_V (_JniMarshal_PP_V callback, System.IntPtr jnienv, System.IntPtr klazz) [0x00005] in :0
at mono.java.lang.RunnableImplementor.n_run(Native Method)
at mono.java.lang.RunnableImplementor.run(RunnableImplementor.java:31)
at android.os.Handler.handleCallback(Handler.java:942)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loopOnce(Looper.java:226)
at android.os.Looper.loop(Looper.java:313)
at android.app.ActivityThread.main(ActivityThread.java:8757)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:571)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1067)
]Android.Runtime.JavaProxyThrowable: Exception of type ‘Android.Runtime.JavaProxyThrowable’ was thrown.
— End of managed Android.Runtime.JavaProxyThrowable stack trace —
android.runtime.JavaProxyThrowable: System.ArgumentException: The resource object with key ‘DateHumanize_MultipleMinutesAgo’ was not found
Parameter name: resourceKey
at Humanizer.Localisation.Formatters.DefaultFormatter.Format (System.String resourceKey, System.Int32 number, System.Boolean toWords) [0x0002c] in <6dcc31d3cf5945f1985cc1b3d20eee8c>:0
at Humanizer.Localisation.Formatters.DefaultFormatter.GetResourceForDate (Humanizer.Localisation.TimeUnit unit, Humanizer.Localisation.Tense timeUnitTense, System.Int32 count) [0x0000d] in <6dcc31d3cf5945f1985cc1b3d20eee8c>:0

Third error:

de307f03efa645a6b7e718151b6dac66>:0
at System.Runtime.CompilerServices.AsyncMethodBuilderCore+<>c.b__7_0 (System.Object state) [0x00000] in <97c6c40360454c158c014ee803ea6785>:0
at Android.App.SyncContext+<>c__DisplayClass2_0.b__0 () [0x00000] in :0
at Java.Lang.Thread+RunnableImplementor.Run () [0x00008] in :0
at Java.Lang.IRunnableInvoker.n_Run (System.IntPtr jnienv, System.IntPtr native__this) [0x00008] in :0
at Android.Runtime.JNINativeWrapper.Wrap_JniMarshal_PP_V (_JniMarshal_PP_V callback, System.IntPtr jnienv, System.IntPtr klazz) [0x00005] in :0
at mono.java.lang.RunnableImplementor.n_run(Native Method)
at mono.java.lang.RunnableImplementor.run(RunnableImplementor.java:31)
at android.os.Handler.handleCallback(Handler.java:942)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loopOnce(Looper.java:226)
at android.os.Looper.loop(Looper.java:313)
at android.app.ActivityThread.main(ActivityThread.java:8757)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:571)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1067)
|AndroidEnvironment.UnhandledException => EnumeratorSetup1.<.ctor>b__0_1 => EnumeratorSetup1.ProcessException
15:36:20[0, Culture=neutral, PublicKeyToken=null]]][Error][System.ArgumentException: The resource object with key ‘DateHumanize_MultipleMinutesAgo’ was not found
Parameter name: resourceKey

I can send you the full log if needed.

Thank you so much

Dear @giuseppemaggio ,

We are investigating the issue. I would suggest you some workaround here:
According to:

Could you please go to Android (tablet) Settings > General Management > Language and verify if English is the interface language? If not then switch to it. It might help.

This is solved. We have set the tablet in english and took out the data connection in the tablet.

Thank you for your support

Best regards

Giuseppe