Class com.ustadmobile.core.controller.ReportFilterEditPresenterTest

2

tests

0

failures

0

ignored

0.221s

duration

100%

successful

Tests

Test Method name Duration Result
givenDataWasEntered_whenClickedSaved_thenFinishResult[jvm] givenDataWasEntered_whenClickedSaved_thenFinishResult 0.169s passed
givenNoDataWasEntered_whenClickSavedIsClicked_thenShowErrors[jvm] givenNoDataWasEntered_whenClickSavedIsClicked_thenShowErrors 0.052s passed

Standard error

java.io.IOException: other event source error
	at com.ustadmobile.door.sse.DoorEventSource$eventSourceListener$1.onFailure(DoorEventSource.kt:43)
	at okhttp3.internal.sse.RealEventSource.processResponse(RealEventSource.kt:52)
	at okhttp3.internal.sse.RealEventSource.onResponse(RealEventSource.kt:46)
	at okhttp3.internal.connection.RealCall$AsyncCall.run(RealCall.kt:519)
	at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
	at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
	at java.base/java.lang.Thread.run(Thread.java:829)
Feb 16, 2023 12:54:50 PM io.github.aakira.napier.DebugAntilog performLog
SEVERE: [ERROR] DoorEventSource$eventSourceListener$1$onFailure$invokeSuspend - [DoorEventSource@2062748594 - http://localhost/dummyreplication/subscribe?door-dbversion=107&door-node=-6404598508595463966%2F2279b005-6a94-4687-b24f-ed28c6aebb1d] error: java.io.IOException: other event source error . Attempting to reconnect after 2000ms
Feb 16, 2023 12:54:50 PM io.github.aakira.napier.DebugAntilog performLog
SEVERE: [ERROR] DoorEventSource$eventSourceListener$1$onFailure$invokeSuspend - [DoorEventSource@2062748594 - http://localhost/dummyreplication/subscribe?door-dbversion=107&door-node=-6404598508595463966%2F2279b005-6a94-4687-b24f-ed28c6aebb1d] error: java.io.IOException: other event source error . Attempting to reconnect after 2000ms
Feb 16, 2023 12:54:50 PM io.github.aakira.napier.DebugAntilog performLog
SEVERE: [ERROR] DoorEventSource$eventSourceListener$1$onFailure$invokeSuspend - [DoorEventSource@2062748594 - http://localhost/dummyreplication/subscribe?door-dbversion=107&door-node=-6404598508595463966%2F2279b005-6a94-4687-b24f-ed28c6aebb1d] error: java.io.IOException: other event source error . Attempting to reconnect after 2000ms
Feb 16, 2023 12:54:50 PM io.github.aakira.napier.DebugAntilog performLog
SEVERE: [ERROR] DoorEventSource$eventSourceListener$1$onFailure$invokeSuspend - [DoorEventSource@2062748594 - http://localhost/dummyreplication/subscribe?door-dbversion=107&door-node=-6404598508595463966%2F2279b005-6a94-4687-b24f-ed28c6aebb1d] error: java.io.IOException: other event source error . Attempting to reconnect after 2000ms
Feb 16, 2023 12:54:50 PM io.github.aakira.napier.DebugAntilog performLog
SEVERE: [ERROR] DoorEventSource$eventSourceListener$1$onFailure$invokeSuspend - [DoorEventSource@2062748594 - http://localhost/dummyreplication/subscribe?door-dbversion=107&door-node=-6404598508595463966%2F2279b005-6a94-4687-b24f-ed28c6aebb1d] error: java.io.IOException: other event source error . Attempting to reconnect after 2000ms
Feb 16, 2023 12:54:50 PM io.github.aakira.napier.DebugAntilog performLog
SEVERE: [ERROR] DoorEventSource$eventSourceListener$1$onFailure$invokeSuspend - [DoorEventSource@2062748594 - http://localhost/dummyreplication/subscribe?door-dbversion=107&door-node=-6404598508595463966%2F2279b005-6a94-4687-b24f-ed28c6aebb1d] error: java.io.IOException: other event source error . Attempting to reconnect after 2000ms
Feb 16, 2023 12:54:50 PM io.github.aakira.napier.DebugAntilog performLog
SEVERE: [ERROR] DoorEventSource$eventSourceListener$1$onFailure$invokeSuspend - [DoorEventSource@2062748594 - http://localhost/dummyreplication/subscribe?door-dbversion=107&door-node=-6404598508595463966%2F2279b005-6a94-4687-b24f-ed28c6aebb1d] error: java.io.IOException: other event source error . Attempting to reconnect after 2000ms
Feb 16, 2023 12:54:50 PM io.github.aakira.napier.DebugAntilog performLog
SEVERE: [ERROR] DoorEventSource$eventSourceListener$1$onFailure$invokeSuspend - [DoorEventSource@2062748594 - http://localhost/dummyreplication/subscribe?door-dbversion=107&door-node=-6404598508595463966%2F2279b005-6a94-4687-b24f-ed28c6aebb1d] error: java.io.IOException: other event source error . Attempting to reconnect after 2000ms
Feb 16, 2023 12:54:50 PM io.github.aakira.napier.DebugAntilog performLog
SEVERE: [ERROR] DoorEventSource$eventSourceListener$1$onFailure$invokeSuspend - [DoorEventSource@2062748594 - http://localhost/dummyreplication/subscribe?door-dbversion=107&door-node=-6404598508595463966%2F2279b005-6a94-4687-b24f-ed28c6aebb1d] error: java.io.IOException: other event source error . Attempting to reconnect after 2000ms
Feb 16, 2023 12:54:50 PM io.github.aakira.napier.DebugAntilog performLog
SEVERE: [ERROR] DoorEventSource$eventSourceListener$1$onFailure$invokeSuspend - [DoorEventSource@2062748594 - http://localhost/dummyreplication/subscribe?door-dbversion=107&door-node=-6404598508595463966%2F2279b005-6a94-4687-b24f-ed28c6aebb1d] error: java.io.IOException: other event source error . Attempting to reconnect after 2000ms
Feb 16, 2023 12:54:50 PM io.github.aakira.napier.DebugAntilog performLog
FINE: [DEBUG] UstadSingleEntityPresenter$onCreate - UstadSingleEntityPresenter(ReportFilterEditPresenter):  arguments contain entity
Feb 16, 2023 12:54:50 PM io.github.aakira.napier.DebugAntilog performLog
FINE: [DEBUG] UstadSingleEntityPresenter$onCreate - UstadSingleEntityPresenter(ReportFilterEditPresenter):  arguments contain entity
Feb 16, 2023 12:54:50 PM io.github.aakira.napier.DebugAntilog performLog
FINE: [DEBUG] UstadSingleEntityPresenter$onCreate - UstadSingleEntityPresenter(ReportFilterEditPresenter):  arguments contain entity
Feb 16, 2023 12:54:50 PM io.github.aakira.napier.DebugAntilog performLog
FINE: [DEBUG] UstadSingleEntityPresenter$onCreate - UstadSingleEntityPresenter(ReportFilterEditPresenter):  arguments contain entity
Feb 16, 2023 12:54:50 PM io.github.aakira.napier.DebugAntilog performLog
FINE: [DEBUG] UstadSingleEntityPresenter$onCreate - UstadSingleEntityPresenter(ReportFilterEditPresenter):  arguments contain entity
Feb 16, 2023 12:54:50 PM io.github.aakira.napier.DebugAntilog performLog
FINE: [DEBUG] UstadSingleEntityPresenter$onCreate - UstadSingleEntityPresenter(ReportFilterEditPresenter):  arguments contain entity
Feb 16, 2023 12:54:50 PM io.github.aakira.napier.DebugAntilog performLog
FINE: [DEBUG] UstadSingleEntityPresenter$onCreate - UstadSingleEntityPresenter(ReportFilterEditPresenter):  arguments contain entity
Feb 16, 2023 12:54:50 PM io.github.aakira.napier.DebugAntilog performLog
FINE: [DEBUG] UstadSingleEntityPresenter$onCreate - UstadSingleEntityPresenter(ReportFilterEditPresenter):  arguments contain entity
Feb 16, 2023 12:54:50 PM io.github.aakira.napier.DebugAntilog performLog
FINE: [DEBUG] UstadSingleEntityPresenter$onCreate - UstadSingleEntityPresenter(ReportFilterEditPresenter):  arguments contain entity
Feb 16, 2023 12:54:50 PM io.github.aakira.napier.DebugAntilog performLog
FINE: [DEBUG] UstadSingleEntityPresenter$onCreate - UstadSingleEntityPresenter(ReportFilterEditPresenter):  arguments contain entity
Feb 16, 2023 12:54:50 PM io.github.aakira.napier.DebugAntilog performLog
FINE: [DEBUG] UstadSingleEntityPresenter$onCreate - UstadSingleEntityPresenter(ReportFilterEditPresenter):  Json present in args or savedstate. Load from JSON: {"reportFilterSeriesUid":1}
Feb 16, 2023 12:54:50 PM io.github.aakira.napier.DebugAntilog performLog
FINE: [DEBUG] UstadSingleEntityPresenter$onCreate - UstadSingleEntityPresenter(ReportFilterEditPresenter):  Json present in args or savedstate. Load from JSON: {"reportFilterSeriesUid":1}
Feb 16, 2023 12:54:50 PM io.github.aakira.napier.DebugAntilog performLog
FINE: [DEBUG] UstadSingleEntityPresenter$onCreate - UstadSingleEntityPresenter(ReportFilterEditPresenter):  Json present in args or savedstate. Load from JSON: {"reportFilterSeriesUid":1}
Feb 16, 2023 12:54:50 PM io.github.aakira.napier.DebugAntilog performLog
FINE: [DEBUG] UstadSingleEntityPresenter$onCreate - UstadSingleEntityPresenter(ReportFilterEditPresenter):  Json present in args or savedstate. Load from JSON: {"reportFilterSeriesUid":1}
Feb 16, 2023 12:54:50 PM io.github.aakira.napier.DebugAntilog performLog
FINE: [DEBUG] UstadSingleEntityPresenter$onCreate - UstadSingleEntityPresenter(ReportFilterEditPresenter):  Json present in args or savedstate. Load from JSON: {"reportFilterSeriesUid":1}
Feb 16, 2023 12:54:50 PM io.github.aakira.napier.DebugAntilog performLog
FINE: [DEBUG] UstadSingleEntityPresenter$onCreate - UstadSingleEntityPresenter(ReportFilterEditPresenter):  Json present in args or savedstate. Load from JSON: {"reportFilterSeriesUid":1}
Feb 16, 2023 12:54:50 PM io.github.aakira.napier.DebugAntilog performLog
FINE: [DEBUG] UstadSingleEntityPresenter$onCreate - UstadSingleEntityPresenter(ReportFilterEditPresenter):  Json present in args or savedstate. Load from JSON: {"reportFilterSeriesUid":1}
Feb 16, 2023 12:54:50 PM io.github.aakira.napier.DebugAntilog performLog
FINE: [DEBUG] UstadSingleEntityPresenter$onCreate - UstadSingleEntityPresenter(ReportFilterEditPresenter):  Json present in args or savedstate. Load from JSON: {"reportFilterSeriesUid":1}
Feb 16, 2023 12:54:50 PM io.github.aakira.napier.DebugAntilog performLog
FINE: [DEBUG] UstadSingleEntityPresenter$onCreate - UstadSingleEntityPresenter(ReportFilterEditPresenter):  Json present in args or savedstate. Load from JSON: {"reportFilterSeriesUid":1}
Feb 16, 2023 12:54:50 PM io.github.aakira.napier.DebugAntilog performLog
FINE: [DEBUG] UstadSingleEntityPresenter$onCreate - UstadSingleEntityPresenter(ReportFilterEditPresenter):  Json present in args or savedstate. Load from JSON: {"reportFilterSeriesUid":1}
Exception in thread "DefaultDispatcher-worker-17 @coroutine#3664" java.lang.NullPointerException
	at com.ustadmobile.core.controller.UstadSingleEntityPresenter$getSavedStateResultLiveData$1.invokeSuspend$lambda$0(UstadSingleEntityPresenter.kt:203)
	at com.ustadmobile.core.controller.UstadSingleEntityPresenter.addOnLoadDataCompletedListener(UstadSingleEntityPresenter.kt:166)
	at com.ustadmobile.core.controller.UstadSingleEntityPresenter$getSavedStateResultLiveData$1.invokeSuspend(UstadSingleEntityPresenter.kt:202)
	at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
	at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:106)
	at kotlinx.coroutines.scheduling.CoroutineScheduler.runSafely(CoroutineScheduler.kt:570)
	at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.executeTask(CoroutineScheduler.kt:750)
	at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:677)
	at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:664)
	Suppressed: kotlinx.coroutines.DiagnosticCoroutineContextException: [CoroutineId(3664), "coroutine#3664":StandaloneCoroutine{Cancelling}@f819fa8, Dispatchers.Default]
Exception in thread "DefaultDispatcher-worker-10 @coroutine#3663" java.lang.NullPointerException
	at com.ustadmobile.core.controller.UstadSingleEntityPresenter$getSavedStateResultLiveData$1.invokeSuspend$lambda$0(UstadSingleEntityPresenter.kt:203)
	at com.ustadmobile.core.controller.UstadSingleEntityPresenter.addOnLoadDataCompletedListener(UstadSingleEntityPresenter.kt:166)
	at com.ustadmobile.core.controller.UstadSingleEntityPresenter$getSavedStateResultLiveData$1.invokeSuspend(UstadSingleEntityPresenter.kt:202)
	at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
	at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:106)
	at kotlinx.coroutines.scheduling.CoroutineScheduler.runSafely(CoroutineScheduler.kt:570)
	at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.executeTask(CoroutineScheduler.kt:750)
	at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:677)
	at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:664)
	Suppressed: kotlinx.coroutines.DiagnosticCoroutineContextException: [CoroutineId(3663), "coroutine#3663":StandaloneCoroutine{Cancelling}@529ddb9d, Dispatchers.Default]
Feb 16, 2023 12:54:50 PM io.github.aakira.napier.DebugAntilog performLog
FINE: [DEBUG] UstadSingleEntityPresenter$onCreate - UstadSingleEntityPresenter(ReportFilterEditPresenter):  arguments contain entity
Feb 16, 2023 12:54:50 PM io.github.aakira.napier.DebugAntilog performLog
FINE: [DEBUG] UstadSingleEntityPresenter$onCreate - UstadSingleEntityPresenter(ReportFilterEditPresenter):  arguments contain entity
Feb 16, 2023 12:54:50 PM io.github.aakira.napier.DebugAntilog performLog
FINE: [DEBUG] UstadSingleEntityPresenter$onCreate - UstadSingleEntityPresenter(ReportFilterEditPresenter):  arguments contain entity
Feb 16, 2023 12:54:50 PM io.github.aakira.napier.DebugAntilog performLog
FINE: [DEBUG] UstadSingleEntityPresenter$onCreate - UstadSingleEntityPresenter(ReportFilterEditPresenter):  arguments contain entity
Feb 16, 2023 12:54:50 PM io.github.aakira.napier.DebugAntilog performLog
FINE: [DEBUG] UstadSingleEntityPresenter$onCreate - UstadSingleEntityPresenter(ReportFilterEditPresenter):  arguments contain entity
Feb 16, 2023 12:54:50 PM io.github.aakira.napier.DebugAntilog performLog
FINE: [DEBUG] UstadSingleEntityPresenter$onCreate - UstadSingleEntityPresenter(ReportFilterEditPresenter):  arguments contain entity
Feb 16, 2023 12:54:50 PM io.github.aakira.napier.DebugAntilog performLog
FINE: [DEBUG] UstadSingleEntityPresenter$onCreate - UstadSingleEntityPresenter(ReportFilterEditPresenter):  arguments contain entity
Feb 16, 2023 12:54:50 PM io.github.aakira.napier.DebugAntilog performLog
FINE: [DEBUG] UstadSingleEntityPresenter$onCreate - UstadSingleEntityPresenter(ReportFilterEditPresenter):  arguments contain entity
Feb 16, 2023 12:54:50 PM io.github.aakira.napier.DebugAntilog performLog
FINE: [DEBUG] UstadSingleEntityPresenter$onCreate - UstadSingleEntityPresenter(ReportFilterEditPresenter):  arguments contain entity
Feb 16, 2023 12:54:50 PM io.github.aakira.napier.DebugAntilog performLog
FINE: [DEBUG] UstadSingleEntityPresenter$onCreate - UstadSingleEntityPresenter(ReportFilterEditPresenter):  arguments contain entity
Feb 16, 2023 12:54:50 PM io.github.aakira.napier.DebugAntilog performLog
FINE: [DEBUG] UstadSingleEntityPresenter$onCreate - UstadSingleEntityPresenter(ReportFilterEditPresenter):  Json present in args or savedstate. Load from JSON: {"reportFilterSeriesUid":1}
Feb 16, 2023 12:54:50 PM io.github.aakira.napier.DebugAntilog performLog
FINE: [DEBUG] UstadSingleEntityPresenter$onCreate - UstadSingleEntityPresenter(ReportFilterEditPresenter):  Json present in args or savedstate. Load from JSON: {"reportFilterSeriesUid":1}
Feb 16, 2023 12:54:50 PM io.github.aakira.napier.DebugAntilog performLog
FINE: [DEBUG] UstadSingleEntityPresenter$onCreate - UstadSingleEntityPresenter(ReportFilterEditPresenter):  Json present in args or savedstate. Load from JSON: {"reportFilterSeriesUid":1}
Feb 16, 2023 12:54:50 PM io.github.aakira.napier.DebugAntilog performLog
FINE: [DEBUG] UstadSingleEntityPresenter$onCreate - UstadSingleEntityPresenter(ReportFilterEditPresenter):  Json present in args or savedstate. Load from JSON: {"reportFilterSeriesUid":1}
Feb 16, 2023 12:54:50 PM io.github.aakira.napier.DebugAntilog performLog
FINE: [DEBUG] UstadSingleEntityPresenter$onCreate - UstadSingleEntityPresenter(ReportFilterEditPresenter):  Json present in args or savedstate. Load from JSON: {"reportFilterSeriesUid":1}
Feb 16, 2023 12:54:50 PM io.github.aakira.napier.DebugAntilog performLog
FINE: [DEBUG] UstadSingleEntityPresenter$onCreate - UstadSingleEntityPresenter(ReportFilterEditPresenter):  Json present in args or savedstate. Load from JSON: {"reportFilterSeriesUid":1}
Feb 16, 2023 12:54:50 PM io.github.aakira.napier.DebugAntilog performLog
FINE: [DEBUG] UstadSingleEntityPresenter$onCreate - UstadSingleEntityPresenter(ReportFilterEditPresenter):  Json present in args or savedstate. Load from JSON: {"reportFilterSeriesUid":1}
Feb 16, 2023 12:54:50 PM io.github.aakira.napier.DebugAntilog performLog
FINE: [DEBUG] UstadSingleEntityPresenter$onCreate - UstadSingleEntityPresenter(ReportFilterEditPresenter):  Json present in args or savedstate. Load from JSON: {"reportFilterSeriesUid":1}
Feb 16, 2023 12:54:50 PM io.github.aakira.napier.DebugAntilog performLog
FINE: [DEBUG] UstadSingleEntityPresenter$onCreate - UstadSingleEntityPresenter(ReportFilterEditPresenter):  Json present in args or savedstate. Load from JSON: {"reportFilterSeriesUid":1}
Feb 16, 2023 12:54:50 PM io.github.aakira.napier.DebugAntilog performLog
FINE: [DEBUG] UstadSingleEntityPresenter$onCreate - UstadSingleEntityPresenter(ReportFilterEditPresenter):  Json present in args or savedstate. Load from JSON: {"reportFilterSeriesUid":1}
Exception in thread "DefaultDispatcher-worker-17 @coroutine#3670" java.lang.NullPointerException
	at com.ustadmobile.core.controller.UstadSingleEntityPresenter$getSavedStateResultLiveData$1.invokeSuspend$lambda$0(UstadSingleEntityPresenter.kt:203)
	at com.ustadmobile.core.controller.UstadSingleEntityPresenter.addOnLoadDataCompletedListener(UstadSingleEntityPresenter.kt:166)
	at com.ustadmobile.core.controller.UstadSingleEntityPresenter$getSavedStateResultLiveData$1.invokeSuspend(UstadSingleEntityPresenter.kt:202)
	at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
	at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:106)
	at kotlinx.coroutines.scheduling.CoroutineScheduler.runSafely(CoroutineScheduler.kt:570)
	at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.executeTask(CoroutineScheduler.kt:750)
	at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:677)
	at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:664)
	Suppressed: kotlinx.coroutines.DiagnosticCoroutineContextException: [CoroutineId(3670), "coroutine#3670":StandaloneCoroutine{Cancelling}@cb15b55, Dispatchers.Default]
Exception in thread "DefaultDispatcher-worker-1 @coroutine#3671" java.lang.NullPointerException
	at com.ustadmobile.core.controller.UstadSingleEntityPresenter$getSavedStateResultLiveData$1.invokeSuspend$lambda$0(UstadSingleEntityPresenter.kt:203)
	at com.ustadmobile.core.controller.UstadSingleEntityPresenter.addOnLoadDataCompletedListener(UstadSingleEntityPresenter.kt:166)
	at com.ustadmobile.core.controller.UstadSingleEntityPresenter$getSavedStateResultLiveData$1.invokeSuspend(UstadSingleEntityPresenter.kt:202)
	at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
	at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:106)
	at kotlinx.coroutines.scheduling.CoroutineScheduler.runSafely(CoroutineScheduler.kt:570)
	at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.executeTask(CoroutineScheduler.kt:750)
	at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:677)
	at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:664)
	Suppressed: kotlinx.coroutines.DiagnosticCoroutineContextException: [CoroutineId(3671), "coroutine#3671":StandaloneCoroutine{Cancelling}@39cbedf8, Dispatchers.Default]