couchbaselabs/ToDoLite-Android

ToDoLite App crashes when try to solve conflict

hideki opened this issue · 0 comments

01-27 15:08:53.240 14408-14478/com.couchbase.todolite E/Sync: com.couchbase.lite.replicator.ReplicationInternal$4@a3a9dba checkSessionAtPath() response: {authentication_handlers=[default, cookie], ok=true, userCtx={channels={!=1, list--1tjXG7NdbnoOG5uc6PIAf_=342, list--3DDqm0tNk403A033gAoS5G=22, list--96wjLm14TKm1eSuhNm_9u6=349, list--Cc8FLya2NdkFTQwendrTkE=355, list--F0aINYoKC1NDBTgMsL68VZ=366, list--HMw4RYkuzfnfruhLKzu18p=312, list--Ohx7JyeWC-y5WNqJUdrg8F=374, list--Q7JeekycuhpVWOJQDOijw8=370, list--YVoGr7glXfL22iGIXmGGNj=40, list--_SJZ2R8EUGiG-7caDl9YYG=375, list--n237SCCtOwgPCZvXT8e7Rj=174, list--qlIdKUEBimptJbN0DOzPwu=13, list--xcaO5lqOtdUk3iP1bah7sJ=137, list-a8fbaac8-4bea-452a-8ab8-04e75736dcf3=119, list-f0cf15a4-a5eb-4335-8646-9ba42590cd76=303, profiles=2}, name=1398835190428562}}
01-27 15:09:32.567 14408-14408/com.couchbase.todolite E/AndroidRuntime: FATAL EXCEPTION: main
    Process: com.couchbase.todolite, PID: 14408
    java.lang.NullPointerException: Attempt to invoke virtual method 'int java.lang.String.length()' on a null object reference
        at java.text.SimpleDateFormat.parse(SimpleDateFormat.java:1044)
        at java.text.DateFormat.parse(DateFormat.java:577)
        at com.couchbase.todolite.ConflictsAdapter.getView(ConflictsAdapter.java:46)
        at android.widget.AbsListView.obtainView(AbsListView.java:2346)
        at android.widget.ListView.makeAndAddView(ListView.java:1876)
        at android.widget.ListView.fillDown(ListView.java:702)
        at android.widget.ListView.fillFromTop(ListView.java:763)
        at android.widget.ListView.layoutChildren(ListView.java:1685)
        at android.widget.AbsListView.onLayout(AbsListView.java:2148)
        at android.view.View.layout(View.java:16636)
        at android.view.ViewGroup.layout(ViewGroup.java:5437)
        at android.widget.FrameLayout.layoutChildren(FrameLayout.java:336)
        at android.widget.FrameLayout.onLayout(FrameLayout.java:273)
        at android.view.View.layout(View.java:16636)
        at android.view.ViewGroup.layout(ViewGroup.java:5437)
        at android.widget.LinearLayout.setChildFrame(LinearLayout.java:1743)
        at android.widget.LinearLayout.layoutVertical(LinearLayout.java:1586)
        at android.widget.LinearLayout.onLayout(LinearLayout.java:1495)
        at android.view.View.layout(View.java:16636)
        at android.view.ViewGroup.layout(ViewGroup.java:5437)
        at android.widget.FrameLayout.layoutChildren(FrameLayout.java:336)
        at android.widget.FrameLayout.onLayout(FrameLayout.java:273)
        at com.android.internal.policy.PhoneWindow$DecorView.onLayout(PhoneWindow.java:2678)
        at android.view.View.layout(View.java:16636)
        at android.view.ViewGroup.layout(ViewGroup.java:5437)
        at android.view.ViewRootImpl.performLayout(ViewRootImpl.java:2171)
        at android.view.ViewRootImpl.performTraversals(ViewRootImpl.java:1931)
        at android.view.ViewRootImpl.doTraversal(ViewRootImpl.java:1107)
        at android.view.ViewRootImpl$TraversalRunnable.run(ViewRootImpl.java:6013)
        at android.view.Choreographer$CallbackRecord.run(Choreographer.java:858)
        at android.view.Choreographer.doCallbacks(Choreographer.java:670)
        at android.view.Choreographer.doFrame(Choreographer.java:606)
        at android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:844)
        at android.os.Handler.handleCallback(Handler.java:739)
        at android.os.Handler.dispatchMessage(Handler.java:95)
        at android.os.Looper.loop(Looper.java:148)
        at android.app.ActivityThread.main(ActivityThread.java:5417)
        at java.lang.reflect.Method.invoke(Native Method)
        at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:726)
        at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:616)