{ "id": "100484", "key": "TIMOB-10789", "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": { "id": "3", "description": "The problem is a duplicate of an existing issue.", "name": "Duplicate" }, "resolutiondate": "2012-09-10T10:10:46.000+0000", "created": "2012-09-05T10:29:08.000+0000", "priority": { "name": "Critical", "id": "1" }, "labels": [ "api", "regression" ], "versions": [ { "id": "13505", "description": "Release 3.0.0", "name": "Release 3.0.0", "archived": true, "released": true, "releaseDate": "2012-12-14" } ], "issuelinks": [ { "id": "20686", "type": { "id": "10002", "name": "Duplicate", "inward": "is duplicated by", "outward": "duplicates" }, "outwardIssue": { "id": "100451", "key": "TIMOB-10769", "fields": { "summary": "Android: Views - ScrollableViews crashes on launch", "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" } }, "priority": { "name": "High", "id": "2" }, "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } } ], "assignee": { "name": "hpham", "key": "hpham", "displayName": "Hieu Pham", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2017-03-21T23:10:02.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": "h4.Problem\r\nThere is a regression in SDK 2.2.0.v20120904164912: if you make a reference to Ti.Gesture.orientation the app will crash.\r\n\r\nWorks in 2.1.2.GA\r\nBroken in 2.2.0.v20120904164912\r\n\r\nh4.Testcase\r\n{panel:title=app.js}\r\n{code}\r\nTi.UI.setBackgroundColor('#000');\r\n\r\nvar win1 = Ti.UI.createWindow({\r\n exitOnClose:true,\r\n navBarHidden:false,\r\n backgroundColor:'#fff'\r\n });\r\n\r\nvar label1 = Ti.UI.createLabel({\r\n\tcolor:'#999',\r\n\ttext:'Original Orientation: '+Ti.Gesture.orientation,\r\n\tfont:{fontSize:20,fontFamily:'Helvetica Neue'},\r\n\ttextAlign:'center',\r\n\twidth:'auto'\r\n});\r\n\r\nwin1.add(label1);\r\nwin1.open();\r\n{code}\r\n{panel}\r\n\r\n\r\nh4.Log\r\n{panel:title=android emulator log}\r\n{code}\r\n...\r\n[INFO][ActivityManager( 60)] Starting activity: Intent { act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10200000 cmp=com.eCotton.GestureOrientationTest/.GestureorientationtestActivity }\r\n[INFO][ActivityManager( 60)] Start proc com.eCotton.GestureOrientationTest for activity com.eCotton.GestureOrientationTest/.GestureorientationtestActivity: pid=282 uid=10039 gids={1015, 3003}\r\n[INFO][TiApplication( 282)] (main) [0,0] checkpoint, app created.\r\n[INFO][TiApplication( 282)] (main) [551,551] Titanium 2.2.0 (2012/09/04 16:49 b782790)\r\n[INFO][TiDbHelper( 282)] (main) [220,771] No value in database for platform key: 'unique_machine_id' returning supplied default ''\r\n[INFO][TiDbHelper( 282)] (main) [22,793] No value in database for platform key: 'hardware_machine_id' returning supplied default ''\r\n[INFO][TiApplication( 282)] (main) [14,915] Titanium Javascript runtime: v8\r\n[INFO][TiRootActivity( 282)] (main) [0,0] checkpoint, on root activity create, savedInstanceState: null\r\n[INFO][TiApplication( 282)] (main) [1,1] Analytics have been disabled\r\n[ERROR][TiApplication( 282)] (KrollRuntimeThread) [2359,2360] APP PROXY: ti.modules.titanium.app.AppModule@43eaa800\r\n[WARN][V8Object( 282)] Runtime disposed, cannot set property 'userAgent'\r\n[ERROR][KrollProxy( 282)] (KrollRuntimeThread) [895,3255] Error creating proxy\r\n[ERROR][KrollProxy( 282)] java.lang.NullPointerException\r\n[ERROR][KrollProxy( 282)] \tat org.apache.harmony.luni.util.FloatingPointParser.parseDouble(FloatingPointParser.java:263)\r\n[ERROR][KrollProxy( 282)] \tat java.lang.Double.parseDouble(Double.java:287)\r\n[ERROR][KrollProxy( 282)] \tat org.appcelerator.titanium.TiProperties.getDouble(TiProperties.java:136)\r\n[ERROR][KrollProxy( 282)] \tat ti.modules.titanium.gesture.GestureModule.(GestureModule.java:55)\r\n[ERROR][KrollProxy( 282)] \tat java.lang.Class.newInstanceImpl(Native Method)\r\n[ERROR][KrollProxy( 282)] \tat java.lang.Class.newInstance(Class.java:1429)\r\n[ERROR][KrollProxy( 282)] \tat org.appcelerator.kroll.KrollProxy.createProxy(KrollProxy.java:134)\r\n[ERROR][KrollProxy( 282)] \tat org.appcelerator.kroll.runtime.v8.V8Runtime.nativeRunModule(Native Method)\r\n[ERROR][KrollProxy( 282)] \tat org.appcelerator.kroll.runtime.v8.V8Runtime.doRunModule(V8Runtime.java:140)\r\n[ERROR][KrollProxy( 282)] \tat org.appcelerator.kroll.KrollRuntime.handleMessage(KrollRuntime.java:284)\r\n[ERROR][KrollProxy( 282)] \tat org.appcelerator.kroll.runtime.v8.V8Runtime.handleMessage(V8Runtime.java:166)\r\n[ERROR][KrollProxy( 282)] \tat android.os.Handler.dispatchMessage(Handler.java:95)\r\n[ERROR][KrollProxy( 282)] \tat android.os.Looper.loop(Looper.java:123)\r\n[ERROR][KrollProxy( 282)] \tat org.appcelerator.kroll.KrollRuntime$KrollRuntimeThread.run(KrollRuntime.java:108)\r\n[INFO][DEBUG ( 31)] *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***\r\n[INFO][DEBUG ( 31)] Build fingerprint: 'generic/sdk/generic/:2.2/FRF91/43546:eng/test-keys'\r\n[INFO][DEBUG ( 31)] pid: 282, tid: 290 >>> com.eCotton.GestureOrientationTest <<<\r\n[INFO][DEBUG ( 31)] signal 11 (SIGSEGV), fault addr 00000000\r\n[INFO][DEBUG ( 31)] r0 00000007 r1 4127c600 r2 4127c600 r3 00000000\r\n[INFO][DEBUG ( 31)] r4 00000000 r5 00228fa8 r6 4127c600 r7 00000000\r\n[INFO][DEBUG ( 31)] r8 0025b5c8 r9 0025c580 10 267ed345 fp 0025b5c8\r\n[INFO][DEBUG ( 31)] ip 80888110 sp 465b66d0 lr 80846dad pc 8083e98e cpsr 00000030\r\n[INFO][DEBUG ( 31)] #00 pc 0003e98e /system/lib/libdvm.so\r\n[INFO][DEBUG ( 31)] #01 pc 0002f24c /system/lib/libdvm.so\r\n[INFO][DEBUG ( 31)] #02 pc 000c6906 /data/data/com.eCotton.GestureOrientationTest/lib/libkroll-v8.so\r\n[INFO][DEBUG ( 31)] #03 pc 00258efc /data/data/com.eCotton.GestureOrientationTest/lib/libkroll-v8.so\r\n[INFO][DEBUG ( 31)] \r\n[INFO][DEBUG ( 31)] code around pc:\r\n[INFO][DEBUG ( 31)] 8083e96c b0059c03 1c211c18 46c0bdf0 6905b5f0 \r\n[INFO][DEBUG ( 31)] 8083e97c 1c161c0c b0852101 1c1f1c28 fa02f008 \r\n[INFO][DEBUG ( 31)] 8083e98c 68201c31 fbe2f021 d1051e01 21071c28 \r\n[INFO][DEBUG ( 31)] 8083e99c f9f8f008 e00c2000 9300ab02 1c221c28 \r\n[INFO][DEBUG ( 31)] 8083e9ac 97012301 f942f015 21071c28 f9eaf008 \r\n[INFO][DEBUG ( 31)] \r\n[INFO][DEBUG ( 31)] code around lr:\r\n[INFO][DEBUG ( 31)] 80846d8c 00000374 1c04b570 28001c0d f7ffd102 \r\n[INFO][DEBUG ( 31)] 80846d9c 1c04ff75 2d016866 1c20d102 ffc8f7ff \r\n[INFO][DEBUG ( 31)] 80846dac 60651c30 46c0bd70 b087b5f0 f7ff9005 \r\n[INFO][DEBUG ( 31)] 80846dbc 4d29ff65 1c044b29 6940447d 27f058ee \r\n[INFO][DEBUG ( 31)] 80846dcc 900400bf f01059f0 9904ff33 d0404281 \r\n[INFO][DEBUG ( 31)] \r\n[INFO][DEBUG ( 31)] stack:\r\n[INFO][DEBUG ( 31)] 465b6690 465b6698 \r\n[INFO][DEBUG ( 31)] 465b6694 465b670c \r\n[INFO][DEBUG ( 31)] 465b6698 00000000 \r\n[INFO][DEBUG ( 31)] 465b669c 39b559a0 \r\n[INFO][DEBUG ( 31)] 465b66a0 81451904 /data/data/com.eCotton.GestureOrientationTest/lib/libkroll-v8.so\r\n[INFO][DEBUG ( 31)] 465b66a4 808408e5 /system/lib/libdvm.so\r\n[INFO][DEBUG ( 31)] 465b66a8 00000000 \r\n[INFO][DEBUG ( 31)] 465b66ac 00228fa8 [heap]\r\n[INFO][DEBUG ( 31)] 465b66b0 00000001 \r\n[INFO][DEBUG ( 31)] 465b66b4 00000007 \r\n[INFO][DEBUG ( 31)] 465b66b8 00000000 \r\n[INFO][DEBUG ( 31)] 465b66bc 80846dad /system/lib/libdvm.so\r\n[INFO][DEBUG ( 31)] 465b66c0 00000000 \r\n[INFO][DEBUG ( 31)] 465b66c4 00228fa8 [heap]\r\n[INFO][DEBUG ( 31)] 465b66c8 df002777 \r\n[INFO][DEBUG ( 31)] 465b66cc e3a070ad \r\n[INFO][DEBUG ( 31)] #00 465b66d0 00000000 \r\n[INFO][DEBUG ( 31)] 465b66d4 8082eef7 /system/lib/libdvm.so\r\n[INFO][DEBUG ( 31)] 465b66d8 0022bf78 [heap]\r\n[INFO][DEBUG ( 31)] 465b66dc 8086d12c /system/lib/libdvm.so\r\n[INFO][DEBUG ( 31)] 465b66e0 8086d12c /system/lib/libdvm.so\r\n[INFO][DEBUG ( 31)] 465b66e4 8083e979 /system/lib/libdvm.so\r\n[INFO][DEBUG ( 31)] 465b66e8 0022bf78 [heap]\r\n[INFO][DEBUG ( 31)] 465b66ec 4127c600 /dev/ashmem/dalvik-LinearAlloc (deleted)\r\n[INFO][DEBUG ( 31)] 465b66f0 00000000 \r\n[INFO][DEBUG ( 31)] 465b66f4 8082f24f /system/lib/libdvm.so\r\n[INFO][DEBUG ( 31)] #01 465b66f8 8086d12c /system/lib/libdvm.so\r\n[INFO][DEBUG ( 31)] 465b66fc 00000011 \r\n[INFO][DEBUG ( 31)] 465b6700 465b676c \r\n[INFO][DEBUG ( 31)] 465b6704 81072ea3 /data/data/com.eCotton.GestureOrientationTest/lib/libkroll-v8.so\r\n[INFO][DEBUG ( 31)] 465b6708 412725bc /dev/ashmem/dalvik-LinearAlloc (deleted)\r\n[INFO][DEBUG ( 31)] 465b670c 00000000 \r\n[INFO][DEBUG ( 31)] 465b6710 00263ae0 [heap]\r\n[INFO][DEBUG ( 31)] 465b6714 0022bf78 [heap]\r\n[INFO][DEBUG ( 31)] 465b6718 8082f1bd /system/lib/libdvm.so\r\n[INFO][DEBUG ( 31)] 465b671c 00000000 \r\n[INFO][DEBUG ( 31)] 465b6720 00000000 \r\n[INFO][DEBUG ( 31)] 465b6724 810c6909 /data/data/com.eCotton.GestureOrientationTest/lib/libkroll-v8.so\r\n[INFO][ActivityManager( 60)] Process com.eCotton.GestureOrientationTest (pid 282) has died.\r\n...\r\n{code}\r\n{panel}\r\n", "attachment": [], "flagged": false, "summary": "Android: Ti.Gesture.orientation reference crashes app", "creator": { "name": "bitshftr", "key": "bitshftr", "displayName": "Shawn Lipscomb", "active": true, "timeZone": "America/New_York" }, "subtasks": [], "reporter": { "name": "bitshftr", "key": "bitshftr", "displayName": "Shawn Lipscomb", "active": true, "timeZone": "America/New_York" }, "environment": "- Android 2.2 emulator\r\n- Titanium Mobile SDK 2.2.0.v20120904164912\r\n- Titanium Studio 2.1.2.201208301612\r\nLG Optimus V\r\nandroid 2.2", "comment": { "comments": [ { "id": "218149", "author": { "name": "bitshftr", "key": "bitshftr", "displayName": "Shawn Lipscomb", "active": true, "timeZone": "America/New_York" }, "body": "Helpdesk ticket: [APP-795715|https://support.appcelerator.com/tickets/APP-795715]", "updateAuthor": { "name": "bitshftr", "key": "bitshftr", "displayName": "Shawn Lipscomb", "active": true, "timeZone": "America/New_York" }, "created": "2012-09-10T05:32:59.000+0000", "updated": "2012-09-10T05:32:59.000+0000" }, { "id": "218181", "author": { "name": "pwang", "key": "pwang", "displayName": "Ping Wang", "active": true, "timeZone": "America/Los_Angeles" }, "body": "From the crash log, this is a duplicate of TIMOB-10769.\r\nTested with latest master, can not reproduce the crash any more.", "updateAuthor": { "name": "pwang", "key": "pwang", "displayName": "Ping Wang", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-09-10T10:10:23.000+0000", "updated": "2012-09-10T10:10:23.000+0000" }, { "id": "220128", "author": { "name": "bitshftr", "key": "bitshftr", "displayName": "Shawn Lipscomb", "active": true, "timeZone": "America/New_York" }, "body": "Verified fixed with SDK 3.0.0.v20120921051359.", "updateAuthor": { "name": "bitshftr", "key": "bitshftr", "displayName": "Shawn Lipscomb", "active": true, "timeZone": "America/New_York" }, "created": "2012-09-21T09:42:36.000+0000", "updated": "2012-09-21T09:42:36.000+0000" }, { "id": "228913", "author": { "name": "bitshftr", "key": "bitshftr", "displayName": "Shawn Lipscomb", "active": true, "timeZone": "America/New_York" }, "body": "Also verified fixed with SDK 2.1.4GA and 2.1.3GA", "updateAuthor": { "name": "bitshftr", "key": "bitshftr", "displayName": "Shawn Lipscomb", "active": true, "timeZone": "America/New_York" }, "created": "2012-11-28T22:13:56.000+0000", "updated": "2012-11-28T22:16:36.000+0000" }, { "id": "414660", "author": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Closing ticket as duplicate with reference to the above comments.", "updateAuthor": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2017-03-21T23:10:02.000+0000", "updated": "2017-03-21T23:10:02.000+0000" } ], "maxResults": 6, "total": 6, "startAt": 0 } } }