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.

java.lang.IllegalArgumentException: parameter must be a descendant of this view

See original GitHub issue

I just update the lib to latest version and now setupWith is requiring ViewGroup, so i cast it to ViewGroup but it’s crashing now. Do i need more than that? thanks. java.lang.IllegalArgumentException: parameter must be a descendant of this view at android.view.ViewGroup.offsetRectBetweenParentAndChild(ViewGroup.java:5459) at android.view.ViewGroup.offsetDescendantRectToMyCoords(ViewGroup.java:5388) at eightbitlab.com.blurview.BlockingBlurController.setupInternalCanvasMatrix(BlockingBlurController.java:175) at eightbitlab.com.blurview.BlockingBlurController.drawBlurredContent(BlockingBlurController.java:207) at eightbitlab.com.blurview.BlurView.draw(BlurView.java:57) at android.view.View.updateDisplayListIfDirty(View.java:16167) at android.view.View.draw(View.java:16951) at android.view.ViewGroup.drawChild(ViewGroup.java:3727) at android.view.ViewGroup.dispatchDraw(ViewGroup.java:3513) at android.view.View.draw(View.java:17188) at android.view.View.updateDisplayListIfDirty(View.java:16167) at android.view.View.draw(View.java:16951) at android.view.ViewGroup.drawChild(ViewGroup.java:3727) at android.view.ViewGroup.dispatchDraw(ViewGroup.java:3513) at android.view.View.updateDisplayListIfDirty(View.java:16162) at android.view.View.draw(View.java:16951) at android.view.ViewGroup.drawChild(ViewGroup.java:3727) at android.view.ViewGroup.dispatchDraw(ViewGroup.java:3513) at android.view.View.updateDisplayListIfDirty(View.java:16162) at android.view.View.draw(View.java:16951) at android.view.ViewGroup.drawChild(ViewGroup.java:3727) at android.view.ViewGroup.dispatchDraw(ViewGroup.java:3513) at android.view.View.draw(View.java:17188) at com.android.internal.policy.DecorView.draw(DecorView.java:753) at android.view.View.updateDisplayListIfDirty(View.java:16167) at android.view.ThreadedRenderer.updateViewTreeDisplayList(ThreadedRenderer.java:648) at android.view.ThreadedRenderer.updateRootDisplayList(ThreadedRenderer.java:654) at android.view.ThreadedRenderer.draw(ThreadedRenderer.java:762) at android.view.ViewRootImpl.draw(ViewRootImpl.java:2800) at android.view.ViewRootImpl.performDraw(ViewRootImpl.java:2608) at android.view.ViewRootImpl.performTraversals(ViewRootImpl.java:2215) at android.view.ViewRootImpl.doTraversal(ViewRootImpl.java:1254) at android.view.ViewRootImpl$TraversalRunnable.run(ViewRootImpl.java:6337) at android.view.Choreographer$CallbackRecord.run(Choreographer.java:874) at android.view.Choreographer.doCallbacks(Choreographer.java:686) at android.view.Choreographer.doFrame(Choreographer.java:621) at android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:860) at android.os.Handler.handleCallback(Handler.java:751) at android.os.Handler.dispatchMessage(Handler.java:95) at android.os.Looper.loop(Looper.java:153) at android.app.ActivityThread.main(ActivityThread.java:6194) at java.lang.reflect.Method.invoke(Native Method) at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:893) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:783)

Issue Analytics

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

github_iconTop GitHub Comments

2reactions
Dimeziscommented, Apr 3, 2017

Ok, thanks, I’ll try to sort this out soon

0reactions
ivaniskandarcommented, Apr 5, 2017

Thanks! it works now

Read more comments on GitHub >

github_iconTop Results From Across the Web

parameter must be a descendant of this view" error - Stack ...
The problem is that this exception is thrown outside of any block in which I can insert a try/catch (as far as I...
Read more >
Fatal Exception: parameter must be a descendant of this view ...
Description I'm having a lot of crashes on Crashlytics related to ReactScrollView.java line 218 on Android. The crashes appears first time ...
Read more >
"parameter must be a descendant of this view" crash using ...
I can't reproduce this crash on my devices, but I can see the error on the live projects. Here's the stacktrace: "Caused by...
Read more >
parameter must be a descendant of this vie - YouTube
Android : Appcompat " java. lang. IllegalArgumentException : parameter must be a descendant of this view " in ViewGroup.
Read more >
java.lang.IllegalArgumentException: parameter must be a ...
java.lang.IllegalArgumentException: parameter must be a descendant of this view at android.view.ViewGroup.offsetRectBetweenParentAndChild(ViewGroup.java).
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