java.lang.RuntimeException: Unable to start activity ComponentInfo{com.jhalmurilab.nsugenie/com.jhalmurilab.nsugenie.totalcgpa.TotalCgpa}: android.view.InflateException: Binary XML file line #119: Error inflating class Button

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 Jubayer
, 11 months ago
Unable to start activity ComponentInfo{com.jhalmurilab.nsugenie/com.jhalmurilab.nsugenie.totalcgpa.TotalCgpa}: android.view.InflateException: Binary XML file line #119: Error inflating class Button
via Stack Overflow by MARM
, 9 months ago
Unable to start activity ComponentInfo{*}: android.view.InflateException: Binary XML file line #102: Error inflating class Button
via Stack Overflow by Yourange
, 2 years ago
Unable to start activity ComponentInfo{com.application.camera.api/com.application.camera.api.MakePhotoActivity}: android.view.InflateException: Binary XML file line #6: Error inflating class button
via Stack Overflow by Gurjit
, 2 years ago
Unable to start activity ComponentInfo{www.gurjit.taskmanager/www.gurjit.taskmanager.MainActivity}: android.view.InflateException: Binary XML file line #29: Error inflating class button
via Stack Overflow by Frustrated_Scotsman
, 2 years ago
Unable to start activity ComponentInfo{com.example.whackachav/com.example.whackachav.HowTo}: android.view.InflateException: Binary XML file line #101: Error inflating class button
via Stack Overflow by krishan
, 1 year ago
Unable to start activity ComponentInfo{com.feelinginhell/com.feelinginhell.MainActivity}: android.view.InflateException: Binary XML file line #20: Error inflating class Button
android.content.res.Resources$NotFoundException: Resource is not a Drawable (color or path): TypedValue{t=0x1/d=0x7f02007f a=-1 r=0x7f02007f}
at android.content.res.Resources.loadDrawable(Resources.java:1932)
at android.content.res.TypedArray.getDrawable(TypedArray.java:601)
at android.view.View.(View.java:3330)
at android.widget.TextView.(TextView.java:590)
at android.widget.Button.(Button.java:107)
at android.support.v7.widget.AppCompatButton.(AppCompatButton.java:66)
at android.support.v7.widget.AppCompatButton.(AppCompatButton.java:62)
at android.support.v7.app.AppCompatViewInflater.createView(AppCompatViewInflater.java:109)
at android.support.v7.app.AppCompatDelegateImplV9.createView(AppCompatDelegateImplV9.java:1021)
at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:675)
at android.view.LayoutInflater.rInflate(LayoutInflater.java:746)
at android.view.LayoutInflater.rInflate(LayoutInflater.java:749)
at android.view.LayoutInflater.rInflate(LayoutInflater.java:749)
at android.view.LayoutInflater.inflate(LayoutInflater.java:489)
at android.view.LayoutInflater.inflate(LayoutInflater.java:396)
at android.view.LayoutInflater.inflate(LayoutInflater.java:352)
at android.support.v7.app.AppCompatDelegateImplV9.setContentView(AppCompatDelegateImplV9.java:288)
at com.jhalmurilab.nsugenie.totalcgpa.TotalCgpa.onCreate(TotalCgpa.java:47)
at android.app.Activity.performCreate(Activity.java:5104)
at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1080)
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2144)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2230)
at android.app.ActivityThread.access$600(ActivityThread.java:141)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1234)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loop(Looper.java:137)
at android.app.ActivityThread.main(ActivityThread.java:5041)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:511)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:793)

Users with the same issue

28 times, 8 months ago
17 times, 9 months ago
7 times, 10 months ago
Once, 1 year ago
Once, 1 year ago

Write tip

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