{ "id": "77986", "key": "TIMOB-4724", "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": "11361", "description": "Mobile 1.8.0 M08", "name": "Sprint 2011-29", "archived": true, "released": true, "releaseDate": "2011-07-25" }, { "id": "11570", "description": "", "name": "Release 1.7.2", "archived": true, "released": true, "releaseDate": "2011-07-21" }, { "id": "11331", "description": "", "name": "Release 1.8.0", "archived": true, "released": true, "releaseDate": "2011-10-31" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2011-07-20T21:55:25.000+0000", "created": "2011-07-19T16:39:00.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [ "kitchensink" ], "versions": [ { "id": "11570", "description": "", "name": "Release 1.7.2", "archived": true, "released": true, "releaseDate": "2011-07-21" } ], "issuelinks": [ { "id": "11710", "type": { "id": "10002", "name": "Duplicate", "inward": "is duplicated by", "outward": "duplicates" }, "inwardIssue": { "id": "77643", "key": "TIMOB-4629", "fields": { "summary": "Android: Email Dialog crashes on 1.8.x", "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": "billdawson", "key": "billdawson", "displayName": "Bill Dawson", "active": true, "timeZone": "Europe/Berlin" }, "updated": "2014-06-19T12:46:10.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": "Description:\r\nWhile testing KitchenSink, Base UI>Views>Email Dialog, I Started the test, the gallery opened to choose a photo attachment and I selected one. When I did this, I got a runtime error dialog.\r\n\r\nThis does not occur with 1.7.1. This also occurs on the Galaxy Tab.\r\n\r\nSteps to Reproduce:\r\n1) Launch KS, built with 1.7.2\r\n2) Navigate to Base UI>Views>Email Dialog\r\n3) Select a photo from the gallery\r\n\r\nResult:\r\nRuntime error\r\n\r\nExpected results:\r\nimage selected and email prepared\r\n\r\nNotes:\r\nSee attached image\r\nDoes not occur with 1.7.1", "attachment": [ { "id": "21892", "filename": "device-2011-07-18-141344.png", "author": { "name": "emerriman", "key": "emerriman", "displayName": "Eric Merriman ", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-07-19T16:39:00.000+0000", "size": 33612, "mimeType": "image/png" } ], "flagged": false, "summary": "KitchenSink: Runtime error after selecting gallery image in Base UI>Views>Email Dialog", "creator": { "name": "emerriman", "key": "emerriman", "displayName": "Eric Merriman ", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "emerriman", "key": "emerriman", "displayName": "Eric Merriman ", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "Nexus S 2.3.2, Titanium Studio, build: 1.0.2.201107130739, SDK 1.7.2.v20110715135838, Galaxy tab 2.3.4", "comment": { "comments": [ { "id": "159991", "author": { "name": "emerriman", "key": "emerriman", "displayName": "Eric Merriman ", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Logcat output:\r\n07-18 14:13:26.180: ERROR/TiMedia(861): (main) [13489,375724] OnResult called: -1\r\n07-18 14:13:26.223: ERROR/KrollMethod(861): (kroll$24: app://examples/email_dialog.js) [42,375766] Exception calling kroll method isSupported, invocation: null ]\r\n07-18 14:13:26.223: ERROR/KrollMethod(861): java.lang.NullPointerException\r\n07-18 14:13:26.223: ERROR/KrollMethod(861): at ti.modules.titanium.ui.EmailDialogProxy.getAttachmentUris(EmailDialogProxy.java:251)\r\n07-18 14:13:26.223: ERROR/KrollMethod(861): at ti.modules.titanium.ui.EmailDialogProxy.buildIntent(EmailDialogProxy.java:115)\r\n07-18 14:13:26.223: ERROR/KrollMethod(861): at ti.modules.titanium.ui.EmailDialogProxy.isSupported(EmailDialogProxy.java:71)\r\n07-18 14:13:26.223: ERROR/KrollMethod(861): at ti.modules.titanium.ui.EmailDialogProxyBindingGen$1.invoke(EmailDialogProxyBindingGen.java:119)\r\n07-18 14:13:26.223: ERROR/KrollMethod(861): at org.appcelerator.kroll.KrollMethod.call(KrollMethod.java:51)\r\n07-18 14:13:26.223: ERROR/KrollMethod(861): at org.mozilla.javascript.Interpreter.interpretLoop(Interpreter.java:1701)\r\n07-18 14:13:26.223: ERROR/KrollMethod(861): at org.mozilla.javascript.Interpreter.interpret(Interpreter.java:854)\r\n07-18 14:13:26.223: ERROR/KrollMethod(861): at org.mozilla.javascript.InterpretedFunction.call(InterpretedFunction.java:164)\r\n07-18 14:13:26.223: ERROR/KrollMethod(861): at org.mozilla.javascript.ContextFactory.doTopCall(ContextFactory.java:426)\r\n07-18 14:13:26.223: ERROR/KrollMethod(861): at org.mozilla.javascript.ScriptRuntime.doTopCall(ScriptRuntime.java:3177)\r\n07-18 14:13:26.223: ERROR/KrollMethod(861): at org.mozilla.javascript.InterpretedFunction.call(InterpretedFunction.java:162)\r\n07-18 14:13:26.223: ERROR/KrollMethod(861): at org.appcelerator.titanium.kroll.KrollCallback.callSync(KrollCallback.java:139)\r\n07-18 14:13:26.223: ERROR/KrollMethod(861): at org.appcelerator.titanium.kroll.KrollCallback$1.run(KrollCallback.java:164)\r\n07-18 14:13:26.223: ERROR/KrollMethod(861): at android.os.Handler.handleCallback(Handler.java:587)\r\n07-18 14:13:26.223: ERROR/KrollMethod(861): at android.os.Handler.dispatchMessage(Handler.java:92)\r\n07-18 14:13:26.223: ERROR/KrollMethod(861): at android.os.Looper.loop(Looper.java:130)\r\n07-18 14:13:26.223: ERROR/KrollMethod(861): at org.appcelerator.titanium.kroll.KrollHandlerThread.run(KrollHandlerThread.java:86)\r\n07-18 14:13:26.243: ERROR/KrollCallback(861): (kroll$24: app://examples/email_dialog.js) [4,375770] Error evaluating source, invocation: [callMethod (anonymous) org.appcelerator.titanium.kroll.KrollCallback@407c8bb0], message: Wrapped java.lang.NullPointerException (app://examples/email_dialog.js#17)\r\n07-18 14:13:26.243: ERROR/KrollCallback(861): org.mozilla.javascript.WrappedException: Wrapped java.lang.NullPointerException (app://examples/email_dialog.js#17)\r\n07-18 14:13:26.243: ERROR/KrollCallback(861): at org.mozilla.javascript.Context.throwAsScriptRuntimeEx(Context.java:1786)\r\n07-18 14:13:26.243: ERROR/KrollCallback(861): at org.appcelerator.kroll.KrollMethod.call(KrollMethod.java:85)\r\n07-18 14:13:26.243: ERROR/KrollCallback(861): at org.mozilla.javascript.Interpreter.interpretLoop(Interpreter.java:1701)\r\n07-18 14:13:26.243: ERROR/KrollCallback(861): at script(app://examples/email_dialog.js:17)\r\n07-18 14:13:26.243: ERROR/KrollCallback(861): at org.mozilla.javascript.Interpreter.interpret(Interpreter.java:854)\r\n07-18 14:13:26.243: ERROR/KrollCallback(861): at org.mozilla.javascript.InterpretedFunction.call(InterpretedFunction.java:164)\r\n07-18 14:13:26.243: ERROR/KrollCallback(861): at org.mozilla.javascript.ContextFactory.doTopCall(ContextFactory.java:426)\r\n07-18 14:13:26.243: ERROR/KrollCallback(861): at org.mozilla.javascript.ScriptRuntime.doTopCall(ScriptRuntime.java:3177)\r\n07-18 14:13:26.243: ERROR/KrollCallback(861): at org.mozilla.javascript.InterpretedFunction.call(InterpretedFunction.java:162)\r\n07-18 14:13:26.243: ERROR/KrollCallback(861): at org.appcelerator.titanium.kroll.KrollCallback.callSync(KrollCallback.java:139)\r\n07-18 14:13:26.243: ERROR/KrollCallback(861): at org.appcelerator.titanium.kroll.KrollCallback$1.run(KrollCallback.java:164)\r\n07-18 14:13:26.243: ERROR/KrollCallback(861): at android.os.Handler.handleCallback(Handler.java:587)\r\n07-18 14:13:26.243: ERROR/KrollCallback(861): at android.os.Handler.dispatchMessage(Handler.java:92)\r\n07-18 14:13:26.243: ERROR/KrollCallback(861): at android.os.Looper.loop(Looper.java:130)\r\n07-18 14:13:26.243: ERROR/KrollCallback(861): at org.appcelerator.titanium.kroll.KrollHandlerThread.run(KrollHandlerThread.java:86)\r\n07-18 14:13:26.243: ERROR/KrollCallback(861): Caused by: java.lang.NullPointerException\r\n07-18 14:13:26.243: ERROR/KrollCallback(861): at ti.modules.titanium.ui.EmailDialogProxy.getAttachmentUris(EmailDialogProxy.java:251)\r\n07-18 14:13:26.243: ERROR/KrollCallback(861): at ti.modules.titanium.ui.EmailDialogProxy.buildIntent(EmailDialogProxy.java:115)\r\n07-18 14:13:26.243: ERROR/KrollCallback(861): at ti.modules.titanium.ui.EmailDialogProxy.isSupported(EmailDialogProxy.java:71)\r\n07-18 14:13:26.243: ERROR/KrollCallback(861): at ti.modules.titanium.ui.EmailDialogProxyBindingGen$1.invoke(EmailDialogProxyBindingGen.java:119)\r\n07-18 14:13:26.243: ERROR/KrollCallback(861): at org.appcelerator.kroll.KrollMethod.call(KrollMethod.java:51)\r\n07-18 14:13:26.243: ERROR/KrollCallback(861): ... 12 more\r\n07-18 14:13:26.247: WARN/IInputConnectionWrapper(615): showStatusIcon on inactive InputConnection\r\n07-18 14:13:26.247: ERROR/TiJSError(861): (kroll$24: app://examples/email_dialog.js) [20,375790] ----- Titanium Javascript Runtime Error -----\r\n07-18 14:13:26.247: ERROR/TiJSError(861): (kroll$24: app://examples/email_dialog.js) [1,375791] - In app://examples/email_dialog.js:17,0\r\n07-18 14:13:26.247: ERROR/TiJSError(861): (kroll$24: app://examples/email_dialog.js) [0,375791] - Message: Wrapped java.lang.NullPointerException (app://examples/email_dialog.js#17)\r\n07-18 14:13:26.247: ERROR/TiJSError(861): (kroll$24: app://examples/email_dialog.js) [1,375792] - Source: null", "updateAuthor": { "name": "emerriman", "key": "emerriman", "displayName": "Eric Merriman ", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-07-19T16:42:19.000+0000", "updated": "2011-07-19T16:42:19.000+0000" }, { "id": "160040", "author": { "name": "thomashuelbert", "key": "thomashuelbert", "displayName": "Thomas Huelbert", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Jul 20 2011 07:02 r97c36894 galaxy xoom (3.2) g2 (2.2.2) galaxy pad (2.3.4)", "updateAuthor": { "name": "thomashuelbert", "key": "thomashuelbert", "displayName": "Thomas Huelbert", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-07-20T09:20:07.000+0000", "updated": "2011-07-20T09:20:07.000+0000" }, { "id": "160157", "author": { "name": "dthorp", "key": "dthorp", "displayName": "Don Thorp", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Need to add Sprint.", "updateAuthor": { "name": "dthorp", "key": "dthorp", "displayName": "Don Thorp", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-07-20T21:54:50.000+0000", "updated": "2011-07-20T21:54:50.000+0000" }, { "id": "160158", "author": { "name": "dthorp", "key": "dthorp", "displayName": "Don Thorp", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Added sprint and task type.", "updateAuthor": { "name": "dthorp", "key": "dthorp", "displayName": "Don Thorp", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-07-20T21:55:25.000+0000", "updated": "2011-07-20T21:55:25.000+0000" } ], "maxResults": 4, "total": 4, "startAt": 0 } } }