java.lang.Throwable: setStateLocked

Hot problem!
This exception has a lot of traffic. You can help 11 users by writing a short tip.

Solutions on the web14

Solution icon of stackoverflow
via Stack Overflow by Achin
, 1 year ago
setStateLocked

Solution icon of web
via zhihu.com by Unknown author, 1 year ago
setStateLocked

Solution icon of stackoverflow
via Stack Overflow by HeatKai C
, 1 year ago
The owner protected this stack trace.

Solution icon of stackoverflow
setStateLocked

Solution icon of github
setStateLocked

Solution icon of stackoverflow
setStateLocked

Solution icon of stackoverflow
via Stack Overflow by Christine Jade Saturno Padullo
, 11 months ago
setStateLocked

Solution icon of stackoverflow
via Stack Overflow by Senator
, 9 months ago
setStateLocked

Solution icon of github
setStateLocked

Solution icon of stackoverflow
setStateLocked

Stack trace

java.lang.Throwable: setStateLocked
	at android.view.accessibility.AccessibilityManager.setStateLocked(AccessibilityManager.java:553)
	at android.view.accessibility.AccessibilityManager.tryConnectToServiceLocked(AccessibilityManager.java:636)
	at android.view.accessibility.AccessibilityManager.<init>(AccessibilityManager.java:226)
	at android.view.accessibility.AccessibilityManager.getInstance(AccessibilityManager.java:206)
	at android.view.View.setFlags(View.java:9874)
	at android.view.View.<init>(View.java:4228)
	at android.view.ViewGroup.<init>(ViewGroup.java:524)
	at android.widget.LinearLayout.<init>(LinearLayout.java:215)
	at android.widget.LinearLayout.<init>(LinearLayout.java:211)
	at android.widget.LinearLayout.<init>(LinearLayout.java:206)
	at android.support.v7.widget.FitWindowsLinearLayout.<init>(FitWindowsLinearLayout.java:36)
	at java.lang.reflect.Constructor.newInstance(Native Method)
	at java.lang.reflect.Constructor.newInstance(Constructor.java:288)
	at android.view.LayoutInflater.createView(LayoutInflater.java:607)
	at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:743)
	at android.view.LayoutInflater.inflate(LayoutInflater.java:482)
	at android.view.LayoutInflater.inflate(LayoutInflater.java:414)
	at android.view.LayoutInflater.inflate(LayoutInflater.java:365)
	at android.support.v7.app.AppCompatDelegateImplV7.createSubDecor(AppCompatDelegateImplV7.java:413)
	at android.support.v7.app.AppCompatDelegateImplV7.ensureSubDecor(AppCompatDelegateImplV7.java:309)
	at android.support.v7.app.AppCompatDelegateImplV7.setContentView(AppCompatDelegateImplV7.java:273)
	at android.support.v7.app.AppCompatActivity.setContentView(AppCompatActivity.java:136)
	at competent.groove.swalok.MainActivity.onCreate(MainActivity.java:116)
	at android.app.Activity.performCreate(Activity.java:6220)
	at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1112)
	at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2513)
	at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2646)
	at android.app.ActivityThread.access$800(ActivityThread.java:182)
	at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1488)
	at android.os.Handler.dispatchMessage(Handler.java:111)
	at android.os.Looper.loop(Looper.java:194)
	at android.app.ActivityThread.main(ActivityThread.java:5763)
	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:960)
	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:755)

Write tip

You have a different solution? A short tip here would help you and many other users who saw this issue last week.

Users with the same issue

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