{ "id": "161390", "key": "TIMOB-23574", "fields": { "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false }, "project": { "id": "10153", "key": "TIMOB", "name": "Titanium SDK/CLI", "projectCategory": { "id": "10100", "description": "Titanium and related SDKs used in application development", "name": "Client" } }, "fixVersions": [], "resolution": null, "resolutiondate": null, "created": "2016-06-27T21:45:05.000+0000", "priority": null, "labels": [], "versions": [], "issuelinks": [], "assignee": { "name": "mchen", "key": "mchen", "displayName": "Maggie Chen", "active": true, "timeZone": "Asia/Singapore" }, "updated": "2017-10-30T18:38:02.000+0000", "status": { "description": "The issue is open and ready for the assignee to start work on it.", "name": "Open", "id": "1", "statusCategory": { "id": 2, "key": "new", "colorName": "blue-gray", "name": "To Do" } }, "components": [], "description": "\tvar pWidth = Ti.Platform.displayCaps.platformWidth;\r\n\tvar pHeight = Ti.Platform.displayCaps.platformHeight;\r\nvar winAccetta = Titanium.UI.createWindow({\r\n\t\twidth:pWidth,\r\n\t\theight:pHeight,\r\n\t\tnavBarHidden:true,\r\n\t\tbackgroundColor: 'white',\r\n\t\tlayout:'vertical',\r\n\t\tfullscreen: true,\r\n\t\torientationModes: [Ti.UI.PORTRAIT],\r\n\t\texitOnClose: true,\r\n\t\ttitle: 'BS Root'\r\n\t});\r\n var client = Ti.Network.createHTTPClient({\r\n // function called when the response data is available\r\n onload : function(e) {\r\n Ti.API.info(\"Received text: \" + this.responseText);\r\n \r\n\tvar tableView = Ti.UI.createTableView({separatorStyle: Ti.UI.iPhone.TableViewSeparatorStyle.SINGLE_LINE});\r\n\t\r\n\twinAccetta.add(tableView);\r\n\t\r\n\twinAccetta.navBarHidden = true;\r\n\t\r\n\tvar licenza = Titanium.UI.createLabel({\r\n\t\twidth:Ti.UI.FILL,\r\n\t\ttop:30,\r\n\t\tleft:10,\r\n\t\theight:'auto',\r\n\t\t\tfont : {\r\n\t\t\tfontSize : 11,\r\n\t\t\tfontFamily : 'Arial'\r\n\t\t},\r\n\t\ttext: \"-------PROVA-------\"\r\n\t});\t\r\n\twinAccetta.add(licenza);\r\n\t//\r\n\twinAccetta.open();\r\n\t\r\n },\r\n // function called when an error occurs, including a timeout\r\n onerror : function(e) {\r\n Ti.API.debug(e.error);\r\n alert('error');\r\n },\r\n timeout : 5000 // in milliseconds\r\n });\r\n // Prepare the connchection.\r\n client.open(\"POST\", url);\r\n //\t\tclient.open(\"GET\", url);\r\n\t\tclient.send({\r\n\t\t\t\"type\" : \"getcategories\",\r\n\t\t\t\"sourcetype\" : \"source_app\",\r\n\t\t});\r\n\r\n\r\n", "attachment": [], "flagged": false, "summary": "Android error Unable to start activity ComponentInfo", "creator": { "name": "freedevcom", "key": "freedevcom", "displayName": "Andrea", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "freedevcom", "key": "freedevcom", "displayName": "Andrea", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "Node.js\r\n Node.js Version = 4.2.2\r\n npm Version = 2.14.7\r\nTitanium CLI\r\n CLI Version = 5.0.8\r\nTitanium SDK\r\n SDK Version = 5.3.0.GA\r\n SDK Path = /Users/Myuser/Library/Application Support/Titanium/mobilesdk/osx/5.3.0.GA\r\n Target Platform = android 5.1.1\r\n", "comment": { "comments": [ { "id": "389182", "author": { "name": "freedevcom", "key": "freedevcom", "displayName": "Andrea", "active": true, "timeZone": "America/Los_Angeles" }, "body": "\r\n[ERROR] : Zygote: MountEmulatedStorage()\r\n[INFO] : SELinux: Function: selinux_compare_spd_ram, SPD-policy is existed. and_ver=SEPF_SM-J120FN_5.1.1 ver=51\r\n[ERROR] : Zygote: v2\r\n[ERROR] : Zygote: accessInfo : 0\r\n[ERROR] : SELinux: [DEBUG] get_category: variable seinfo: default sensitivity: NULL, cateogry: NULL\r\n\r\n[ERROR] : MotionRecognitionManager: mSContextService = null\r\n[ERROR] : MotionRecognitionManager: motionService = com.samsung.android.motion.IMotionRecognitionService$Stub$Proxy@2ed1b876\r\n[DEBUG] : AndroidRuntime: Shutting down VM\r\n[ERROR] : TiApplication: (main) [1374,1374] Sending event: exception on thread: main msg:java.lang.RuntimeException: Unable to start activity ComponentInfo{com.com.provamobile/org.appcelerator.titanium.TiActivity}: java.lang.NumberFormatException: Unable to convert null; Titanium 5.3.0,2016/06/01 10:18,94fa8af\r\n[ERROR] : TiApplication: java.lang.RuntimeException: Unable to start activity ComponentInfo{com.com.provamobile/org.appcelerator.titanium.TiActivity}: java.lang.NumberFormatException: Unable to convert null\r\n[ERROR] : TiApplication: \tat android.app.ActivityThread.performLaunchActivity(ActivityThread.java:3133)\r\n[ERROR] : TiApplication: \tat android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:3243)\r\n[ERROR] : TiApplication: \tat android.app.ActivityThread.access$1000(ActivityThread.java:218)\r\n[ERROR] : TiApplication: \tat android.app.ActivityThread$H.handleMessage(ActivityThread.java:1718)\r\n[ERROR] : TiApplication: \tat android.os.Handler.dispatchMessage(Handler.java:102)\r\n[ERROR] : TiApplication: \tat android.os.Looper.loop(Looper.java:145)\r\n[ERROR] : TiApplication: \tat android.app.ActivityThread.main(ActivityThread.java:6917)\r\n[ERROR] : TiApplication: \tat java.lang.reflect.Method.invoke(Native Method)\r\n[ERROR] : TiApplication: \tat java.lang.reflect.Method.invoke(Method.java:372)\r\n[ERROR] : TiApplication: \tat com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1404)\r\n[ERROR] : TiApplication: \tat com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1199)\r\n[ERROR] : TiApplication: Caused by: java.lang.NumberFormatException: Unable to convert null\r\n[ERROR] : TiApplication: \tat org.appcelerator.titanium.util.TiConvert.toInt(TiConvert.java:412)\r\n[ERROR] : TiApplication: \tat ti.modules.titanium.ui.widget.tableview.TiTableView.(TiTableView.java:356)\r\n[ERROR] : TiApplication: \tat ti.modules.titanium.ui.widget.TiUITableView.processProperties(TiUITableView.java:111)\r\n[ERROR] : TiApplication:\r\n[ERROR] : TiApplication: \tat org.appcelerator.titanium.proxy.TiViewProxy.realizeViews(TiViewProxy.java:509)\r\n[ERROR] : TiApplication: \tat org.appcelerator.titanium.proxy.TiViewProxy.handleGetView(TiViewProxy.java:500)\r\n[ERROR] : TiApplication: \tat org.appcelerator.titanium.proxy.TiViewProxy.getOrCreateView(TiViewProxy.java:478)\r\n[ERROR] : TiApplication: \tat org.appcelerator.titanium.proxy.TiViewProxy.realizeViews(TiViewProxy.java:516)\r\n[ERROR] : TiApplication: \tat org.appcelerator.titanium.proxy.TiViewProxy.handleGetView(TiViewProxy.java:500)\r\n[ERROR] : TiApplication: \tat org.appcelerator.titanium.proxy.TiViewProxy.getOrCreateView(TiViewProxy.java:478)\r\n[ERROR] : TiApplication: \tat org.appcelerator.titanium.proxy.TiViewProxy.handleAdd(TiViewProxy.java:679)\r\n[ERROR] : TiApplication: \tat org.appcelerator.titanium.proxy.TiViewProxy.add(TiViewProxy.java:573)\r\n[ERROR] : TiApplication: \tat ti.modules.titanium.ui.WindowProxy.windowCreated(WindowProxy.java:258)\r\n[ERROR] : TiApplication: \tat org.appcelerator.titanium.TiActivityWindows.windowCreated(TiActivityWindows.java:33)\r\n[ERROR] : TiApplication: \tat org.appcelerator.titanium.TiBaseActivity.windowCreated(TiBaseActivity.java:524)\r\n[ERROR] : TiApplication: \tat org.appcelerator.titanium.TiBaseActivity.onCreate(TiBaseActivity.java:638)\r\n[ERROR] : TiApplication: \tat org.appcelerator.titanium.TiActivity.onCreate(TiActivity.java:18)\r\n[ERROR] : TiApplication: \tat android.app.Activity.performCreate(Activity.java:6609)\r\n[ERROR] : TiApplication: \tat android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1134)\r\n[ERROR] : TiApplication: \tat android.app.ActivityThread.performLaunchActivity(ActivityThread.java:3086)\r\n[ERROR] : TiApplication: \t... 10 more\r\n[ERROR] : AndroidRuntime: FATAL EXCEPTION: main\r\n[ERROR] : AndroidRuntime: Process: com.com.provamobile, PID: 14104\r\n[ERROR] : AndroidRuntime: java.lang.RuntimeException: Unable to start activity ComponentInfo{com.com.provamobile/org.appcelerator.titanium.TiActivity}: java.lang.NumberFormatException: Unable to convert null\r\n[ERROR] : AndroidRuntime: \tat android.app.ActivityThread.performLaunchActivity(ActivityThread.java:3133)\r\n[ERROR] : AndroidRuntime: \tat android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:3243)\r\n[ERROR] : AndroidRuntime: \tat android.app.ActivityThread.access$1000(ActivityThread.java:218)\r\n[ERROR] : AndroidRuntime: \tat android.app.ActivityThread$H.handleMessage(ActivityThread.java:1718)\r\n[ERROR] : AndroidRuntime: \tat android.os.Handler.dispatchMessage(Handler.java:102)\r\n[ERROR] : AndroidRuntime: \tat android.os.Looper.loop(Looper.java:145)\r\n[ERROR] : AndroidRuntime: \tat android.app.ActivityThread.main(ActivityThread.java:6917)\r\n[ERROR] : AndroidRuntime: \tat java.lang.reflect.Method.invoke(Native Method)\r\n[ERROR] : AndroidRuntime: \tat java.lang.reflect.Method.invoke(Method.java:372)\r\n[ERROR] : AndroidRuntime: \tat com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1404)\r\n[ERROR] : AndroidRuntime: \tat com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1199)\r\n[ERROR] : AndroidRuntime: Caused by: java.lang.NumberFormatException: Unable to convert null\r\n[ERROR] : AndroidRuntime: \tat org.appcelerator.titanium.util.TiConvert.toInt(TiConvert.java:412)\r\n[ERROR] : AndroidRuntime: \tat ti.modules.titanium.ui.widget.tableview.TiTableView.(TiTableView.java:356)\r\n[ERROR] : AndroidRuntime: \tat ti.modules.titanium.ui.widget.TiUITableView.processProperties(TiUITableView.java:111)\r\n[ERROR] : AndroidRuntime: \tat org.appcelerator.kroll.KrollProxy.setModelListener(KrollProxy.java:1219)\r\n[ERROR] : AndroidRuntime: \tat org.appcelerator.titanium.proxy.TiViewProxy.realizeViews(TiViewProxy.java:509)\r\n[ERROR] : AndroidRuntime: \tat org.appcelerator.titanium.proxy.TiViewProxy.handleGetView(TiViewProxy.java:500)\r\n[ERROR] : AndroidRuntime: \tat org.appcelerator.titanium.proxy.TiViewProxy.getOrCreateView(TiViewProxy.java:478)\r\n[ERROR] : AndroidRuntime: \tat org.appcelerator.titanium.proxy.TiViewProxy.realizeViews(TiViewProxy.java:516)\r\n[ERROR] : AndroidRuntime: \tat org.appcelerator.titanium.proxy.TiViewProxy.handleGetView(TiViewProxy.java:500)\r\n[ERROR] : AndroidRuntime: \tat org.appcelerator.titanium.proxy.TiViewProxy.getOrCreateView(TiViewProxy.java:478)\r\n[ERROR] : AndroidRuntime: \tat org.appcelerator.titanium.proxy.TiViewProxy.handleAdd(TiViewProxy.java:679)\r\n[ERROR] : AndroidRuntime: \tat org.appcelerator.titanium.proxy.TiViewProxy.add(TiViewProxy.java:573)\r\n[ERROR] : AndroidRuntime: \tat ti.modules.titanium.ui.WindowProxy.windowCreated(WindowProxy.java:258)\r\n[ERROR] : AndroidRuntime: \tat org.appcelerator.titanium.TiActivityWindows.windowCreated(TiActivityWindows.java:33)\r\n[ERROR] : AndroidRuntime: \tat org.appcelerator.titanium.TiBaseActivity.windowCreated(TiBaseActivity.java:524)\r\n[ERROR] : AndroidRuntime: \tat org.appcelerator.titanium.TiBaseActivity.onCreate(TiBaseActivity.java:638)\r\n[ERROR] : AndroidRuntime: \tat org.appcelerator.titanium.TiActivity.onCreate(TiActivity.java:18)\r\n[ERROR] : AndroidRuntime: \tat android.app.Activity.performCreate(Activity.java:6609)\r\n[ERROR] : AndroidRuntime: \tat android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1134)\r\n[ERROR] : AndroidRuntime: \tat android.app.ActivityThread.performLaunchActivity(ActivityThread.java:3086)\r\n[ERROR] : AndroidRuntime: \t... 10 more\r\n", "updateAuthor": { "name": "freedevcom", "key": "freedevcom", "displayName": "Andrea", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2016-06-27T21:47:44.000+0000", "updated": "2016-06-27T21:47:44.000+0000" }, { "id": "389183", "author": { "name": "freedevcom", "key": "freedevcom", "displayName": "Andrea", "active": true, "timeZone": "America/Los_Angeles" }, "body": "After debugging many days my code I thing that it is no more possibile to open a window inside a new thread", "updateAuthor": { "name": "freedevcom", "key": "freedevcom", "displayName": "Andrea", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2016-06-27T21:48:57.000+0000", "updated": "2016-06-27T21:48:57.000+0000" }, { "id": "389407", "author": { "name": "sdarda", "key": "sdarda", "displayName": "Sharif AbuDarda", "active": false, "timeZone": "Asia/Dhaka" }, "body": "Hello, Using the above code with url as https://www.google.com/ I got the below error. My Window never opens. \r\n\r\n{code}\r\n[ERROR] : TiHTTPClient: (TiHttpClient-8) [7456,7456] HTTP Error (java.io.IOException): 405 : Method Not Allowed\r\n[ERROR] : TiHTTPClient: java.io.IOException: 405 : Method Not Allowed\r\n[ERROR] : TiHTTPClient: \tat ti.modules.titanium.network.TiHTTPClient$ClientRunnable.run(TiHTTPClient.java:1227)\r\n[ERROR] : TiHTTPClient: \tat java.lang.Thread.run(Thread.java:818)\r\n{code}\r\n", "updateAuthor": { "name": "sdarda", "key": "sdarda", "displayName": "Sharif AbuDarda", "active": false, "timeZone": "Asia/Dhaka" }, "created": "2016-06-29T15:50:34.000+0000", "updated": "2016-06-29T16:29:59.000+0000" }, { "id": "389435", "author": { "name": "freedevcom", "key": "freedevcom", "displayName": "Andrea", "active": true, "timeZone": "America/Los_Angeles" }, "body": "I can't understand your answer, do you want me to suggest you something? I have another url that I can't give you and I receive the answer, but you also should know how to use appcelerator methods. Can you help me to understand what help I can give you? ", "updateAuthor": { "name": "freedevcom", "key": "freedevcom", "displayName": "Andrea", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2016-06-29T19:52:07.000+0000", "updated": "2016-06-29T19:52:07.000+0000" }, { "id": "390263", "author": { "name": "freedevcom", "key": "freedevcom", "displayName": "Andrea", "active": true, "timeZone": "America/Los_Angeles" }, "body": "I tried to launch the script from another mac, but I still have the same error. Could you please help me?", "updateAuthor": { "name": "freedevcom", "key": "freedevcom", "displayName": "Andrea", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2016-07-11T06:18:56.000+0000", "updated": "2016-07-11T06:18:56.000+0000" }, { "id": "390264", "author": { "name": "freedevcom", "key": "freedevcom", "displayName": "Andrea", "active": true, "timeZone": "America/Los_Angeles" }, "body": "I don't know why google doesn't work, maybe cause it is a https connection and the method works only with http...", "updateAuthor": { "name": "freedevcom", "key": "freedevcom", "displayName": "Andrea", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2016-07-11T06:20:22.000+0000", "updated": "2016-07-11T06:20:22.000+0000" }, { "id": "429695", "author": { "name": "perdona", "key": "perdona", "displayName": "Caio Perdona", "active": true, "timeZone": "America/Los_Angeles" }, "body": "After I bumped my app's Ti SDK to 6.2.0.GA, my app is crashing on loading.\r\nLog shows something about Number casting, but I can't find where it is.\r\nAlready replaced every String.format() line with a cast to string inside the method...\r\nApp was working fine with previous versions, so I need some help to find where this bug lies...\r\nBelow is the logcat I'm facing:\r\n\r\n\r\n{code}\r\n-- Start application log -----------------------------------------------------\r\n[INFO] TiApplication: (main) [1,1] checkpoint, app created.\r\n[INFO] TiApplication: (main) [149,150] Titanium 6.2.0 (2017/09/12 20:39 undefined)\r\n[INFO] MultiDex: VM with version 2.1.0 has multidex support\r\n[INFO] MultiDex: install\r\n[INFO] MultiDex: VM has multidex support, MultiDex support library is disabled.\r\n[INFO] TiApplication: (main) [118,268] Titanium Javascript runtime: v8\r\n[ERROR] linker: readlink('/proc/self/fd/20') failed: Permission denied [fd=20]\r\n[ERROR] linker: warning: unable to get realpath for the library \"/data/app/br.com.pinion-1/lib/arm/libc++_shared.so\". Will use given name.\r\n[ERROR] linker: readlink('/proc/self/fd/20') failed: Permission denied [fd=20]\r\n[ERROR] linker: warning: unable to get realpath for the library \"/data/app/br.com.pinion-1/lib/arm/libkroll-v8.so\". Will use given name.\r\n[DEBUG] PushnotificationsModule: (main) [41,309] inside onAppCreate\r\n[DEBUG] SwiperefreshlayoutModule: (main) [1,310] inside onAppCreate\r\n[DEBUG] TiAdsModule: (main) [8,318] Initializing tiads module.\r\n[WARN] TiAndroid: (KrollRuntimeThread) [435,753] Application instance no longer available. Unable to get current activity.\r\n[WARN] TiAndroid: (KrollRuntimeThread) [2,755] Application instance no longer available. Unable to get current activity.\r\n[WARN] TiAndroid: (KrollRuntimeThread) [1,756] Application instance no longer available. Unable to get current activity.\r\n[ERROR] linker: readlink('/proc/self/fd/24') failed: Permission denied [fd=24]\r\n[ERROR] linker: warning: unable to get realpath for the library \"/data/app/br.com.pinion-1/lib/arm/libcom.alcoapps.actionbarextras.so\". Will use given name.\r\n[ERROR] linker: readlink('/proc/self/fd/24') failed: Permission denied [fd=24]\r\n[ERROR] linker: warning: unable to get realpath for the library \"/data/app/br.com.pinion-1/lib/arm/libcom.pushwoosh.module.so\". Will use given name.\r\n[ERROR] linker: readlink('/proc/self/fd/24') failed: Permission denied [fd=24]\r\n[ERROR] linker: warning: unable to get realpath for the library \"/data/app/br.com.pinion-1/lib/arm/libninja.ygor.tiads.so\". Will use given name.\r\n[ERROR] linker: readlink('/proc/self/fd/24') failed: Permission denied [fd=24]\r\n[ERROR] linker: warning: unable to get realpath for the library \"/data/app/br.com.pinion-1/lib/arm/libti.map.so\". Will use given name.\r\n[ERROR] linker: readlink('/proc/self/fd/24') failed: Permission denied [fd=24]\r\n[ERROR] linker: warning: unable to get realpath for the library \"/data/app/br.com.pinion-1/lib/arm/libcom.mirasense.scanditsdk.so\". Will use given name.\r\n[ERROR] linker: readlink('/proc/self/fd/24') failed: Permission denied [fd=24]\r\n[ERROR] linker: warning: unable to get realpath for the library \"/data/app/br.com.pinion-1/lib/arm/libcom.rkam.swiperefreshlayout.so\". Will use given name.\r\n[ERROR] linker: readlink('/proc/self/fd/24') failed: Permission denied [fd=24]\r\n[ERROR] linker: warning: unable to get realpath for the library \"/data/app/br.com.pinion-1/lib/arm/libti.imagefactory.so\". Will use given name.\r\n[ERROR] linker: readlink('/proc/self/fd/24') failed: Permission denied [fd=24]\r\n[ERROR] linker: warning: unable to get realpath for the library \"/data/app/br.com.pinion-1/lib/arm/libfacebook.so\". Will use given name.\r\n[WARN] art: Before Android 4.1, method android.graphics.PorterDuffColorFilter android.support.graphics.drawable.VectorDrawableCompat.updateTintFilter(android.graphics.PorterDuffColorFilter, android.content.res.ColorStateList, android.graphics.PorterDuff$Mode) would have incorrectly overridden the package-private method in android.graphics.drawable.Drawable\r\n[INFO] TiRootActivity: (main) [0,0] checkpoint, on root activity create, savedInstanceState: null\r\n[INFO] --------------------------app.js-begin-----------------------------\r\n[DEBUG] PushnotificationsModule: (KrollRuntimeThread) [85,85] Push: create module\r\n[DEBUG] PushnotificationsModule: (KrollRuntimeThread) [1,86] Push: init activity!\r\n[INFO] --------------------------geo.js-begin-----------------------------\r\n[INFO] --------------------------geo.js-end-----------------------------\r\n[INFO] --------------------------api.js-begin-----------------------------\r\n[INFO] switchApi Method Called!\r\n[INFO] https://api.pinion.pt\r\n[INFO] --------------------------api.js-end-----------------------------\r\n[INFO] --------------------------services.js-begin-----------------------------\r\n[INFO] --------------------------services.js-end-----------------------------\r\n[INFO] --------------------------login.js-begin-----------------------------\r\n[INFO] switchApi Method Called!\r\n[INFO] https://api.pinion.pt\r\n[INFO] --------------------------ui.js-begin-----------------------------\r\n[DEBUG] PushnotificationsModule: (KrollRuntimeThread) [612,698] unregister called\r\n[INFO] --------------------------app.js-end-----------------------------\r\n[DEBUG] HTTPClient: The persistent handle is disposed.\r\n[DEBUG] PushnotificationsModule: (main) [155,853] Push: ACTIVITY STARTED\r\n[INFO] TiRootActivity: (main) [0,0] checkpoint, on root activity resume. activity = br.com.pinion.PinionActivity@7141bde\r\n[DEBUG] PushnotificationsModule: (main) [1,1] Push: ACTIVITY RESUMED: 1\r\n[DEBUG] PushnotificationsModule: (main) [1,2] Push: unregistering receivers\r\n[DEBUG] PushnotificationsModule: (main) [0,2] Push: finished unregistering receivers\r\n[DEBUG] PushnotificationsModule: (main) [0,2] Push: register receivers\r\n[DEBUG] PushnotificationsModule: (main) [2,4] Push: finished registering receivers\r\n[DEBUG] PushnotificationsModule: (main) [1,5] Push: on resume\r\n[DEBUG] TiFacebookModule: (main) [0,5] Calling activateApp\r\n[DEBUG] OpenGLRenderer: Use EGL_SWAP_BEHAVIOR_PRESERVED: true\r\n[DEBUG] PushnotificationsModule: (main) [42,47] Push: ACTIVITY PAUSED: 0\r\n[DEBUG] PushnotificationsModule: (main) [0,47] Push: unregistering receivers\r\n[DEBUG] PushnotificationsModule: (main) [1,48] Push: finished unregistering receivers\r\n[DEBUG] PushnotificationsModule: (main) [2,50] Push: on pause\r\n[DEBUG] TiFacebookModule: (main) [0,50] Calling deactivateApp\r\n[DEBUG] PushnotificationsModule: (main) [34,84] Push: ACTIVITY CREATED\r\n[DEBUG] AndroidRuntime: Shutting down VM\r\n[ERROR] TiApplication: (main) [16,100] Sending event: exception on thread: main msg:java.lang.RuntimeException: Unable to start activity ComponentInfo{br.com.pinion/org.appcelerator.titanium.TiActivity}: java.lang.NumberFormatException: Unable to convert null; Titanium 6.2.0,2017/09/12 20:39,undefined\r\n[ERROR] TiApplication: java.lang.RuntimeException: Unable to start activity ComponentInfo{br.com.pinion/org.appcelerator.titanium.TiActivity}: java.lang.NumberFormatException: Unable to convert null\r\n[ERROR] TiApplication: \tat android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2426)\r\n[ERROR] TiApplication: \tat android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2490)\r\n[ERROR] TiApplication: \tat android.app.ActivityThread.-wrap11(ActivityThread.java)\r\n[ERROR] TiApplication: \tat android.app.ActivityThread$H.handleMessage(ActivityThread.java:1354)\r\n[ERROR] TiApplication: \tat android.os.Handler.dispatchMessage(Handler.java:102)\r\n[ERROR] TiApplication: \tat android.os.Looper.loop(Looper.java:148)\r\n[ERROR] TiApplication: \tat android.app.ActivityThread.main(ActivityThread.java:5443)\r\n[ERROR] TiApplication: \tat java.lang.reflect.Method.invoke(Native Method)\r\n[ERROR] TiApplication: \tat com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:728)\r\n[ERROR] TiApplication: \tat com.android.internal.os.ZygoteInit.main(ZygoteInit.java:618)\r\n[ERROR] TiApplication: Caused by: java.lang.NumberFormatException: Unable to convert null\r\n[ERROR] TiApplication: \tat org.appcelerator.titanium.util.TiConvert.toInt(TiConvert.java:415)\r\n[ERROR] TiApplication: \tat org.appcelerator.titanium.util.TiConvert.toInt(TiConvert.java:448)\r\n[ERROR] TiApplication: \tat ti.modules.titanium.media.TiUIVideoView.processProperties(TiUIVideoView.java:143)\r\n[ERROR] TiApplication: \tat org.appcelerator.kroll.KrollProxy.setModelListener(KrollProxy.java:1222)\r\n[ERROR] TiApplication: \tat org.appcelerator.titanium.proxy.TiViewProxy.realizeViews(TiViewProxy.java:516)\r\n[ERROR] TiApplication: \tat org.appcelerator.titanium.proxy.TiViewProxy.handleGetView(TiViewProxy.java:507)\r\n[ERROR] TiApplication: \tat org.appcelerator.titanium.proxy.TiViewProxy.getOrCreateView(TiViewProxy.java:485)\r\n[ERROR] TiApplication: \tat org.appcelerator.titanium.proxy.TiViewProxy.realizeViews(TiViewProxy.java:523)\r\n[ERROR] TiApplication: \tat org.appcelerator.titanium.proxy.TiViewProxy.handleGetView(TiViewProxy.java:507)\r\n[ERROR] TiApplication: \tat org.appcelerator.titanium.proxy.TiViewProxy.getOrCreateView(TiViewProxy.java:485)\r\n[ERROR] TiApplication: \tat org.appcelerator.titanium.proxy.TiViewProxy.handleAdd(TiViewProxy.java:695)\r\n[ERROR] TiApplication: \tat org.appcelerator.titanium.proxy.TiViewProxy.add(TiViewProxy.java:588)\r\n[ERROR] TiApplication: \tat ti.modules.titanium.ui.WindowProxy.windowCreated(WindowProxy.java:261)\r\n[ERROR] TiApplication: \tat org.appcelerator.titanium.TiActivityWindows.windowCreated(TiActivityWindows.java:33)\r\n[ERROR] TiApplication: \tat org.appcelerator.titanium.TiBaseActivity.windowCreated(TiBaseActivity.java:564)\r\n[ERROR] TiApplication: \tat org.appcelerator.titanium.TiBaseActivity.onCreate(TiBaseActivity.java:684)\r\n[ERROR] TiApplication: \tat org.appcelerator.titanium.TiActivity.onCreate(TiActivity.java:21)\r\n[ERROR] TiApplication: \tat android.app.Activity.performCreate(Activity.java:6245)\r\n[ERROR] TiApplication: \tat android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1130)\r\n[ERROR] TiApplication: \tat android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2379)\r\n[ERROR] TiApplication: \t... 9 more\r\n[TRACE] updating tiapp metadata with Appcelerator Platform...\r\n[TRACE] Uploaded tiapp metadata with Appcelerator Platform!\r\n{code}\r\n\r\nThanks in advance!", "updateAuthor": { "name": "perdona", "key": "perdona", "displayName": "Caio Perdona", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2017-10-26T20:24:49.000+0000", "updated": "2017-10-26T20:24:49.000+0000" }, { "id": "429696", "author": { "name": "ygbr", "key": "ygbr", "displayName": "Ygor Lemos", "active": true, "timeZone": "America/Sao_Paulo" }, "body": "I'm also getting this on 6.2.0.GA as well.\r\n\r\nOn 6.1.2.GA this doesn't happen for me.", "updateAuthor": { "name": "ygbr", "key": "ygbr", "displayName": "Ygor Lemos", "active": true, "timeZone": "America/Sao_Paulo" }, "created": "2017-10-26T20:27:12.000+0000", "updated": "2017-10-26T20:27:12.000+0000" }, { "id": "429822", "author": { "name": "mchen", "key": "mchen", "displayName": "Maggie Chen", "active": true, "timeZone": "Asia/Singapore" }, "body": "[~perdona] Sorry for the inconvenience. I am interested to find out from you, is there any VideoPlayer involved? Is the error reproducible on every device every time? I met the same error once but it can't be reproduced every time. It would be very helpful if anyone could provide the code can reproduce the error.", "updateAuthor": { "name": "mchen", "key": "mchen", "displayName": "Maggie Chen", "active": true, "timeZone": "Asia/Singapore" }, "created": "2017-10-30T12:25:29.000+0000", "updated": "2017-10-30T12:25:29.000+0000" }, { "id": "429845", "author": { "name": "perdona", "key": "perdona", "displayName": "Caio Perdona", "active": true, "timeZone": "America/Los_Angeles" }, "body": "@Maggie Chen Okay, let's try to find this together.\r\nI do use VideoPlayer in my app, but I didn't think this is what's crashing the app...\r\nAnswering your questions, yes, reproducible on every device every time!\r\nI will try to isolate the videoplayer code and remove it from my first loading, and then post an update here!\r\nThanks in advance!", "updateAuthor": { "name": "perdona", "key": "perdona", "displayName": "Caio Perdona", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2017-10-30T17:41:31.000+0000", "updated": "2017-10-30T17:41:31.000+0000" }, { "id": "429848", "author": { "name": "gmathews", "key": "gmathews", "displayName": "Gary Mathews", "active": true, "timeZone": "America/Los_Angeles" }, "body": "[~perdona] What are you assigning as {{repeatMode}} for your VideoPlayer?\r\n\r\nYou can only use the following:\r\n{code}\r\nTitanium.Media.VIDEO_REPEAT_MODE_NONE\r\nTitanium.Media.VIDEO_REPEAT_MODE_ONE\r\n{code}", "updateAuthor": { "name": "gmathews", "key": "gmathews", "displayName": "Gary Mathews", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2017-10-30T17:56:19.000+0000", "updated": "2017-10-30T17:56:19.000+0000" }, { "id": "429852", "author": { "name": "perdona", "key": "perdona", "displayName": "Caio Perdona", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Touché! I was using null to (maybe?) workaround some other issue... \r\n\r\n{code:javascript}\r\nrepeatMode: (osname == \"iphone\") ? Ti.Media.VIDEO_REPEAT_MODE_ONE : null\r\n{code}\r\n\r\nWill alter that and post feedback here for you guys! Thanks a lot.\r\n", "updateAuthor": { "name": "perdona", "key": "perdona", "displayName": "Caio Perdona", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2017-10-30T18:28:44.000+0000", "updated": "2017-10-30T18:33:28.000+0000" }, { "id": "429854", "author": { "name": "gmathews", "key": "gmathews", "displayName": "Gary Mathews", "active": true, "timeZone": "America/Los_Angeles" }, "body": "This should work:\r\n{code:js}\r\nrepeatMode: osname == 'iphone' ? Ti.Media.VIDEO_REPEAT_MODE_ONE : Ti.Media.VIDEO_REPEAT_MODE_NONE\r\n{code}", "updateAuthor": { "name": "gmathews", "key": "gmathews", "displayName": "Gary Mathews", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2017-10-30T18:38:02.000+0000", "updated": "2017-10-30T18:38:02.000+0000" } ], "maxResults": 13, "total": 13, "startAt": 0 } } }