You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@weex.apache.org by GitBox <gi...@apache.org> on 2020/02/26 10:08:36 UTC

[GitHub] [incubator-weex] SmallJohnSir opened a new issue #3157: 使用vue+weex使用出现,Layer overflow limit error

SmallJohnSir opened a new issue #3157: 使用vue+weex使用出现,Layer overflow limit error
URL: https://github.com/apache/incubator-weex/issues/3157
 
 
   <!--
   Thanks for using Weex. Github Issue is only used for bur report and please follow the template to report the bug. 
   A good bug report should include the following information:
   -->
   
   <!-- Requirements: please go through this checklist before opening a new issue
     - * Review the documentation: https://weex.apache.org/index.html
     - * Search for existing issues: https://github.com/apache/incubator-weex/issues
     - * Use the latest Weex release: https://github.com/apache/incubator-weex/releases -->
   
   
   ## Describe the bug
   <!-- A clear and concise description of what the bug is. -->
   /Layer overflow limit error: java.lang.StackOverflowError
   ## To Reproduce
   <!-- Steps to reproduce the behavior.  Include a MCVE using http://dotwe.org/vue , crash stacktrace or  share your app project. Please follow the guidelines for providing a MCVE: https://stackoverflow.com/help/mcve -->
   使用vue+weex的时候出现,点击时候部分渲染完成,部分没渲染完成,
   想知道报这个错误的原因,是因为div太多层吗
   Layer overflow limit error: java.lang.StackOverflowError
           at com.taobao.weex.ui.view.WXFrameLayout.calLayerDeep(WXFrameLayout.java:160)
           at com.taobao.weex.ui.view.WXFrameLayout.calLayerDeep(WXFrameLayout.java:161)
           at com.taobao.weex.ui.view.WXFrameLayout.calLayerDeep(WXFrameLayout.java:161)
           at com.taobao.weex.ui.view.WXFrameLayout.calLayerDeep(WXFrameLayout.java:161)
           at com.taobao.weex.ui.view.WXFrameLayout.calLayerDeep(WXFrameLayout.java:161)
           at com.taobao.weex.ui.view.WXFrameLayout.calLayerDeep(WXFrameLayout.java:161)
           at com.taobao.weex.ui.view.WXFrameLayout.calLayerDeep(WXFrameLayout.java:161)
           at com.taobao.weex.ui.view.WXFrameLayout.calLayerDeep(WXFrameLayout.java:161)
           at com.taobao.weex.ui.view.WXFrameLayout.calLayerDeep(WXFrameLayout.java:161)
           at com.taobao.weex.ui.view.WXFrameLayout.calLayerDeep(WXFrameLayout.java:161)
           at com.taobao.weex.ui.view.WXFrameLayout.calLayerDeep(WXFrameLayout.java:161)
           at com.taobao.weex.ui.view.WXFrameLayout.calLayerDeep(WXFrameLayout.java:161)
           at com.taobao.weex.ui.view.WXFrameLayout.calLayerDeep(WXFrameLayout.java:161)
           at com.taobao.weex.ui.view.WXFrameLayout.calLayerDeep(WXFrameLayout.java:161)
           at com.taobao.weex.ui.view.WXFrameLayout.reportLayerOverFlowError(WXFrameLayout.java:133)
           at com.taobao.weex.ui.view.WXFrameLayout.dispatchDraw(WXFrameLayout.java:124)
           at android.view.View.draw(View.java:14594)
           at android.widget.FrameLayout.draw(FrameLayout.java:472)
           at android.view.View.getDisplayList(View.java:13488)
           at android.view.View.getDisplayList(View.java:13530)
           at android.view.View.draw(View.java:14308)
           at android.view.ViewGroup.drawChild(ViewGroup.java:3103)
           at android.view.ViewGroup.dispatchDraw(ViewGroup.java:2940)
           at com.taobao.weex.ui.view.WXFrameLayout.dispatchDrawInterval(WXFrameLayout.java:154)
           at com.taobao.weex.ui.view.WXFrameLayout.dispatchDraw(WXFrameLayout.java:116)
           at android.view.View.draw(View.java:14594)
           at android.widget.FrameLayout.draw(FrameLayout.java:472)
           at android.view.View.getDisplayList(View.java:13488)
           at android.view.View.getDisplayList(View.java:13530)
           at android.view.View.draw(View.java:14308)
           at android.view.ViewGroup.drawChild(ViewGroup.java:3103)
           at android.view.ViewGroup.dispatchDraw(ViewGroup.java:2940)
           at com.taobao.weex.ui.view.WXFrameLayout.dispatchDrawInterval(WXFrameLayout.java:154)
           at com.taobao.weex.ui.view.WXFrameLayout.dispatchDraw(WXFrameLayout.java:116)
           at android.view.View.draw(View.java:14594)
           at android.widget.FrameLayout.draw(FrameLayout.java:472)
           at android.view.View.getDisplayList(View.java:13488)
           at android.view.View.getDisplayList(View.java:13530)
           at android.view.View.draw(View.java:14308)
           at android.view.ViewGroup.drawChild(ViewGroup.java:3103)
           at android.view.ViewGroup.dispatchDraw(ViewGroup.java:2940)
           at com.taobao.weex.ui.view.WXFrameLayout.dispatchDrawInterval(WXFrameLayout.java:154)
           at com.taobao.weex.ui.view.WXFrameLayout.dispatchDraw(WXFrameLayout.java:116)
           at android.view.View.draw(View.java:14594)
           at android.widget.FrameLayout.draw(FrameLayout.java:472)
           at android.view.View.getDisplayList(View.java:13488)
           at android.view.View.getDisplayList(View.java:13530)
           at android.view.View.draw(View.java:14308)
           at android.view.ViewGroup.drawChild(ViewGroup.java:3103)
           at android.view.ViewGroup.dispatchDraw(ViewGroup.java:2940)
           at com.taobao.weex.ui.view.WXFrameLayout.dispatchDrawInterval(WXFrameLayout.java:154)
           at com.taobao.weex.ui.view.WXFrameLayout.dispatchDraw(WXFrameLayout.java:116)
           at android.view.View.draw(View.java:14594)
           at android.widget.FrameLayout.draw(FrameLayout.java:472)
           at android.view.View.getDisplayList(View.java:13488)
           at android.view.View.getDisplayList(View.java:13530)
           at android.view.View.draw(View.java:14308)
           at android.view.ViewGroup.drawChild(ViewGroup.java:3103)
           at android.view.ViewGroup.dispatchDraw(ViewGroup.java:2940)
           at com.taobao.weex.ui.view.WXFrameLayout.dispatchDrawInterval(WXFrameLayout.java:154)
           at com.taobao.weex.ui.view.WXFrameLayout.dispatchDraw(WXFrameLayout.java:116)
           at android.view.View.draw(View.java:14594)
       	at
   ## Environment
   <!-- 
   * Device: [e.g. iPhone6]
   * OS: [e.g. iOS8.1]
   * Version [e.g. 22]
   * Build from source [e.g. yes/no] -->
   Device: [android]
   Version [api 19]
   Build from source [yes] 
   
   ## Expected behavior
   <!-- A clear and concise description of what you expected to happen. -->
   ## Screenshots
   <!-- If applicable, add screenshots to help explain your problem. -->
   ## Additional context
   <!-- Add any other context about the problem here.-->

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

[GitHub] [incubator-weex] cnryb commented on issue #3157: [Android]使用vue+weex使用出现,Layer overflow limit error

Posted by GitBox <gi...@apache.org>.
cnryb commented on issue #3157: [Android]使用vue+weex使用出现,Layer overflow limit error
URL: https://github.com/apache/incubator-weex/issues/3157#issuecomment-600068437
 
 
   发现层级压测的demo,你可以试一下。 https://hanks10100.github.io/weex-vue-examples/#others/layer-benchmark

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services