You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@weex.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2018/01/17 07:20:00 UTC

[jira] [Commented] (WEEX-197) WXScroller Add Child NullPointerException

    [ https://issues.apache.org/jira/browse/WEEX-197?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16328381#comment-16328381 ] 

ASF GitHub Bot commented on WEEX-197:
-------------------------------------

GitHub user gubaojian opened a pull request:

    https://github.com/apache/incubator-weex/pull/986

    [WEEX-197][android]WXScroller Add Child NullPointerException

    [WEEX-197][android]WXScroller Add Child NullPointerException

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/gubaojian/incubator-weex release-0.17-scroller-npe

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/incubator-weex/pull/986.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #986
    
----
commit 8a78db6aef80e4e049ef43636f70a96e810fd756
Author: jianbai.gbj <ji...@...>
Date:   2017-12-29T07:53:24Z

    [android][WEEX-184]  Weex Android Playground Demo Show

commit d181854551ffe62678bbf30db84670f2c2473c31
Author: jianbai.gbj <ji...@...>
Date:   2018-01-03T06:38:05Z

    Merge branch 'release-0.17-playground'

commit 5ff6b97f727daedbfeabb7bebdc891deaa13202a
Author: jianbai.gbj <ji...@...>
Date:   2018-01-09T06:45:24Z

    Merge branch 'master' of https://github.com/apache/incubator-weex

commit 466f6ded8689663970fa82340239bc3e18961ea5
Author: jianbai.gbj <ji...@...>
Date:   2018-01-11T03:05:36Z

    Merge branch 'master' of https://github.com/apache/incubator-weex

commit 2cb3dc34f5ed291119bdce5c2f390425996f8b08
Author: jianbai.gbj <ji...@...>
Date:   2018-01-11T03:13:10Z

    [WEEX-130][android] High Performance Binary Wson Supported

commit 7c072b620a7bd1c0828e561bc003cccfb1d66e97
Author: jianbai.gbj <ji...@...>
Date:   2018-01-12T06:35:12Z

    Merge branch 'master' of https://github.com/apache/incubator-weex

commit 17503c2b9ec1b83628c91b17e117adeb6b27fd9c
Author: jianbai.gbj <ji...@...>
Date:   2018-01-17T07:17:51Z

    [WEEX-197][android]WXScroller Add Child NullPointerException

----


> WXScroller Add Child NullPointerException
> -----------------------------------------
>
>                 Key: WEEX-197
>                 URL: https://issues.apache.org/jira/browse/WEEX-197
>             Project: Weex
>          Issue Type: Bug
>            Reporter: codefurture
>            Assignee: Adam Feng
>            Priority: Major
>
> WXScroller Add Child NullPointerException。 ErrorStack  Trace:
> Process Name: 'com.wudaokou.hippo' 
> Thread Name: 'WeeXDomThread' 
> Back traces starts.
> java.lang.NullPointerException: Attempt to invoke virtual method 'int com.taobao.weex.ui.component.WXComponent.getLayoutTopOffsetForSibling()' on a null object reference
>  at com.taobao.weex.ui.component.WXScroller.addChild(WXScroller.java:293)
>  at com.taobao.weex.ui.component.WXVContainer.addChild(WXVContainer.java:268)
>  at com.taobao.weex.dom.action.AbstractAddElementAction.generateComponentTree(AbstractAddElementAction.java:67)
>  at com.taobao.weex.dom.action.AbstractAddElementAction.generateComponentTree(AbstractAddElementAction.java:67)
>  at com.taobao.weex.dom.action.AddElementAction.createComponent(AddElementAction.java:63)
>  at com.taobao.weex.dom.action.AbstractAddElementAction.addDomInternal(AbstractAddElementAction.java:119)
>  at com.taobao.weex.dom.action.AddElementAction.executeDom(AddElementAction.java:99)
>  at com.taobao.weex.dom.WXDomManager.executeAction(WXDomManager.java:184)
>  at com.taobao.weex.dom.WXDomHandler.handleMessage(WXDomHandler.java:76)
>  at com.taobao.weex.common.WXThread$SafeCallback.handleMessage(WXThread.java:73)
>  at android.os.Handler.dispatchMessage(Handler.java:98)
>  at android.os.Looper.loop(Looper.java:158)
>  at android.os.HandlerThread.run(HandlerThread.java:61)



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)