java.lang.RuntimeException: Unable to start activity ComponentInfo{com.xxx/org.appcelerator.titanium.TiActivity}: java.lang.NumberFormatException: Invalid int: "NONE"

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
    java.lang.RuntimeException: Unable to start activity ComponentInfo{com.xxx/org.appcelerator.titanium.TiActivity}: java.lang.NumberFormatException: Invalid int: "NONE"
  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
    java.lang.RuntimeException: Unable to start activity ComponentInfo{com.xxx/org.appcelerator.titanium.TiActivity}: java.lang.NumberFormatException: Invalid int: "NONE"
  3. 0

    While creating project i've selected SDK version 5.2.0, now if i select newer version of SDK(5.4.0 in my case) i'm getting following errors related to thread & NumberFormatException: Invalid int: "NONE". {code:java} [WARN] : dalvikvm: threadid=1: thread exiting with uncaught exception (group=0x413729a8) [ERROR] : TiApplication: (main) [53462,59156] Sending event: exception on thread: main msg:java.lang.RuntimeException: Unable to start activity ComponentInfo{com.packagename.android/org.appcelerator.titanium.TiActivity}: java.lang.NumberFormatException: Invalid int: "NONE"; Titanium 5.4.0,2016/03/30 00:10,cc8f170 [ERROR] : TiApplication: java.lang.RuntimeException: Unable to start activity ComponentInfo{com.packagename.android/org.appcelerator.titanium.TiActivity}: java.lang.NumberFormatException: Invalid int: "NONE" [ERROR] : TiApplication: at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2306) [ERROR] : TiApplication: at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2358) [ERROR] : TiApplication: at android.app.ActivityThread.access$600(ActivityThread.java:156) [ERROR] : TiApplication: at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1340) [ERROR] : TiApplication: at android.os.Handler.dispatchMessage(Handler.java:99) [ERROR] : TiApplication: at android.os.Looper.loop(Looper.java:153) [ERROR] : TiApplication: at android.app.ActivityThread.main(ActivityThread.java:5297) [ERROR] : TiApplication: at java.lang.reflect.Method.invokeNative(Native Method) [ERROR] : TiApplication: at java.lang.reflect.Method.invoke(Method.java:511) [ERROR] : TiApplication: at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:833) [ERROR] : TiApplication: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:600) [ERROR] : TiApplication: at dalvik.system.NativeStart.main(Native Method) [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:375) [ERROR] : TiApplication: at java.lang.Integer.parseInt(Integer.java:366) [ERROR] : TiApplication: at java.lang.Integer.parseInt(Integer.java:332) [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.handleGetView(TiViewProxy.java:500) [ERROR] : TiApplication: at org.appcelerator.titanium.proxy.TiViewProxy.getOrCreateView(TiViewProxy.java:478) [ERROR] : TiApplication: at com.tripvi.drawerlayout.Drawer.getNativeView(Drawer.java:592) [ERROR] : TiApplication: at com.tripvi.drawerlayout.Drawer.processProperties(Drawer.java:419) [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(TiVie [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.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:5147) [ERROR] : TiApplication: at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1081) [ERROR] : TiApplication: at android.app.ActivityThread.performLaunchActivity(Activity {code} After this my app crashes & thows "Unfortunately, myapp has stopped".

    Appcelerator JIRA | 8 months ago | Suraj Datta
    java.lang.RuntimeException: Unable to start activity ComponentInfo{com.packagename.android/org.appcelerator.titanium.TiActivity}: java.lang.NumberFormatException: Invalid int: "NONE"
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    While creating project i've selected SDK version 5.2.0, now if i select newer version of SDK(5.4.0 in my case) i'm getting following errors related to thread & NumberFormatException: Invalid int: "NONE". {code:java} [WARN] : dalvikvm: threadid=1: thread exiting with uncaught exception (group=0x413729a8) [ERROR] : TiApplication: (main) [53462,59156] Sending event: exception on thread: main msg:java.lang.RuntimeException: Unable to start activity ComponentInfo{com.packagename.android/org.appcelerator.titanium.TiActivity}: java.lang.NumberFormatException: Invalid int: "NONE"; Titanium 5.4.0,2016/03/30 00:10,cc8f170 [ERROR] : TiApplication: java.lang.RuntimeException: Unable to start activity ComponentInfo{com.packagename.android/org.appcelerator.titanium.TiActivity}: java.lang.NumberFormatException: Invalid int: "NONE" [ERROR] : TiApplication: at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2306) [ERROR] : TiApplication: at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2358) [ERROR] : TiApplication: at android.app.ActivityThread.access$600(ActivityThread.java:156) [ERROR] : TiApplication: at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1340) [ERROR] : TiApplication: at android.os.Handler.dispatchMessage(Handler.java:99) [ERROR] : TiApplication: at android.os.Looper.loop(Looper.java:153) [ERROR] : TiApplication: at android.app.ActivityThread.main(ActivityThread.java:5297) [ERROR] : TiApplication: at java.lang.reflect.Method.invokeNative(Native Method) [ERROR] : TiApplication: at java.lang.reflect.Method.invoke(Method.java:511) [ERROR] : TiApplication: at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:833) [ERROR] : TiApplication: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:600) [ERROR] : TiApplication: at dalvik.system.NativeStart.main(Native Method) [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:375) [ERROR] : TiApplication: at java.lang.Integer.parseInt(Integer.java:366) [ERROR] : TiApplication: at java.lang.Integer.parseInt(Integer.java:332) [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.handleGetView(TiViewProxy.java:500) [ERROR] : TiApplication: at org.appcelerator.titanium.proxy.TiViewProxy.getOrCreateView(TiViewProxy.java:478) [ERROR] : TiApplication: at com.tripvi.drawerlayout.Drawer.getNativeView(Drawer.java:592) [ERROR] : TiApplication: at com.tripvi.drawerlayout.Drawer.processProperties(Drawer.java:419) [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(TiVie [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.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:5147) [ERROR] : TiApplication: at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1081) [ERROR] : TiApplication: at android.app.ActivityThread.performLaunchActivity(Activity {code} After this my app crashes & thows "Unfortunately, myapp has stopped".

    Appcelerator JIRA | 8 months ago | Suraj Datta
    java.lang.RuntimeException: Unable to start activity ComponentInfo{com.packagename.android/org.appcelerator.titanium.TiActivity}: java.lang.NumberFormatException: Invalid int: "NONE"
  6. 0

    Android progress bar doesn't update

    Stack Overflow | 2 years ago | Leonardo
    java.lang.NumberFormatException: Invalid int: "0.0"
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. java.lang.NumberFormatException

    Invalid int: "NONE"

    at java.lang.Integer.invalidInt()
  2. Java RT
    Integer.parseInt
    1. java.lang.Integer.invalidInt(Integer.java:138)
    2. java.lang.Integer.parse(Integer.java:410)
    3. java.lang.Integer.parseInt(Integer.java:367)
    4. java.lang.Integer.parseInt(Integer.java:334)
    4 frames
  3. org.appcelerator.titanium
    TiConvert.toInt
    1. org.appcelerator.titanium.util.TiConvert.toInt(TiConvert.java:409)
    1 frame
  4. ti.modules.titanium
    TiUITableView.processProperties
    1. ti.modules.titanium.ui.widget.tableview.TiTableView.<init>(TiTableView.java:356)
    2. ti.modules.titanium.ui.widget.TiUITableView.processProperties(TiUITableView.java:111)
    2 frames
  5. org.appcelerator.kroll
    KrollProxy.setModelListener
    1. org.appcelerator.kroll.KrollProxy.setModelListener(KrollProxy.java:1219)
    1 frame
  6. org.appcelerator.titanium
    TiViewProxy.realizeViews
    1. org.appcelerator.titanium.proxy.TiViewProxy.realizeViews(TiViewProxy.java:509)
    2. org.appcelerator.titanium.proxy.TiViewProxy.handleGetView(TiViewProxy.java:500)
    3. org.appcelerator.titanium.proxy.TiViewProxy.getOrCreateView(TiViewProxy.java:478)
    4. org.appcelerator.titanium.proxy.TiViewProxy.realizeViews(TiViewProxy.java:516)
    4 frames