Last active
January 21, 2020 09:26
-
-
Save davidmigloz/a354f262c5433dacc5d76d64dffec509 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
E/AndroidRuntime: FATAL EXCEPTION: main | |
Process: com.example, PID: 23914 | |
java.lang.RuntimeException: Unable to start activity ComponentInfo{com.example/com.example.MainActivity}: android.view.InflateException: Binary XML file line #17 in com.example:layout/abc_screen_simple: Binary XML file line #17 in com.example:layout/abc_screen_simple: Error inflating class androidx.appcompat.widget.FitWindowsLinearLayout | |
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:3270) | |
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:3409) | |
at android.app.servertransaction.LaunchActivityItem.execute(LaunchActivityItem.java:83) | |
at android.app.servertransaction.TransactionExecutor.executeCallbacks(TransactionExecutor.java:135) | |
at android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:95) | |
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2016) | |
at android.os.Handler.dispatchMessage(Handler.java:107) | |
at android.os.Looper.loop(Looper.java:214) | |
at android.app.ActivityThread.main(ActivityThread.java:7356) | |
at java.lang.reflect.Method.invoke(Native Method) | |
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:492) | |
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:930) | |
Caused by: android.view.InflateException: Binary XML file line #17 in com.example:layout/abc_screen_simple: Binary XML file line #17 in com.example:layout/abc_screen_simple: Error inflating class androidx.appcompat.widget.FitWindowsLinearLayout | |
Caused by: android.view.InflateException: Binary XML file line #17 in com.example:layout/abc_screen_simple: Error inflating class androidx.appcompat.widget.FitWindowsLinearLayout | |
Caused by: java.lang.NullPointerException: Attempt to invoke virtual method 'java.lang.Object java.lang.reflect.Field.get(java.lang.Object)' on a null object reference | |
at uk.co.chrisjenx.calligraphy.ReflectionUtils.getValue(ReflectionUtils.java:29) | |
at uk.co.chrisjenx.calligraphy.CalligraphyLayoutInflater.createCustomViewInternal(CalligraphyLayoutInflater.java:203) | |
at uk.co.chrisjenx.calligraphy.CalligraphyLayoutInflater.access$000(CalligraphyLayoutInflater.java:20) | |
at uk.co.chrisjenx.calligraphy.CalligraphyLayoutInflater$PrivateWrapperFactory2.onCreateView(CalligraphyLayoutInflater.java:302) | |
at android.view.LayoutInflater$FactoryMerger.onCreateView(LayoutInflater.java:239) | |
at android.view.LayoutInflater.tryCreateView(LayoutInflater.java:1069) | |
at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:997) | |
at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:961) | |
at android.view.LayoutInflater.inflate(LayoutInflater.java:659) | |
at uk.co.chrisjenx.calligraphy.CalligraphyLayoutInflater.inflate(CalligraphyLayoutInflater.java:60) | |
at android.view.LayoutInflater.inflate(LayoutInflater.java:534) | |
at android.view.LayoutInflater.inflate(LayoutInflater.java:481) | |
at androidx.appcompat.app.AppCompatDelegateImpl.createSubDecor(AppCompatDelegateImpl.java:773) | |
at androidx.appcompat.app.AppCompatDelegateImpl.ensureSubDecor(AppCompatDelegateImpl.java:659) | |
at androidx.appcompat.app.AppCompatDelegateImpl.setContentView(AppCompatDelegateImpl.java:552) | |
at androidx.appcompat.app.AppCompatActivity.setContentView(AppCompatActivity.java:161) | |
at androidx.databinding.DataBindingUtil.setContentView(DataBindingUtil.java:303) | |
at androidx.databinding.DataBindingUtil.setContentView(DataBindingUtil.java:284) | |
at com.example.MainActivity.onCreate(SplashActivity.kt:33) | |
at android.app.Activity.performCreate(Activity.java:7825) | |
at android.app.Activity.performCreate(Activity.java:7814) | |
at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1306) | |
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:3245) | |
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:3409) | |
at android.app.servertransaction.LaunchActivityItem.execute(LaunchActivityItem.java:83) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment