{ "id": "111761", "key": "TIMOB-13229", "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": [ { "id": "15401", "description": "2013 Sprint 08 Core", "name": "2013 Sprint 08 Core", "archived": true, "released": true, "releaseDate": "2013-04-22" }, { "id": "15106", "description": "2013 Sprint 08", "name": "2013 Sprint 08", "archived": true, "released": true, "releaseDate": "2013-04-22" } ], "resolution": { "id": "11", "description": "Is not a bug in our product", "name": "Not Our Bug" }, "resolutiondate": "2013-04-08T19:42:18.000+0000", "created": "2013-03-27T15:55:55.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [ "triage" ], "versions": [ { "id": "13505", "description": "Release 3.0.0", "name": "Release 3.0.0", "archived": true, "released": true, "releaseDate": "2012-12-14" } ], "issuelinks": [], "assignee": { "name": "ayeung", "key": "ayeung", "displayName": "Allen Yeung", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2017-03-10T21:10:35.000+0000", "status": { "description": "The issue is considered finished, the resolution is correct. Issues which are closed can be reopened.", "name": "Closed", "id": "6", "statusCategory": { "id": 3, "key": "done", "colorName": "green", "name": "Done" } }, "components": [ { "id": "10202", "name": "Android", "description": "Android Platform" } ], "description": "Use Alloy to create a Picker of type Ti.UI.PICKER_TYPE_TIME on Android. When you press the + or - buttons the app crashes fatally with the stack dump given below. \r\n\r\nI will create a test case momentarily.", "attachment": [ { "id": "36692", "filename": "src-code.zip", "author": { "name": "jsemple", "key": "jsemple", "displayName": "James Semple", "active": true, "timeZone": "Europe/London" }, "created": "2013-03-27T18:15:23.000+0000", "size": 5844680, "mimeType": "application/zip" } ], "flagged": false, "summary": "Android: Pressing the plus sign on a TIME_PICKER crashes the app", "creator": { "name": "jsemple", "key": "jsemple", "displayName": "James Semple", "active": true, "timeZone": "Europe/London" }, "subtasks": [], "reporter": { "name": "jsemple", "key": "jsemple", "displayName": "James Semple", "active": true, "timeZone": "Europe/London" }, "environment": "Built with Ti SDK 3.0.2 and Alloy 1.0. Testing on emulator and a Galaxy S3 tethered device. ", "comment": { "comments": [ { "id": "244299", "author": { "name": "jsemple", "key": "jsemple", "displayName": "James Semple", "active": true, "timeZone": "Europe/London" }, "body": "This is from a PoC created by a customer. They are using DATE_PICKER items without a problem but the TIME_PICKER crashes with the following..\n\n[ERROR][TiApplication( 771)] (main) [8687,36044] Sending event: exception on thread: main msg:java.lang.NullPointerException; Titanium 3.0.2,2013/02/15 19:02,5a77fe7\n[ERROR][TiApplication( 771)] java.lang.NullPointerException\n[ERROR][TiApplication( 771)] \tat android.widget.TimePicker.updateInputState(TimePicker.java:580)\n[ERROR][TiApplication( 771)] \tat android.widget.TimePicker.access$000(TimePicker.java:56)\n[ERROR][TiApplication( 771)] \tat android.widget.TimePicker$3.onValueChange(TimePicker.java:178)\n[ERROR][TiApplication( 771)] \tat android.widget.NumberPicker.notifyChange(NumberPicker.java:1750)\n[ERROR][TiApplication( 771)] \tat android.widget.NumberPicker.setValueInternal(NumberPicker.java:1536)\n[ERROR][TiApplication( 771)] \tat android.widget.NumberPicker.changeValueByOne(NumberPicker.java:1564)\n[ERROR][TiApplication( 771)] \tat android.widget.NumberPicker.access$200(NumberPicker.java:88)\n[ERROR][TiApplication( 771)] \tat android.widget.NumberPicker$2.onClick(NumberPicker.java:606)\n[ERROR][TiApplication( 771)] \tat android.view.View.performClick(View.java:4084)\n[ERROR][TiApplication( 771)] \tat android.view.View$PerformClick.run(View.java:16966)\n[ERROR][TiApplication( 771)] \tat android.os.Handler.handleCallback(Handler.java:615)\n[ERROR][TiApplication( 771)] \tat android.os.Handler.dispatchMessage(Handler.java:92)\n[ERROR][TiApplication( 771)] \tat android.os.Looper.loop(Looper.java:137)\n[ERROR][TiApplication( 771)] \tat android.app.ActivityThread.main(ActivityThread.java:4745)\n[ERROR][TiApplication( 771)] \tat java.lang.reflect.Method.invokeNative(Native Method)\n[ERROR][TiApplication( 771)] \tat java.lang.reflect.Method.invoke(Method.java:511)\n[ERROR][TiApplication( 771)] \tat com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:786)\n[ERROR][TiApplication( 771)] \tat com.android.internal.os.ZygoteInit.main(ZygoteInit.java:553)\n[ERROR][TiApplication( 771)] \tat dalvik.system.NativeStart.main(Native Method)\n[ERROR][AndroidRuntime( 771)] FATAL EXCEPTION: main\n[ERROR][AndroidRuntime( 771)] java.lang.NullPointerException\n[ERROR][AndroidRuntime( 771)] \tat android.widget.TimePicker.updateInputState(TimePicker.java:580)\n[ERROR][AndroidRuntime( 771)] \tat android.widget.TimePicker.access$000(TimePicker.java:56)\n[ERROR][AndroidRuntime( 771)] \tat android.widget.TimePicker$3.onValueChange(TimePicker.java:178)\n[ERROR][AndroidRuntime( 771)] \tat android.widget.NumberPicker.notifyChange(NumberPicker.java:1750)\n[ERROR][AndroidRuntime( 771)] \tat android.widget.NumberPicker.setValueInternal(NumberPicker.java:1536)\n[ERROR][AndroidRuntime( 771)] \tat android.widget.NumberPicker.changeValueByOne(NumberPicker.java:1564)\n[ERROR][AndroidRuntime( 771)] \tat android.widget.NumberPicker.access$200(NumberPicker.java:88)\n[ERROR][AndroidRuntime( 771)] \tat android.widget.NumberPicker$2.onClick(NumberPicker.java:606)\n[ERROR][AndroidRuntime( 771)] \tat android.view.View.performClick(View.java:4084)\n[ERROR][AndroidRuntime( 771)] \tat android.view.View$PerformClick.run(View.java:16966)\n[ERROR][AndroidRuntime( 771)] \tat android.os.Handler.handleCallback(Handler.java:615)\n[ERROR][AndroidRuntime( 771)] \tat android.os.Handler.dispatchMessage(Handler.java:92)\n[ERROR][AndroidRuntime( 771)] \tat android.os.Looper.loop(Looper.java:137)\n[ERROR][AndroidRuntime( 771)] \tat android.app.ActivityThread.main(ActivityThread.java:4745)\n[ERROR][AndroidRuntime( 771)] \tat java.lang.reflect.Method.invokeNative(Native Method)\n[ERROR][AndroidRuntime( 771)] \tat java.lang.reflect.Method.invoke(Method.java:511)\n[ERROR][AndroidRuntime( 771)] \tat com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:786)\n[ERROR][AndroidRuntime( 771)] \tat com.android.internal.os.ZygoteInit.main(ZygoteInit.java:553)\n[ERROR][AndroidRuntime( 771)] \tat dalvik.system.NativeStart.main(Native Method)\n[WARN][ActivityManager( 149)] Force finishing activity com.appc.avis2/.Avis2Activity", "updateAuthor": { "name": "jsemple", "key": "jsemple", "displayName": "James Semple", "active": true, "timeZone": "Europe/London" }, "created": "2013-03-27T15:58:40.000+0000", "updated": "2013-03-27T15:58:40.000+0000" }, { "id": "244303", "author": { "name": "tlukasavage", "key": "tlukasavage", "displayName": "Tony Lukasavage", "active": true, "timeZone": "America/Los_Angeles" }, "body": "This seems like a TIMOB Android issue, isn't it? Was this created as an ALOY ticket simply because it happend to be an Alloy built app? Hard to tell with most of the detail missing.\n\n* TiSDK version\n* Alloy version, if they're using it\n* Android version. Emulator or device?\n* code to reproduce this issue", "updateAuthor": { "name": "tlukasavage", "key": "tlukasavage", "displayName": "Tony Lukasavage", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-03-27T16:30:01.000+0000", "updated": "2013-03-27T16:30:01.000+0000" }, { "id": "244342", "author": { "name": "jsemple", "key": "jsemple", "displayName": "James Semple", "active": true, "timeZone": "Europe/London" }, "body": "Source code provided by the customer", "updateAuthor": { "name": "jsemple", "key": "jsemple", "displayName": "James Semple", "active": true, "timeZone": "Europe/London" }, "created": "2013-03-27T18:15:23.000+0000", "updated": "2013-03-27T18:15:23.000+0000" }, { "id": "244346", "author": { "name": "tlukasavage", "key": "tlukasavage", "displayName": "Tony Lukasavage", "active": true, "timeZone": "America/Los_Angeles" }, "body": "I can't unzip the source code. ", "updateAuthor": { "name": "tlukasavage", "key": "tlukasavage", "displayName": "Tony Lukasavage", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-03-27T18:32:16.000+0000", "updated": "2013-03-27T18:32:16.000+0000" }, { "id": "244470", "author": { "name": "jsemple", "key": "jsemple", "displayName": "James Semple", "active": true, "timeZone": "Europe/London" }, "body": "Ok it seems it fails if the picker is inside a table...\n\n\n\t\n\t \n\t \n\t\t\t\t\n\t\t\t\t\n\t\t\t\n\t\t\n\t\n", "updateAuthor": { "name": "jsemple", "key": "jsemple", "displayName": "James Semple", "active": true, "timeZone": "Europe/London" }, "created": "2013-03-28T10:18:18.000+0000", "updated": "2013-03-28T10:18:18.000+0000" }, { "id": "246332", "author": { "name": "ayeung", "key": "ayeung", "displayName": "Allen Yeung", "active": true, "timeZone": "America/Los_Angeles" }, "body": "This looks like a native android bug:\r\n\r\nhttps://code.google.com/p/android/issues/detail?id=24387\r\n\r\nI run into this on an ICS device, but not a 2.3 device as mentioned.", "updateAuthor": { "name": "ayeung", "key": "ayeung", "displayName": "Allen Yeung", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-04-07T20:11:26.000+0000", "updated": "2013-04-08T19:42:07.000+0000" }, { "id": "411355", "author": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Closing ticket as invalid.", "updateAuthor": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2017-03-10T21:10:35.000+0000", "updated": "2017-03-10T21:10:35.000+0000" } ], "maxResults": 8, "total": 8, "startAt": 0 } } }