码迷,mamicode.com
首页 > 移动开发 > 详细

java.lang.StackOverflowError at com.fivehundredpx.android.blur.BlurringView

时间:2015-05-12 21:04:05      阅读:166      评论:0      收藏:0      [点我收藏+]

标签:

http://androidren.com/index.php?qa=319&qa_1=stackoverflowerror-fivehundredpx-android-blurringview

当使用500px的BlurringView时,如果把BlurringView放到Blurred view的子View级别,那么就会发生栈溢出错误。
解决办法就是将Blurred view放在同级别。
错误信息如下:
 
05-12 20:23:04.652  14021-14021/com.forlong401.xxx E/AndroidRuntime﹕ FATAL EXCEPTION: main
    Process: com.forlong401.xxx, PID: 14021
    java.lang.StackOverflowError
            at com.fivehundredpx.android.blur.BlurringView.prepare(BlurringView.java:126)
            at com.fivehundredpx.android.blur.BlurringView.onDraw(BlurringView.java:78)
            at android.view.View.draw(View.java:14467)
            at android.view.View.draw(View.java:14352)
            at android.view.ViewGroup.drawChild(ViewGroup.java:3103)
            at android.view.ViewGroup.dispatchDraw(ViewGroup.java:2940)
            at android.view.View.draw(View.java:14470)
            at com.fivehundredpx.android.blur.BlurringView.onDraw(BlurringView.java:88)
            at android.view.View.draw(View.java:14467)
            at android.view.View.draw(View.java:14352)
            at android.view.ViewGroup.drawChild(ViewGroup.java:3103)
            at android.view.ViewGroup.dispatchDraw(ViewGroup.java:2940)
            at android.view.View.draw(View.java:14470)
            at com.fivehundredpx.android.blur.BlurringView.onDraw(BlurringView.java:88)
            at android.view.View.draw(View.java:14467)
            at android.view.View.draw(View.java:14352)
            at android.view.ViewGroup.drawChild(ViewGroup.java:3103)
            at android.view.ViewGroup.dispatchDraw(ViewGroup.java:2940)
            at android.view.View.draw(View.java:14470)

java.lang.StackOverflowError at com.fivehundredpx.android.blur.BlurringView

标签:

原文地址:http://blog.csdn.net/forlong401/article/details/45674617

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!