Uploaded image for project: 'Titanium SDK/CLI'
  1. Titanium SDK/CLI
  2. TIMOB-15567

Android: Alloy ListView app crash on startup

    Details

      Description

      Our partner Alfresco discovered this issue when trying to build their Alfresco SDK test harness for Android, using SDK 3.1.3. This is stopping them progressing with the Android version.

      The issue is in the ListViews in the AlfrescoTestHarness Alloy project. These work fine for iOS, but cause an exception on Android.

      I have attached the source zip to this ticket, and this is the exception that occurs, during app start up (before any of our code is called):

      [ERROR][TiApplication(  478)] (main) [8065,10751] Sending event: exception on thread: main msg:java.lang.NullPointerException; Titanium 3.1.3,2013/09/18 12:01,222f4d1
      [ERROR][TiApplication(  478)] java.lang.NullPointerException
      [ERROR][TiApplication(  478)]     at ti.modules.titanium.ui.widget.listview.ListSectionProxy.handleMessage(ListSectionProxy.java:157)
      [ERROR][TiApplication(  478)]     at android.os.Handler.dispatchMessage(Handler.java:95)
      [ERROR][TiApplication(  478)]     at android.os.Looper.loop(Looper.java:130)
      [ERROR][TiApplication(  478)]     at android.app.ActivityThread.main(ActivityThread.java:3683)
      [ERROR][TiApplication(  478)]     at java.lang.reflect.Method.invokeNative(Native Method)
      [ERROR][TiApplication(  478)]     at java.lang.reflect.Method.invoke(Method.java:507)
      [ERROR][TiApplication(  478)]     at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:839)
      [ERROR][TiApplication(  478)]     at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:597)
      [ERROR][TiApplication(  478)]     at dalvik.system.NativeStart.main(Native Method)
      [ERROR][AndroidRuntime(  478)] FATAL EXCEPTION: main
      [ERROR][AndroidRuntime(  478)] java.lang.NullPointerException
      [ERROR][AndroidRuntime(  478)]     at ti.modules.titanium.ui.widget.listview.ListSectionProxy.handleMessage(ListSectionProxy.java:157)
      [ERROR][AndroidRuntime(  478)]     at android.os.Handler.dispatchMessage(Handler.java:95)
      [ERROR][AndroidRuntime(  478)]     at android.os.Looper.loop(Looper.java:130)
      [ERROR][AndroidRuntime(  478)]     at android.app.ActivityThread.main(ActivityThread.java:3683)
      [ERROR][AndroidRuntime(  478)]     at java.lang.reflect.Method.invokeNative(Native Method)
      [ERROR][AndroidRuntime(  478)]     at java.lang.reflect.Method.invoke(Method.java:507)
      [ERROR][AndroidRuntime(  478)]     at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:839)
      [ERROR][AndroidRuntime(  478)]     at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:597)
      [ERROR][AndroidRuntime(  478)]     at dalvik.system.NativeStart.main(Native Method)
      

        Attachments

          Activity

            People

            • Assignee:
              hpham Hieu Pham
              Reporter:
              mlangston Matt Langston
            • Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Backbone Issue Sync

                • Titanium SDK/CLI <> Titanium Mobile
                  Synced with:
                  TIMOB-17704
                  Sync status:
                  ERROR
                  Last received:
                  Last sent:

                  Git Integration