question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[Slider] internal IllegalStateException

See original GitHub issue

device: Huawei HUAWEI Y6 Pro 2019 (HWMRD-M1), 2816MB RAM, Android 9 material lib version: “1.3.0-alpha01” Stacktrace from Play console (I can’t reproduce it):

java.lang.IllegalStateException: 
  at com.google.android.material.slider.BaseSlider.c (BaseSlider.java:38)
  at com.google.android.material.slider.BaseSlider.validateConfigurationIfDirty (BaseSlider.java:4)
  at com.google.android.material.slider.BaseSlider.onDraw (BaseSlider.java:5)
  at android.view.View.draw (View.java:20483)
  at android.view.View.updateDisplayListIfDirty (View.java:19294)
  at android.view.View.draw (View.java:20211)
  at android.view.ViewGroup.drawChild (ViewGroup.java:4394)
  at android.view.ViewGroup.dispatchDraw (ViewGroup.java:4170)
  at android.view.View.updateDisplayListIfDirty (View.java:19285)
  at android.view.View.draw (View.java:20211)
  at android.view.ViewGroup.drawChild (ViewGroup.java:4394)
  at android.view.ViewGroup.dispatchDraw (ViewGroup.java:4170)
  at android.view.View.draw (View.java:20486)
  at android.view.View.updateDisplayListIfDirty (View.java:19294)
  at android.view.View.draw (View.java:20211)
  at android.view.ViewGroup.drawChild (ViewGroup.java:4394)
  at android.view.ViewGroup.dispatchDraw (ViewGroup.java:4170)
  at android.view.View.updateDisplayListIfDirty (View.java:19285)
  at android.view.View.draw (View.java:20211)
  at android.view.ViewGroup.drawChild (ViewGroup.java:4394)
  at android.view.ViewGroup.dispatchDraw (ViewGroup.java:4170)
  at android.view.View.updateDisplayListIfDirty (View.java:19285)
  at android.view.View.draw (View.java:20211)
  at android.view.ViewGroup.drawChild (ViewGroup.java:4394)
  at android.view.ViewGroup.dispatchDraw (ViewGroup.java:4170)
  at android.view.View.draw (View.java:20486)
  at android.widget.ScrollView.draw (ScrollView.java:1790)
  at android.view.View.updateDisplayListIfDirty (View.java:19294)
  at android.view.View.draw (View.java:20211)
  at android.view.ViewGroup.drawChild (ViewGroup.java:4394)
  at android.view.ViewGroup.dispatchDraw (ViewGroup.java:4170)
  at android.view.View.updateDisplayListIfDirty (View.java:19285)
  at android.view.View.draw (View.java:20211)
  at android.view.ViewGroup.drawChild (ViewGroup.java:4394)
  at android.view.ViewGroup.dispatchDraw (ViewGroup.java:4170)
  at android.view.View.updateDisplayListIfDirty (View.java:19285)
  at android.view.View.draw (View.java:20211)
  at android.view.ViewGroup.drawChild (ViewGroup.java:4394)
  at androidx.drawerlayout.widget.DrawerLayout.drawChild (DrawerLayout.java:95)
  at android.view.ViewGroup.dispatchDraw (ViewGroup.java:4170)
  at android.view.View.draw (View.java:20486)
  at android.view.View.updateDisplayListIfDirty (View.java:19294)
  at android.view.View.draw (View.java:20211)
  at android.view.ViewGroup.drawChild (ViewGroup.java:4394)
  at android.view.ViewGroup.dispatchDraw (ViewGroup.java:4170)
  at android.view.View.updateDisplayListIfDirty (View.java:19285)
  at android.view.View.draw (View.java:20211)
  at android.view.ViewGroup.drawChild (ViewGroup.java:4394)
  at android.view.ViewGroup.dispatchDraw (ViewGroup.java:4170)
  at android.view.View.updateDisplayListIfDirty (View.java:19285)
  at android.view.View.draw (View.java:20211)
  at android.view.ViewGroup.drawChild (ViewGroup.java:4394)
  at android.view.ViewGroup.dispatchDraw (ViewGroup.java:4170)
  at android.view.View.updateDisplayListIfDirty (View.java:19285)
  at android.view.View.draw (View.java:20211)
  at android.view.ViewGroup.drawChild (ViewGroup.java:4394)
  at android.view.ViewGroup.dispatchDraw (ViewGroup.java:4170)
  at android.view.View.updateDisplayListIfDirty (View.java:19285)
  at android.view.View.draw (View.java:20211)
  at android.view.ViewGroup.drawChild (ViewGroup.java:4394)
  at android.view.ViewGroup.dispatchDraw (ViewGroup.java:4170)
  at android.view.View.draw (View.java:20486)
  at com.android.internal.policy.DecorView.draw (DecorView.java:928)
  at android.view.View.updateDisplayListIfDirty (View.java:19294)
  at android.view.ThreadedRenderer.updateViewTreeDisplayList (ThreadedRenderer.java:740)
  at android.view.ThreadedRenderer.updateRootDisplayList (ThreadedRenderer.java:746)
  at android.view.ThreadedRenderer.draw (ThreadedRenderer.java:861)
  at android.view.ViewRootImpl.draw (ViewRootImpl.java:3586)
  at android.view.ViewRootImpl.performDraw (ViewRootImpl.java:3382)
  at android.view.ViewRootImpl.performTraversals (ViewRootImpl.java:2714)
  at android.view.ViewRootImpl.doTraversal (ViewRootImpl.java:1636)
  at android.view.ViewRootImpl$TraversalRunnable.run (ViewRootImpl.java:7946)
  at android.view.Choreographer$CallbackRecord.run (Choreographer.java:1092)
  at android.view.Choreographer.doCallbacks (Choreographer.java:893)
  at android.view.Choreographer.doFrame (Choreographer.java:812)
  at android.view.Choreographer$FrameDisplayEventReceiver.run (Choreographer.java:1078)
  at android.os.Handler.handleCallback (Handler.java:907)
  at android.os.Handler.dispatchMessage (Handler.java:105)
  at android.os.Looper.loop (Looper.java:216)
  at android.app.ActivityThread.main (ActivityThread.java:7625)
  at java.lang.reflect.Method.invoke (Method.java)
  at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run (RuntimeInit.java:524)
  at com.android.internal.os.ZygoteInit.main (ZygoteInit.java:987)

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:6 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
palickacommented, Jul 22, 2020

@matpag I do it every time. it’s strange there was no reference to my part of the code in stack trace , that’s why I created this issue…

0reactions
matpagcommented, Jul 22, 2020

@palicka Next release you upload on Google Play remember to add the mapping.txt to be able to read the de-obfuscated stacktrace 😃

Read more comments on GitHub >

github_iconTop Results From Across the Web

[Slider] IllegalStateException validateValues #1290 - GitHub
As it states in the title it's crashing randomly in a few devices. I can't reproduce on all my ~20 devices with different...
Read more >
java.lang.IllegalStateException: RandomList must be attached ...
I downloaded Sliding Menu library and Actionsbarsherlock from Links, I found out example of it from example, which had an YouTube video link...
Read more >
Bug 761929 - java.lang.IllegalStateException - Bugzilla@Mozilla
I checked some crashes with this signature in 14.0.1 and none of them has a stack trace containing com.android.internal.policy.impl.PhoneWindow.openPanel, so a ...
Read more >
AccessibilityNodeInfo - Android Developers
IllegalStateException, If called from an AccessibilityService. ... (This is typically implemented by converting the internal address of the object into an ...
Read more >
Java crash caused by Toast [71731536] - Issue Tracker - Google
Seen a crash report on a Pixel XL running Android Pie: java.lang.IllegalStateException: View android.widget.LinearLayout{80a2a35 V.E...... ......ID ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found