Uploaded image for project: 'Weex (Retired)'
  1. Weex (Retired)
  2. WEEX-669

[android] crash when slider mAdapter null

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 0.19
    • 0.20
    • Android
    • None

    Description

      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)

      Attachments

        Issue Links

          Activity

            People

              kyork York Shen
              Klueze KAI TIAN
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Slack

                  Issue deployment