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/11/26 07:23:00 UTC
[jira] [Commented] (WEEX-669) [android] crash when slider mAdapter
null
[ https://issues.apache.org/jira/browse/WEEX-669?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16698556#comment-16698556 ]
ASF GitHub Bot commented on WEEX-669:
-------------------------------------
win80540 opened a new pull request #1816: [WEEX-669][android] fix slider crash when adapter is null
URL: https://github.com/apache/incubator-weex/pull/1816
fix slider crash when adapter is null
java.lang.NullPointerException: Attempt to invoke virtual method 'void com.taobao.weex.ui.view.WXCirclePageAdapter.setLayoutDirectionRTL(boolean)' on a null object reference
at com.taobao.weex.ui.component.WXSlider.setLayout(WXSlider.java:217)
at com.taobao.weex.ui.action.GraphicActionLayout.executeAction(GraphicActionLayout.java:44)
at com.taobao.weex.ui.action.BasicGraphicAction.run(BasicGraphicAction.java:68)
at android.os.Handler.handleCallback(Handler.java:751)
at android.os.Handler.dispatchMessage(Handler.java:95)
at android.os.Looper.loop(Looper.java:154)
at android.app.ActivityThread.main(ActivityThread.java:6195)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:889)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:779)
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on 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
> [android] crash when slider mAdapter null
> -----------------------------------------
>
> Key: WEEX-669
> URL: https://issues.apache.org/jira/browse/WEEX-669
> Project: Weex
> Issue Type: Bug
> Components: Android
> Affects Versions: 0.19
> Reporter: KAI TIAN
> Assignee: YorkShen
> Priority: Major
> Fix For: 0.19
>
>
> java.lang.NullPointerException: Attempt to invoke virtual method 'void com.taobao.weex.ui.view.WXCirclePageAdapter.setLayoutDirectionRTL(boolean)' on a null object reference
> at com.taobao.weex.ui.component.WXSlider.setLayout(WXSlider.java:217)
> at com.taobao.weex.ui.action.GraphicActionLayout.executeAction(GraphicActionLayout.java:44)
> at com.taobao.weex.ui.action.BasicGraphicAction.run(BasicGraphicAction.java:68)
> at android.os.Handler.handleCallback(Handler.java:751)
> at android.os.Handler.dispatchMessage(Handler.java:95)
> at android.os.Looper.loop(Looper.java:154)
> at android.app.ActivityThread.main(ActivityThread.java:6195)
> at java.lang.reflect.Method.invoke(Native Method)
> at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:889)
> at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:779)
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)