Advertisement
Guest User

Untitled

a guest
Dec 13th, 2019
17
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 4.39 KB | None | 0 0
  1. 12-13 14:37:01.705 E/OpenMRS ( 3914): #48 OpenMRSLogger.lambda$new$0$OpenMRSLogger() : Uncaught exception is: 12-13 14:37:01.705 E/OpenMRS ( 3914): java.lang.IllegalStateException: Exception thrown on Scheduler.Worker thread. Add `onError` handling.12-13 14:37:01.705 E/OpenMRS ( 3914):  at rx.android.schedulers.LooperScheduler$ScheduledAction.run(LooperScheduler.java:112)12-13 14:37:01.705 E/OpenMRS ( 3914):     at android.os.Handler.handleCallback(Handler.java:739)12-13 14:37:01.705 E/OpenMRS ( 3914):     at android.os.Handler.dispatchMessage(Handler.java:95)12-13 14:37:01.705 E/OpenMRS ( 3914):     at android.os.Looper.loop(Looper.java:148)12-13 14:37:01.705 E/OpenMRS ( 3914):     at android.app.ActivityThread.main(ActivityThread.java:5417)12-13 14:37:01.705 E/OpenMRS ( 3914):   at java.lang.reflect.Method.invoke(Native Method)12-13 14:37:01.705 E/OpenMRS ( 3914):  at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:726)12-13 14:37:01.705 E/OpenMRS ( 3914):     at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:616)12-13 14:37:01.705 E/OpenMRS ( 3914): Caused by: rx.exceptions.OnErrorNotImplementedException: Attempt to invoke interface method 'boolean java.util.List.add(java.lang.Object)' on a null object reference12-13 14:37:01.705 E/OpenMRS ( 3914):     at rx.internal.util.InternalObservableUtils$ErrorNotImplementedAction.call(InternalObservableUtils.java:386)12-13 14:37:01.705 E/OpenMRS ( 3914):   at rx.internal.util.InternalObservableUtils$ErrorNotImplementedAction.call(InternalObservableUtils.java:383)12-13 14:37:01.705 E/OpenMRS ( 3914):   at rx.internal.util.ActionSubscriber.onError(ActionSubscriber.java:44)12-13 14:37:01.705 E/OpenMRS ( 3914):     at rx.observers.SafeSubscriber._onError(SafeSubscriber.java:153)12-13 14:37:01.705 E/OpenMRS ( 3914):   at rx.observers.SafeSubscriber.onError(SafeSubscriber.java:115)12-13 14:37:01.705 E/OpenMRS ( 3914):    at rx.internal.operators.OperatorObserveOn$ObserveOnSubscriber.checkTerminated(OperatorObserveOn.java:273)12-13 14:37:01.705 E/OpenMRS ( 3914):     at rx.internal.operators.OperatorObserveOn$ObserveOnSubscriber.call(OperatorObserveOn.java:216)12-13 14:37:01.705 E/OpenMRS ( 3914):    at rx.android.schedulers.LooperScheduler$ScheduledAction.run(LooperScheduler.java:107)12-13 14:37:01.705 E/OpenMRS ( 3914):     ... 7 more12-13 14:37:01.705 E/OpenMRS ( 3914): Caused by: java.lang.NullPointerException: Attempt to invoke interface method 'boolean java.util.List.add(java.lang.Object)' on a null object reference12-13 14:37:01.705 E/OpenMRS ( 3914):    at org.openmrs.mobile.dao.PatientDAO.cursorToPatient(PatientDAO.java:90)12-13 14:37:01.705 E/OpenMRS ( 3914):   at org.openmrs.mobile.dao.PatientDAO.findPatientByID(PatientDAO.java:183)12-13 14:37:01.705 E/OpenMRS ( 3914):  at org.openmrs.mobile.dao.VisitDAO.saveVisit(VisitDAO.java:56)12-13 14:37:01.705 E/OpenMRS ( 3914):     at org.openmrs.mobile.dao.VisitDAO.lambda$saveOrUpdate$0$VisitDAO(VisitDAO.java:47)12-13 14:37:01.705 E/OpenMRS ( 3914):    at org.openmrs.mobile.dao.-$$Lambda$VisitDAO$okUBK2U723chWjiU_8N4IlvSylY.call(lambda)12-13 14:37:01.705 E/OpenMRS ( 3914):  at rx.internal.operators.OnSubscribeFromCallable.call(OnSubscribeFromCallable.java:48)12-13 14:37:01.705 E/OpenMRS ( 3914):     at rx.internal.operators.OnSubscribeFromCallable.call(OnSubscribeFromCallable.java:33)12-13 14:37:01.705 E/OpenMRS ( 3914):     at rx.Observable.unsafeSubscribe(Observable.java:10256)12-13 14:37:01.705 E/OpenMRS ( 3914):    at rx.internal.operators.OperatorSubscribeOn$SubscribeOnSubscriber.call(OperatorSubscribeOn.java:100)12-13 14:37:01.705 E/OpenMRS ( 3914):  at rx.internal.schedulers.CachedThreadScheduler$EventLoopWorker$1.call(CachedThreadScheduler.java:230)12-13 14:37:01.705 E/OpenMRS ( 3914):     at rx.internal.schedulers.ScheduledAction.run(ScheduledAction.java:55)12-13 14:37:01.705 E/OpenMRS ( 3914):     at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:423)12-13 14:37:01.705 E/OpenMRS ( 3914):     at java.util.concurrent.FutureTask.run(FutureTask.java:237)12-13 14:37:01.705 E/OpenMRS ( 3914):    at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:269)12-13 14:37:01.705 E/OpenMRS ( 3914):  at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1113)12-13 14:37:01.705 E/OpenMRS ( 3914):     at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:588)12-13 14:37:01.705 E/OpenMRS ( 3914):     at java.lang.Thread.run(Thread.java:818)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement