java.lang.RuntimeException: Unable to start activity ComponentInfo{com.coolappz.FitPartners/com.coolappz.FitPartners.ui.MainActivity}: android.view.InflateException: Binary XML file line #42: Error inflating class com.coolappz.FitPartners.ui.custom.CustomFontEditText

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via Stack Overflow by Tommy Hart'no
, 1 year ago
Unable to start activity ComponentInfo{com.coolappz.FitPartners/com.coolappz.FitPartners.ui.MainActivity}: android.view.InflateException: Binary XML file line #42: Error inflating class com.coolappz.FitPartners.ui.custom.CustomFontEditText
via Stack Overflow by Unknown author, 2 years ago
Unable to start activity ComponentInfo{com.supinfo.tesas/com.supinfo.tesas.Connect}: android.view.InflateException: Binary XML file line #42: Error inflating class fragment
via GitHub by sashk0
, 4 months ago
Unable to start activity ComponentInfo{info.oleksandr.utilitymeter/info.oleksandr.utilitymeter.MainActivity}: android.view.InflateException: Binary XML file line #42: Error inflating class android.support.design.widget.FloatingActionButton
via GitHub by jyh149129
, 1 year ago
Unable to start activity ComponentInfo{xxxx}: android.view.InflateException: Binary XML file line #16: Error inflating class android.support.design.widget.CollapsingToolbarLayout
via GitHub by mpuchala
, 1 year ago
Unable to start activity ComponentInfo{....MainActivity}: android.view.InflateException: Binary XML file line #21: Error inflating class com.mapbox.mapboxsdk.maps.MapView
via GitHub by felixeduardo15
, 10 months ago
Unable to start activity ComponentInfo{}: android.view.InflateException: Binary XML file line #101: Error inflating class eu.fiskur.markdownview.MarkdownView
java.lang.RuntimeException: Unable to start activity ComponentInfo{com.coolappz.FitPartners/com.coolappz.FitPartners.ui.MainActivity}: android.view.InflateException: Binary XML file line #42: Error inflating class com.coolappz.FitPartners.ui.custom.CustomFontEditText
at android.content.res.TypedArray.getColor(TypedArray.java:401)
at android.widget.TextView.(TextView.java:717)
at android.widget.EditText.(EditText.java:65)
at android.widget.EditText.(EditText.java:61)
at android.widget.EditText.(EditText.java:57)
at com.coolappz.FitPartners.ui.custom.CustomFontEditText.(CustomFontEditText.java:18)
at java.lang.reflect.Constructor.newInstance(Native Method)
at android.view.LayoutInflater.createView(LayoutInflater.java:607)
at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:743)
at android.view.LayoutInflater.rInflate(LayoutInflater.java:806)
at android.view.LayoutInflater.rInflate(LayoutInflater.java:809)
at android.view.LayoutInflater.inflate(LayoutInflater.java:504)
at android.view.LayoutInflater.inflate(LayoutInflater.java:414)
at android.view.LayoutInflater.inflate(LayoutInflater.java:365)
at android.support.v7.app.AppCompatDelegateImplV7.setContentView(AppCompatDelegateImplV7.java:276)
at com.coolappz.FitPartners.ui.MainActivity.onCreate(MainActivity.java:165)
at android.app.Activity.performCreate(Activity.java:6018)
at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1105)
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2273)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2380)
at android.app.ActivityThread.access$800(ActivityThread.java:151)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1285)
at android.os.Handler.dispatchMessage(Handler.java:102)
at android.os.Looper.loop(Looper.java:135)
at android.app.ActivityThread.main(ActivityThread.java:5289)
at java.lang.reflect.Method.invoke(Native Method)
at java.lang.reflect.Method.invoke(Method.java:372)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:898)

Users with the same issue

3 times, 2 months ago
Once, 5 months ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
3 more bugmates

Know the solutions? Share your knowledge to help other developers to debug faster.