java.lang.RuntimeException

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • 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}
    via by Greg Kolesar,
  • 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}
    via by Greg Kolesar,
  • 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".
    via by Suraj Datta,
  • 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".
    via by Suraj Datta,
  • Android progress bar doesn't update
    via Stack Overflow by Leonardo
    ,
    • java.lang.RuntimeException: Unable to start activity ComponentInfo{com.xxx/org.appcelerator.titanium.TiActivity}: java.lang.NumberFormatException: Invalid int: "NONE" at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:3255) at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:3351) at android.app.ActivityThread.access$1100(ActivityThread.java:222) at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1796) at android.os.Handler.dispatchMessage(Handler.java:102) at android.os.Looper.loop(Looper.java:158) at android.app.ActivityThread.main(ActivityThread.java:7230) at java.lang.reflect.Method.invoke(Native Method) at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1230) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1120) Caused by: java.lang.NumberFormatException: Invalid int: "NONE" at java.lang.Integer.invalidInt(Integer.java:138) at java.lang.Integer.parse(Integer.java:410) at java.lang.Integer.parseInt(Integer.java:367) at java.lang.Integer.parseInt(Integer.java:334) at org.appcelerator.titanium.util.TiConvert.toInt(TiConvert.java:409) at ti.modules.titanium.ui.widget.tableview.TiTableView.<init>(TiTableView.java:356) at ti.modules.titanium.ui.widget.TiUITableView.processProperties(TiUITableView.java:111) at org.appcelerator.kroll.KrollProxy.setModelListener(KrollProxy.java:1219) at org.appcelerator.titanium.proxy.TiViewProxy.realizeViews(TiViewProxy.java:509) at org.appcelerator.titanium.proxy.TiViewProxy.handleGetView(TiViewProxy.java:500) at org.appcelerator.titanium.proxy.TiViewProxy.getOrCreateView(TiViewProxy.java:478) at org.appcelerator.titanium.proxy.TiViewProxy.realizeViews(TiViewProxy.java:516)

    Users with the same issue

    Unknown User
    1 times, last one,
    Hiren Amaliyar
    3 times, last one,
    Riyaz
    4 times, last one,
    andreeaa marin
    4 times, last one,
    filpgame
    1 times, last one,
    157 more bugmates