Skip to content

Instantly share code, notes, and snippets.

@ajaymourya4
Created Mar 12, 2019
Embed
What would you like to do?
OpenMRS Android Client App crashes on clicking Register Patient
03-10 16:16:19.915 D/OpenMRS ( 5479): #64 OpenMRSLogger.<init>() : Start logging to file
03-10 16:16:54.368 D/OpenMRS ( 5479): #125 LoginPresenter$1.onResponse() : sessionId: 4C11EF048AC8B79E39F30AF9A7A42A08 authenticated: true
03-10 16:16:55.119 D/OpenMRS ( 5479): #70 DBOpenHelper.onCreate() : Database creating...
03-10 16:16:55.215 D/OpenMRS ( 5479): #100 DBOpenHelper.logOnCreate() : Table patientsCREATE TABLE patients(_id integer primary key autoincrement,synced boolean,display text,uuid text,identifier text,givenName text not null,middleName text,familyName text not null,gender text not null,birthDate data not null,deathDate date,causeOfDeath text,age text,photo blob,address1 text,address2 text,postalCode text,country text,state text,city text,encounters text); ver.9 created
03-10 16:16:55.295 D/OpenMRS ( 5479): #100 DBOpenHelper.logOnCreate() : Table conceptsCREATE TABLE concepts(_id integer primary key autoincrement,uuid text not null,display text); ver.9 created
03-10 16:16:55.394 D/OpenMRS ( 5479): #100 DBOpenHelper.logOnCreate() : Table visitsCREATE TABLE visits(_id integer primary key autoincrement,patient_id integer not null,uuid data not null,visit_type text,visit_place text,start_date data not null,stop_date date); ver.9 created
03-10 16:16:55.503 D/OpenMRS ( 5479): #100 DBOpenHelper.logOnCreate() : Table encountersCREATE TABLE encounters(_id integer primary key autoincrement,visit_id integer,uuid text not null,display text,encounterDatetime data not null,type date,patient_uuid text,form_uuid text); ver.9 created
03-10 16:16:55.613 D/OpenMRS ( 5479): #100 DBOpenHelper.logOnCreate() : Table observationsCREATE TABLE observations(_id integer primary key autoincrement,encounter_id integer not null,uuid text not null,display text,displayValue text,diagnosisOrder text,diagnosisList text,diagnosisCertainty text,diagnosisNote text,conceptUuid text); ver.9 created
03-10 16:16:55.712 D/OpenMRS ( 5479): #100 DBOpenHelper.logOnCreate() : Table locationsCREATE TABLE locations(_id integer primary key autoincrement,uuid text not null,display text,name text,description text,address1 text,address2 text,city text,state text,country text,postalCode text,parentLocationUuid text); ver.9 created
03-10 16:16:55.910 D/OpenMRS ( 5479): #43 LocationDAO.deleteAllLocations() : All Locations deleted
03-10 16:17:35.364 D/OpenMRS ( 5479): #64 OpenMRSLogger.<init>() : Start logging to file
03-10 16:17:35.445 D/OpenMRS ( 5479): #64 OpenMRSLogger.<init>() : Start logging to file
03-10 16:17:35.558 E/OpenMRS ( 5479): #48 OpenMRSLogger$1.uncaughtException() : Uncaught exception is:
03-10 16:17:35.558 E/OpenMRS ( 5479): java.lang.RuntimeException: Unable to start activity ComponentInfo{org.openmrs.mobile/org.openmrs.mobile.activities.addeditpatient.AddEditPatientActivity}: android.view.InflateException: Binary XML file line #68: Binary XML file line #68: Error inflating class android.support.design.widget.FloatingActionButton
03-10 16:17:35.558 E/OpenMRS ( 5479): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2699)
03-10 16:17:35.558 E/OpenMRS ( 5479): at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2766)
03-10 16:17:35.558 E/OpenMRS ( 5479): at android.app.ActivityThread.-wrap12(ActivityThread.java)
03-10 16:17:35.558 E/OpenMRS ( 5479): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1507)
03-10 16:17:35.558 E/OpenMRS ( 5479): at android.os.Handler.dispatchMessage(Handler.java:102)
03-10 16:17:35.558 E/OpenMRS ( 5479): at android.os.Looper.loop(Looper.java:154)
03-10 16:17:35.558 E/OpenMRS ( 5479): at android.app.ActivityThread.main(ActivityThread.java:6236)
03-10 16:17:35.558 E/OpenMRS ( 5479): at java.lang.reflect.Method.invoke(Native Method)
03-10 16:17:35.558 E/OpenMRS ( 5479): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:891)
03-10 16:17:35.558 E/OpenMRS ( 5479): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:781)
03-10 16:17:35.558 E/OpenMRS ( 5479): Caused by: android.view.InflateException: Binary XML file line #68: Binary XML file line #68: Error inflating class android.support.design.widget.FloatingActionButton
03-10 16:17:35.558 E/OpenMRS ( 5479): Caused by: android.view.InflateException: Binary XML file line #68: Error inflating class android.support.design.widget.FloatingActionButton
03-10 16:17:35.558 E/OpenMRS ( 5479): Caused by: java.lang.ClassNotFoundException: Didn't find class "android.support.design.widget.FloatingActionButton" on path: DexPathList[[zip file "/data/app/org.openmrs.mobile-1/base.apk"],nativeLibraryDirectories=[/data/app/org.openmrs.mobile-1/lib/arm, /data/app/org.openmrs.mobile-1/base.apk!/lib/armeabi-v7a, /system/lib, /vendor/lib]]
03-10 16:17:35.558 E/OpenMRS ( 5479): at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:56)
03-10 16:17:35.558 E/OpenMRS ( 5479): at java.lang.ClassLoader.loadClass(ClassLoader.java:380)
03-10 16:17:35.558 E/OpenMRS ( 5479): at java.lang.ClassLoader.loadClass(ClassLoader.java:312)
03-10 16:17:35.558 E/OpenMRS ( 5479): at android.view.LayoutInflater.createView(LayoutInflater.java:609)
03-10 16:17:35.558 E/OpenMRS ( 5479): at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:787)
03-10 16:17:35.558 E/OpenMRS ( 5479): at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:727)
03-10 16:17:35.558 E/OpenMRS ( 5479): at android.view.LayoutInflater.rInflate(LayoutInflater.java:858)
03-10 16:17:35.558 E/OpenMRS ( 5479): at android.view.LayoutInflater.rInflateChildren(LayoutInflater.java:821)
03-10 16:17:35.558 E/OpenMRS ( 5479): at android.view.LayoutInflater.rInflate(LayoutInflater.java:861)
03-10 16:17:35.558 E/OpenMRS ( 5479): at android.view.LayoutInflater.rInflateChildren(LayoutInflater.java:821)
03-10 16:17:35.558 E/OpenMRS ( 5479): at android.view.LayoutInflater.rInflate(LayoutInflater.java:861)
03-10 16:17:35.558 E/OpenMRS ( 5479): at android.view.LayoutInflater.rInflateChildren(LayoutInflater.java:821)
03-10 16:17:35.558 E/OpenMRS ( 5479): at android.view.LayoutInflater.rInflate(LayoutInflater.java:861)
03-10 16:17:35.558 E/OpenMRS ( 5479): at android.view.LayoutInflater.rInflateChildren(LayoutInflater.java:821)
03-10 16:17:35.558 E/OpenMRS ( 5479): at android.view.LayoutInflater.rInflate(LayoutInflater.java:861)
03-10 16:17:35.558 E/OpenMRS ( 5479): at android.view.LayoutInflater.rInflateChildren(LayoutInflater.java:821)
03-10 16:17:35.558 E/OpenMRS ( 5479): at android.view.LayoutInflater.inflate(LayoutInflater.java:518)
03-10 16:17:35.558 E/OpenMRS ( 5479): at android.view.LayoutInflater.inflate(LayoutInflater.java:426)
03-10 16:17:35.558 E/OpenMRS ( 5479): at org.openmrs.mobile.activities.addeditpatient.AddEditPatientFragment.onCreateView(AddEditPatientFragment.java:155)
03-10 16:17:35.558 E/OpenMRS ( 5479): at androidx.fragment.app.Fragment.performCreateView(Fragment.java:2439)
03-10 16:17:35.558 E/OpenMRS ( 5479): at androidx.fragment.app.FragmentManagerImpl.moveToState(FragmentManager.java:1460)
03-10 16:17:35.558 E/OpenMRS ( 5479): at androidx.fragment.app.FragmentManagerImpl.moveFragmentToExpectedState(FragmentManager.java:1784)
03-10 16:17:35.558 E/OpenMRS ( 5479): at androidx.fragment.app.FragmentManagerImpl.moveToState(FragmentManager.java:1852)
03-10 16:17:35.558 E/OpenMRS ( 5479): at androidx.fragment.app.BackStackRecord.executeOps(BackStackRecord.java:802)
03-10 16:17:35.558 E/OpenMRS ( 5479): at androidx.fragment.app.FragmentManagerImpl.executeOps(FragmentManager.java:2625)
03-10 16:17:35.558 E/OpenMRS ( 5479): at androidx.fragment.app.FragmentManagerImpl.executeOpsTogether(FragmentManager.java:2411)
03-10 16:17:35.558 E/OpenMRS ( 5479): at androidx.fragment.app.FragmentManagerImpl.removeRedundantOperationsAndExecute(FragmentManager.java:2366)
03-10 16:17:35.558 E/OpenMRS ( 5479): at androidx.fragment.app.FragmentManagerImpl.execPendingActions(FragmentManager.java:2273)
03-10 16:17:35.558 E/OpenMRS ( 5479): at androidx.fragment.app.FragmentManagerImpl.dispatchStateChange(FragmentManager.java:3273)
03-10 16:17:35.558 E/OpenMRS ( 5479): at androidx.fragment.app.FragmentManagerImpl.dispatchActivityCreated(FragmentManager.java:3229)
03-10 16:17:35.558 E/OpenMRS ( 5479): at androidx.fragment.app.FragmentController.dispatchActivityCreated(FragmentController.java:201)
03-10 16:17:35.558 E/OpenMRS ( 5479): at androidx.fragment.app.FragmentActivity.onStart(FragmentActivity.java:620)
03-10 16:17:35.558 E/OpenMRS ( 5479): at androidx.appcompat.app.AppCompatActivity.onStart(AppCompatActivity.java:178)
03-10 16:17:35.558 E/OpenMRS ( 5479): at android.app.Instrumentation.callActivityOnStart(Instrumentation.java:1249)
03-10 16:17:35.558 E/OpenMRS ( 5479): at android.app.Activity.performStart(Activity.java:6701)
03-10 16:17:35.558 E/OpenMRS ( 5479): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2662)
03-10 16:17:35.558 E/OpenMRS ( 5479): at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2766)
03-10 16:17:35.558 E/OpenMRS ( 5479): at android.app.ActivityThread.-wrap12(ActivityThread.java)
03-10 16:17:35.558 E/OpenMRS ( 5479): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1507)
03-10 16:17:35.558 E/OpenMRS ( 5479): at android.os.Handler.dispatchMessage(Handler.java:102)
03-10 16:17:35.558 E/OpenMRS ( 5479): at android.os.Looper.loop(Looper.java:154)
03-10 16:17:35.558 E/OpenMRS ( 5479): at android.app.ActivityThread.main(ActivityThread.java:6236)
03-10 16:17:35.558 E/OpenMRS ( 5479): at java.lang.reflect.Method.invoke(Native Method)
03-10 16:17:35.558 E/OpenMRS ( 5479): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:891)
03-10 16:17:35.558 E/OpenMRS ( 5479): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:781)
03-10 16:17:35.632 E/OpenMRS ( 5479): #48 OpenMRSLogger$1.uncaughtException() : Uncaught exception is:
03-10 16:17:35.632 E/OpenMRS ( 5479): java.lang.RuntimeException: Unable to start activity ComponentInfo{org.openmrs.mobile/org.openmrs.mobile.activities.addeditpatient.AddEditPatientActivity}: android.view.InflateException: Binary XML file line #68: Binary XML file line #68: Error inflating class android.support.design.widget.FloatingActionButton
03-10 16:17:35.632 E/OpenMRS ( 5479): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2699)
03-10 16:17:35.632 E/OpenMRS ( 5479): at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2766)
03-10 16:17:35.632 E/OpenMRS ( 5479): at android.app.ActivityThread.-wrap12(ActivityThread.java)
03-10 16:17:35.632 E/OpenMRS ( 5479): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1507)
03-10 16:17:35.632 E/OpenMRS ( 5479): at android.os.Handler.dispatchMessage(Handler.java:102)
03-10 16:17:35.632 E/OpenMRS ( 5479): at android.os.Looper.loop(Looper.java:154)
03-10 16:17:35.632 E/OpenMRS ( 5479): at android.app.ActivityThread.main(ActivityThread.java:6236)
03-10 16:17:35.632 E/OpenMRS ( 5479): at java.lang.reflect.Method.invoke(Native Method)
03-10 16:17:35.632 E/OpenMRS ( 5479): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:891)
03-10 16:17:35.632 E/OpenMRS ( 5479): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:781)
03-10 16:17:35.632 E/OpenMRS ( 5479): Caused by: android.view.InflateException: Binary XML file line #68: Binary XML file line #68: Error inflating class android.support.design.widget.FloatingActionButton
03-10 16:17:35.632 E/OpenMRS ( 5479): Caused by: android.view.InflateException: Binary XML file line #68: Error inflating class android.support.design.widget.FloatingActionButton
03-10 16:17:35.632 E/OpenMRS ( 5479): Caused by: java.lang.ClassNotFoundException: Didn't find class "android.support.design.widget.FloatingActionButton" on path: DexPathList[[zip file "/data/app/org.openmrs.mobile-1/base.apk"],nativeLibraryDirectories=[/data/app/org.openmrs.mobile-1/lib/arm, /data/app/org.openmrs.mobile-1/base.apk!/lib/armeabi-v7a, /system/lib, /vendor/lib]]
03-10 16:17:35.632 E/OpenMRS ( 5479): at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:56)
03-10 16:17:35.632 E/OpenMRS ( 5479): at java.lang.ClassLoader.loadClass(ClassLoader.java:380)
03-10 16:17:35.632 E/OpenMRS ( 5479): at java.lang.ClassLoader.loadClass(ClassLoader.java:312)
03-10 16:17:35.632 E/OpenMRS ( 5479): at android.view.LayoutInflater.createView(LayoutInflater.java:609)
03-10 16:17:35.632 E/OpenMRS ( 5479): at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:787)
03-10 16:17:35.632 E/OpenMRS ( 5479): at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:727)
03-10 16:17:35.632 E/OpenMRS ( 5479): at android.view.LayoutInflater.rInflate(LayoutInflater.java:858)
03-10 16:17:35.632 E/OpenMRS ( 5479): at android.view.LayoutInflater.rInflateChildren(LayoutInflater.java:821)
03-10 16:17:35.632 E/OpenMRS ( 5479): at android.view.LayoutInflater.rInflate(LayoutInflater.java:861)
03-10 16:17:35.632 E/OpenMRS ( 5479): at android.view.LayoutInflater.rInflateChildren(LayoutInflater.java:821)
03-10 16:17:35.632 E/OpenMRS ( 5479): at android.view.LayoutInflater.rInflate(LayoutInflater.java:861)
03-10 16:17:35.632 E/OpenMRS ( 5479): at android.view.LayoutInflater.rInflateChildren(LayoutInflater.java:821)
03-10 16:17:35.632 E/OpenMRS ( 5479): at android.view.LayoutInflater.rInflate(LayoutInflater.java:861)
03-10 16:17:35.632 E/OpenMRS ( 5479): at android.view.LayoutInflater.rInflateChildren(LayoutInflater.java:821)
03-10 16:17:35.632 E/OpenMRS ( 5479): at android.view.LayoutInflater.rInflate(LayoutInflater.java:861)
03-10 16:17:35.632 E/OpenMRS ( 5479): at android.view.LayoutInflater.rInflateChildren(LayoutInflater.java:821)
03-10 16:17:35.632 E/OpenMRS ( 5479): at android.view.LayoutInflater.inflate(LayoutInflater.java:518)
03-10 16:17:35.632 E/OpenMRS ( 5479): at android.view.LayoutInflater.inflate(LayoutInflater.java:426)
03-10 16:17:35.632 E/OpenMRS ( 5479): at org.openmrs.mobile.activities.addeditpatient.AddEditPatientFragment.onCreateView(AddEditPatientFragment.java:155)
03-10 16:17:35.632 E/OpenMRS ( 5479): at androidx.fragment.app.Fragment.performCreateView(Fragment.java:2439)
03-10 16:17:35.632 E/OpenMRS ( 5479): at androidx.fragment.app.FragmentManagerImpl.moveToState(FragmentManager.java:1460)
03-10 16:17:35.632 E/OpenMRS ( 5479): at androidx.fragment.app.FragmentManagerImpl.moveFragmentToExpectedState(FragmentManager.java:1784)
03-10 16:17:35.632 E/OpenMRS ( 5479): at androidx.fragment.app.FragmentManagerImpl.moveToState(FragmentManager.java:1852)
03-10 16:17:35.632 E/OpenMRS ( 5479): at androidx.fragment.app.BackStackRecord.executeOps(BackStackRecord.java:802)
03-10 16:17:35.632 E/OpenMRS ( 5479): at androidx.fragment.app.FragmentManagerImpl.executeOps(FragmentManager.java:2625)
03-10 16:17:35.632 E/OpenMRS ( 5479): at androidx.fragment.app.FragmentManagerImpl.executeOpsTogether(FragmentManager.java:2411)
03-10 16:17:35.632 E/OpenMRS ( 5479): at androidx.fragment.app.FragmentManagerImpl.removeRedundantOperationsAndExecute(FragmentManager.java:2366)
03-10 16:17:35.632 E/OpenMRS ( 5479): at androidx.fragment.app.FragmentManagerImpl.execPendingActions(FragmentManager.java:2273)
03-10 16:17:35.632 E/OpenMRS ( 5479): at androidx.fragment.app.FragmentManagerImpl.dispatchStateChange(FragmentManager.java:3273)
03-10 16:17:35.632 E/OpenMRS ( 5479): at androidx.fragment.app.FragmentManagerImpl.dispatchActivityCreated(FragmentManager.java:3229)
03-10 16:17:35.633 E/OpenMRS ( 5479): at androidx.fragment.app.FragmentController.dispatchActivityCreated(FragmentController.java:201)
03-10 16:17:35.633 E/OpenMRS ( 5479): at androidx.fragment.app.FragmentActivity.onStart(FragmentActivity.java:620)
03-10 16:17:35.633 E/OpenMRS ( 5479): at androidx.appcompat.app.AppCompatActivity.onStart(AppCompatActivity.java:178)
03-10 16:17:35.633 E/OpenMRS ( 5479): at android.app.Instrumentation.callActivityOnStart(Instrumentation.java:1249)
03-10 16:17:35.633 E/OpenMRS ( 5479): at android.app.Activity.performStart(Activity.java:6701)
03-10 16:17:35.633 E/OpenMRS ( 5479): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2662)
03-10 16:17:35.633 E/OpenMRS ( 5479): at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2766)
03-10 16:17:35.633 E/OpenMRS ( 5479): at android.app.ActivityThread.-wrap12(ActivityThread.java)
03-10 16:17:35.633 E/OpenMRS ( 5479): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1507)
03-10 16:17:35.633 E/OpenMRS ( 5479): at android.os.Handler.dispatchMessage(Handler.java:102)
03-10 16:17:35.633 E/OpenMRS ( 5479): at android.os.Looper.loop(Looper.java:154)
03-10 16:17:35.633 E/OpenMRS ( 5479): at android.app.ActivityThread.main(ActivityThread.java:6236)
03-10 16:17:35.633 E/OpenMRS ( 5479): at java.lang.reflect.Method.invoke(Native Method)
03-10 16:17:35.633 E/OpenMRS ( 5479): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:891)
03-10 16:17:35.633 E/OpenMRS ( 5479): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:781)
03-10 16:17:35.698 D/OpenMRS ( 5479): #64 OpenMRSLogger.<init>() : Start logging to file
03-10 16:17:36.547 D/OpenMRS ( 5774): #64 OpenMRSLogger.<init>() : Start logging to file
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment