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

[android] crash when slider mAdapter null

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 0.19
    • Fix Version/s: 0.20
    • Component/s: Android
    • Labels:
      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

              • Assignee:
                kyork YorkShen
                Reporter:
                Klueze KAI TIAN
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: