org.appcelerator.titanium.proxy.TiVie

Appcelerator JIRA | Greg Kolesar | 6 months ago
  1. 0

    When upgrading from SDK 5.1.1 to 5.2.2, Android suffers a hard crash anytime a TableView is displayed without the separatorStyle property. Steps to Reproduce 1. Create a project with SDK 5.2.2 2. Create a TableView without the separatorSyle property 3. Run the App 4. Crash To Fix Add a separatorStyle property to the TableView as seen below <TableView separatorStyle="Titanium.UI.TABLE_VIEW_SEPARATOR_STYLE_NONE"> Error Stack Trace: {code} [ERROR] : TiApplication: (main) [91,22091] Sending event: exception on thread: main msg:java.lang.RuntimeException: Unable to start activity ComponentInfo{com.xxx/org.appcelerator.titanium.TiActivity}: java.lang.NumberFormatException: Invalid int: "NONE"; Titanium 5.2.2,2016/03/28 14:12,b685ddb [ERROR] : TiApplication: java.lang.RuntimeException: Unable to start activity ComponentInfo{com.xxx/org.appcelerator.titanium.TiActivity}: java.lang.NumberFormatException: Invalid int: "NONE" [ERROR] : TiApplication: at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:3255) [ERROR] : TiApplication: at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:3351) [ERROR] : TiApplication: at android.app.ActivityThread.access$1100(ActivityThread.java:222) [ERROR] : TiApplication: at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1796) [ERROR] : TiApplication: at android.os.Handler.dispatchMessage(Handler.java:102) [ERROR] : TiApplication: at android.os.Looper.loop(Looper.java:158) [ERROR] : TiApplication: at android.app.ActivityThread.main(ActivityThread.java:7230) [ERROR] : TiApplication: at java.lang.reflect.Method.invoke(Native Method) [ERROR] : TiApplication: at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1230) [ERROR] : TiApplication: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1120) [ERROR] : TiApplication: Caused by: java.lang.NumberFormatException: Invalid int: "NONE" [ERROR] : TiApplication: at java.lang.Integer.invalidInt(Integer.java:138) [ERROR] : TiApplication: at java.lang.Integer.parse(Integer.java:410) [ERROR] : TiApplication: at java.lang.Integer.parseInt(Integer.java:367) [ERROR] : TiApplication: at java.lang.Integer.parseInt(Integer.java:334) [ERROR] : TiApplication: at org.appcelerator.titanium.util.TiConvert.toInt(TiConvert.java:409) [ERROR] : TiApplication: at ti.modules.titanium.ui.widget.tableview.TiTableView.<init>(TiTableView.java:356) [ERROR] : TiApplication: at ti.modules.titanium.ui.widget.TiUITableView.processProperties(TiUITableView.java:111) [ERROR] : TiApplication: at org.appcelerator.kroll.KrollProxy.setModelListener(KrollProxy.java:1219) [ERROR] : TiApplication: at org.appcelerator.titanium.proxy.TiViewProxy.realizeViews(TiViewProxy.java:509) [ERROR] : TiApplication: at org.appcelerator.titanium.proxy.TiViewProxy.handleGetView(TiViewProxy.java:500) [ERROR] : TiApplication: at org.appcelerator.titanium.proxy.TiViewProxy.getOrCreateView(TiViewProxy.java:478) [ERROR] : TiApplication: at org.appcelerator.titanium.proxy.TiViewProxy.realizeViews(TiViewProxy.java:516) [ERROR] : TiApplication: at org.appcelerator.titanium.proxy.TiViewProxy.handleGetView(TiViewProxy.java:500) [ERROR] : TiApplication: at org.appcelerator.titanium.proxy.TiViewProxy.getOrCreateView(TiViewProxy.java:478) [ERROR] : TiApplication: at org.appcelerator.titanium.proxy.TiViewProxy.realizeViews(TiViewProxy.java:516) [ERROR] : TiApplication: at org.appcelerator.titanium.proxy.TiViewProxy.handleGe [ERROR] : TiApplication: at org.appcelerator.titanium.proxy.TiViewProxy.getOrCreateView(TiViewProxy.java:478) [ERROR] : TiApplication: at org.appcelerator.titanium.proxy.TiViewProxy.handleAdd(TiViewProxy.java:679) [ERROR] : TiApplication: at org.appcelerator.titanium.proxy.TiViewProxy.add(TiViewProxy.java:573) [ERROR] : TiApplication: at ti.modules.titanium.ui.WindowProxy.windowCreated(WindowProxy.java:258) [ERROR] : TiApplication: at org.appcelerator.titanium.TiActivityWindows.windowCreated(TiActivityWindows.java:33) [ERROR] : TiApplication: at org.appcelerator.titanium.TiBaseActivity.windowCreated(TiBaseActivity.java:524) [ERROR] : TiApplication: at org.appcelerator.titanium.TiBaseActivity.onCreate(TiBaseActivity.java:638) [ERROR] : TiApplication: at org.appcelerator.titanium.TiActivity.onCreate(TiActivity.java:18) [ERROR] : TiApplication: at android.app.Activity.performCreate(Activity.java:6877) [ERROR] : TiApplication: at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1136) [ERROR] : TiApplication: at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:3208) [ERROR] : TiApplication: ... 9 more [ERROR] : AndroidRuntime: FATAL EXCEPTION: main [ERROR] : AndroidRuntime: Process: com.xxx, PID: 8717 [ERROR] : AndroidRuntime: java.lang.RuntimeException: Unable to start activity ComponentInfo{com.xxx/org.appcelerator.titanium.TiActivity}: java.lang.NumberFormatException: Invalid int: "NONE" [ERROR] : AndroidRuntime: at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:3255) [ERROR] : AndroidRuntime: at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:3351) [ERROR] : AndroidRuntime: at android.app.ActivityThread.access$1100(ActivityThread.java:222) [ERROR] : AndroidRuntime: at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1796) [ERROR] : AndroidRuntime: at android.os.Handler.dispatchMessage(Handler.java:102) [ERROR] : AndroidRuntime: at android.os.Looper.loop(Looper.java:158) [ERROR] : AndroidRuntime: at android.app.ActivityThread.main(ActivityThread.java:7230) [ERROR] : AndroidRuntime: at java.lang.reflect.Method.invoke(Native Method) [ERROR] : AndroidRuntime: at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1230) [ERROR] : AndroidRuntime: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1120) [ERROR] : AndroidRuntime: Caused by: java.lang.NumberFormatException: Invalid int: "NONE" [ERROR] : AndroidRuntime: at java.lang.Integer.invalidInt(Integer.java:138) [ERROR] : AndroidRuntime: at java.lang.Integer.parse(Integer.java:410) [ERROR] : AndroidRuntime: at java.lang.Integer.parseInt(Integer.java:367) [ERROR] : AndroidRuntime: at java.lang.Integer.parseInt(Integer.java:334) [ERROR] : AndroidRuntime: at org.appcelerator.titanium.util.TiConvert.toInt(TiConvert.java:409) [ERROR] : AndroidRuntime: at ti.modules.titanium.ui.widget.tableview.TiTableView.<init>(TiTableView.java:356) [ERROR] : AndroidRuntime: at ti.modules.titanium.ui.widget.TiUITableView.processProperties(TiUITableView.java:111) [ERROR] : AndroidRuntime: at org.appcelerator.kroll.KrollProxy.setModelListener(KrollProxy.java:1219) [ERROR] : AndroidRuntime: at org.appcelerator.titanium.proxy.TiViewProxy.realizeViews(TiViewProxy.java:509) [ERROR] : AndroidRuntime: at org.appcelerator.titanium.proxy.TiViewProxy.handleGetView(TiViewProxy.java:500) [ERROR] : AndroidRuntime: at org.appcelerator.titanium.proxy.TiViewProxy.getOrCreateView(TiViewProxy.java:478) [ERROR] : AndroidRuntime: at org.appcelerator.titanium.proxy.TiViewProxy.realizeViews(TiViewProxy.java:516) [ERROR] : AndroidRuntime: at org.appcelerator.titanium.proxy.TiVie [ERROR] : AndroidRuntime: at org.appcelerator.titanium.proxy.TiViewProxy.getOrCreateView(TiViewProxy.java:478) [ERROR] : AndroidRuntime: at org.appcelerator.titanium.proxy.TiViewProxy.realizeViews(TiViewProxy.java:516) [ERROR] : AndroidRuntime: at org.appcelerator.titanium.proxy.TiViewProxy.handleGetView(TiViewProxy.java:500) [ERROR] : AndroidRuntime: at org.appcelerator.titanium.proxy.TiViewProxy.getOrCreateView(TiViewProxy.java:478) [ERROR] : AndroidRuntime: at org.appcelerator.titanium.proxy.TiViewProxy.handleAdd(TiViewProxy.java:679) [ERROR] : AndroidRuntime: at org.appcelerator.titanium.proxy.TiViewProxy.add(TiViewProxy.java:573) [ERROR] : AndroidRuntime: at ti.modules.titanium.ui.WindowProxy.windowCreated(WindowProxy.java:258) [ERROR] : AndroidRuntime: at org.appcelerator.titanium.TiActivityWindows.windowCreated(TiActivityWindows.java:33) [ERROR] : AndroidRuntime: at org.appcelerator.titanium.TiBaseActivity.windowCreated(TiBaseActivity.java:524) [ERROR] : AndroidRuntime: at org.appcelerator.titanium.TiBaseActivity.onCreate(TiBaseActivity.java:638) [ERROR] : AndroidRuntime: at org.appcelerator.titanium.TiActivity.onCreate(TiActivity.java:18) [ERROR] : AndroidRuntime: at android.app.Activity.performCreate(Activity.java:6877) [ERROR] : AndroidRuntime: at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1136) [ERROR] : AndroidRuntime: at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:3208) [ERROR] : AndroidRuntime: ... 9 more {code}

    Appcelerator JIRA | 6 months ago | Greg Kolesar
    org.appcelerator.titanium.proxy.TiVie
  2. 0

    When upgrading from SDK 5.1.1 to 5.2.2, Android suffers a hard crash anytime a TableView is displayed without the separatorStyle property. Steps to Reproduce 1. Create a project with SDK 5.2.2 2. Create a TableView without the separatorSyle property 3. Run the App 4. Crash To Fix Add a separatorStyle property to the TableView as seen below <TableView separatorStyle="Titanium.UI.TABLE_VIEW_SEPARATOR_STYLE_NONE"> Error Stack Trace: {code} [ERROR] : TiApplication: (main) [91,22091] Sending event: exception on thread: main msg:java.lang.RuntimeException: Unable to start activity ComponentInfo{com.xxx/org.appcelerator.titanium.TiActivity}: java.lang.NumberFormatException: Invalid int: "NONE"; Titanium 5.2.2,2016/03/28 14:12,b685ddb [ERROR] : TiApplication: java.lang.RuntimeException: Unable to start activity ComponentInfo{com.xxx/org.appcelerator.titanium.TiActivity}: java.lang.NumberFormatException: Invalid int: "NONE" [ERROR] : TiApplication: at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:3255) [ERROR] : TiApplication: at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:3351) [ERROR] : TiApplication: at android.app.ActivityThread.access$1100(ActivityThread.java:222) [ERROR] : TiApplication: at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1796) [ERROR] : TiApplication: at android.os.Handler.dispatchMessage(Handler.java:102) [ERROR] : TiApplication: at android.os.Looper.loop(Looper.java:158) [ERROR] : TiApplication: at android.app.ActivityThread.main(ActivityThread.java:7230) [ERROR] : TiApplication: at java.lang.reflect.Method.invoke(Native Method) [ERROR] : TiApplication: at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1230) [ERROR] : TiApplication: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1120) [ERROR] : TiApplication: Caused by: java.lang.NumberFormatException: Invalid int: "NONE" [ERROR] : TiApplication: at java.lang.Integer.invalidInt(Integer.java:138) [ERROR] : TiApplication: at java.lang.Integer.parse(Integer.java:410) [ERROR] : TiApplication: at java.lang.Integer.parseInt(Integer.java:367) [ERROR] : TiApplication: at java.lang.Integer.parseInt(Integer.java:334) [ERROR] : TiApplication: at org.appcelerator.titanium.util.TiConvert.toInt(TiConvert.java:409) [ERROR] : TiApplication: at ti.modules.titanium.ui.widget.tableview.TiTableView.<init>(TiTableView.java:356) [ERROR] : TiApplication: at ti.modules.titanium.ui.widget.TiUITableView.processProperties(TiUITableView.java:111) [ERROR] : TiApplication: at org.appcelerator.kroll.KrollProxy.setModelListener(KrollProxy.java:1219) [ERROR] : TiApplication: at org.appcelerator.titanium.proxy.TiViewProxy.realizeViews(TiViewProxy.java:509) [ERROR] : TiApplication: at org.appcelerator.titanium.proxy.TiViewProxy.handleGetView(TiViewProxy.java:500) [ERROR] : TiApplication: at org.appcelerator.titanium.proxy.TiViewProxy.getOrCreateView(TiViewProxy.java:478) [ERROR] : TiApplication: at org.appcelerator.titanium.proxy.TiViewProxy.realizeViews(TiViewProxy.java:516) [ERROR] : TiApplication: at org.appcelerator.titanium.proxy.TiViewProxy.handleGetView(TiViewProxy.java:500) [ERROR] : TiApplication: at org.appcelerator.titanium.proxy.TiViewProxy.getOrCreateView(TiViewProxy.java:478) [ERROR] : TiApplication: at org.appcelerator.titanium.proxy.TiViewProxy.realizeViews(TiViewProxy.java:516) [ERROR] : TiApplication: at org.appcelerator.titanium.proxy.TiViewProxy.handleGe [ERROR] : TiApplication: at org.appcelerator.titanium.proxy.TiViewProxy.getOrCreateView(TiViewProxy.java:478) [ERROR] : TiApplication: at org.appcelerator.titanium.proxy.TiViewProxy.handleAdd(TiViewProxy.java:679) [ERROR] : TiApplication: at org.appcelerator.titanium.proxy.TiViewProxy.add(TiViewProxy.java:573) [ERROR] : TiApplication: at ti.modules.titanium.ui.WindowProxy.windowCreated(WindowProxy.java:258) [ERROR] : TiApplication: at org.appcelerator.titanium.TiActivityWindows.windowCreated(TiActivityWindows.java:33) [ERROR] : TiApplication: at org.appcelerator.titanium.TiBaseActivity.windowCreated(TiBaseActivity.java:524) [ERROR] : TiApplication: at org.appcelerator.titanium.TiBaseActivity.onCreate(TiBaseActivity.java:638) [ERROR] : TiApplication: at org.appcelerator.titanium.TiActivity.onCreate(TiActivity.java:18) [ERROR] : TiApplication: at android.app.Activity.performCreate(Activity.java:6877) [ERROR] : TiApplication: at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1136) [ERROR] : TiApplication: at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:3208) [ERROR] : TiApplication: ... 9 more [ERROR] : AndroidRuntime: FATAL EXCEPTION: main [ERROR] : AndroidRuntime: Process: com.xxx, PID: 8717 [ERROR] : AndroidRuntime: java.lang.RuntimeException: Unable to start activity ComponentInfo{com.xxx/org.appcelerator.titanium.TiActivity}: java.lang.NumberFormatException: Invalid int: "NONE" [ERROR] : AndroidRuntime: at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:3255) [ERROR] : AndroidRuntime: at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:3351) [ERROR] : AndroidRuntime: at android.app.ActivityThread.access$1100(ActivityThread.java:222) [ERROR] : AndroidRuntime: at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1796) [ERROR] : AndroidRuntime: at android.os.Handler.dispatchMessage(Handler.java:102) [ERROR] : AndroidRuntime: at android.os.Looper.loop(Looper.java:158) [ERROR] : AndroidRuntime: at android.app.ActivityThread.main(ActivityThread.java:7230) [ERROR] : AndroidRuntime: at java.lang.reflect.Method.invoke(Native Method) [ERROR] : AndroidRuntime: at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1230) [ERROR] : AndroidRuntime: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1120) [ERROR] : AndroidRuntime: Caused by: java.lang.NumberFormatException: Invalid int: "NONE" [ERROR] : AndroidRuntime: at java.lang.Integer.invalidInt(Integer.java:138) [ERROR] : AndroidRuntime: at java.lang.Integer.parse(Integer.java:410) [ERROR] : AndroidRuntime: at java.lang.Integer.parseInt(Integer.java:367) [ERROR] : AndroidRuntime: at java.lang.Integer.parseInt(Integer.java:334) [ERROR] : AndroidRuntime: at org.appcelerator.titanium.util.TiConvert.toInt(TiConvert.java:409) [ERROR] : AndroidRuntime: at ti.modules.titanium.ui.widget.tableview.TiTableView.<init>(TiTableView.java:356) [ERROR] : AndroidRuntime: at ti.modules.titanium.ui.widget.TiUITableView.processProperties(TiUITableView.java:111) [ERROR] : AndroidRuntime: at org.appcelerator.kroll.KrollProxy.setModelListener(KrollProxy.java:1219) [ERROR] : AndroidRuntime: at org.appcelerator.titanium.proxy.TiViewProxy.realizeViews(TiViewProxy.java:509) [ERROR] : AndroidRuntime: at org.appcelerator.titanium.proxy.TiViewProxy.handleGetView(TiViewProxy.java:500) [ERROR] : AndroidRuntime: at org.appcelerator.titanium.proxy.TiViewProxy.getOrCreateView(TiViewProxy.java:478) [ERROR] : AndroidRuntime: at org.appcelerator.titanium.proxy.TiViewProxy.realizeViews(TiViewProxy.java:516) [ERROR] : AndroidRuntime: at org.appcelerator.titanium.proxy.TiVie [ERROR] : AndroidRuntime: at org.appcelerator.titanium.proxy.TiViewProxy.getOrCreateView(TiViewProxy.java:478) [ERROR] : AndroidRuntime: at org.appcelerator.titanium.proxy.TiViewProxy.realizeViews(TiViewProxy.java:516) [ERROR] : AndroidRuntime: at org.appcelerator.titanium.proxy.TiViewProxy.handleGetView(TiViewProxy.java:500) [ERROR] : AndroidRuntime: at org.appcelerator.titanium.proxy.TiViewProxy.getOrCreateView(TiViewProxy.java:478) [ERROR] : AndroidRuntime: at org.appcelerator.titanium.proxy.TiViewProxy.handleAdd(TiViewProxy.java:679) [ERROR] : AndroidRuntime: at org.appcelerator.titanium.proxy.TiViewProxy.add(TiViewProxy.java:573) [ERROR] : AndroidRuntime: at ti.modules.titanium.ui.WindowProxy.windowCreated(WindowProxy.java:258) [ERROR] : AndroidRuntime: at org.appcelerator.titanium.TiActivityWindows.windowCreated(TiActivityWindows.java:33) [ERROR] : AndroidRuntime: at org.appcelerator.titanium.TiBaseActivity.windowCreated(TiBaseActivity.java:524) [ERROR] : AndroidRuntime: at org.appcelerator.titanium.TiBaseActivity.onCreate(TiBaseActivity.java:638) [ERROR] : AndroidRuntime: at org.appcelerator.titanium.TiActivity.onCreate(TiActivity.java:18) [ERROR] : AndroidRuntime: at android.app.Activity.performCreate(Activity.java:6877) [ERROR] : AndroidRuntime: at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1136) [ERROR] : AndroidRuntime: at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:3208) [ERROR] : AndroidRuntime: ... 9 more {code}

    Appcelerator JIRA | 6 months ago | Greg Kolesar
    org.appcelerator.titanium.proxy.TiVie

    Root Cause Analysis

    1. org.appcelerator.titanium.proxy.TiVie

      No message provided

      at org.appcelerator.titanium.proxy.TiViewProxy.getOrCreateView()
    2. org.appcelerator.titanium
      TiViewProxy.add
      1. org.appcelerator.titanium.proxy.TiViewProxy.getOrCreateView(TiViewProxy.java:478)
      2. org.appcelerator.titanium.proxy.TiViewProxy.realizeViews(TiViewProxy.java:516)
      3. org.appcelerator.titanium.proxy.TiViewProxy.handleGetView(TiViewProxy.java:500)
      4. org.appcelerator.titanium.proxy.TiViewProxy.getOrCreateView(TiViewProxy.java:478)
      5. org.appcelerator.titanium.proxy.TiViewProxy.handleAdd(TiViewProxy.java:679)
      6. org.appcelerator.titanium.proxy.TiViewProxy.add(TiViewProxy.java:573)
      6 frames
    3. ti.modules.titanium
      WindowProxy.windowCreated
      1. ti.modules.titanium.ui.WindowProxy.windowCreated(WindowProxy.java:258)
      1 frame
    4. org.appcelerator.titanium
      TiActivity.onCreate
      1. org.appcelerator.titanium.TiActivityWindows.windowCreated(TiActivityWindows.java:33)
      2. org.appcelerator.titanium.TiBaseActivity.windowCreated(TiBaseActivity.java:524)
      3. org.appcelerator.titanium.TiBaseActivity.onCreate(TiBaseActivity.java:638)
      4. org.appcelerator.titanium.TiActivity.onCreate(TiActivity.java:18)
      4 frames
    5. Android Platform
      ActivityThread.performLaunchActivity
      1. android.app.Activity.performCreate(Activity.java:6877)
      2. android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1136)
      3. android.app.ActivityThread.performLaunchActivity(ActivityThread.java:3208)
      3 frames