{ "id": "125233", "key": "AC-1767", "fields": { "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false }, "project": { "id": "12217", "key": "AC", "name": "Appcelerator - INBOX", "projectCategory": { "id": "10000", "description": "", "name": "Customer Service" } }, "resolution": { "id": "7", "description": "", "name": "Invalid" }, "resolutiondate": "2014-01-23T06:18:03.000+0000", "created": "2014-01-22T16:54:11.000+0000", "labels": [], "versions": [], "issuelinks": [], "assignee": { "name": "ragrawal", "key": "ragrawal", "displayName": "Ritu Agrawal", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2016-03-08T07:40:39.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": [], "description": "h3. Steps to Reproduce\nI have recently installed Appcelerator (I'm a newbie), but believe I have got the latest. However I have a simpe app with a call:\n\nvar recording = Ti.Media.createAudioRecorder();\n\nOn running app get error:\nMessage: Uncaught TypeError: Object # has no method 'createAudioRecorder'.\n\nDetailed stack:\n\nProject built successfully in 2m 20s 110ms\n-- Start application log -----------------------------------------------------\n[INFO] : TiApplication: (main) [0,0] checkpoint, app created.\n[INFO] : TiApplication: (main) [333,333] Titanium 3.2.0 (2013/12/20 10:57 d9182d6)\n[INFO] : TiDbHelper: (main) [148,481] No value in database for platform key: 'unique_machine_id' returning supplied default ''\n[INFO] : TiDbHelper: (main) [34,515] No value in database for platform key: 'hardware_machine_id' returning supplied default ''\n[INFO] : TiApplication: (main) [147,662] Titanium Javascript runtime: v8\n[WARN] : linker: libstlport_shared.so has text relocations. This is wasting memory and is a security risk. Please fix.\n[WARN] : linker: libkroll-v8.so has text relocations. This is wasting memory and is a security risk. Please fix.\n[INFO] : TiRootActivity: (main) [1,1] checkpoint, on root activity create, savedInstanceState: null\n[INFO] : TiAnalyticsDb: (main) [110,111] Upgrading Database from 1 to 4\n[WARN] : V8Object: Runtime disposed, cannot set property 'userAgent'\n[ERROR] : TiExceptionHandler: (main) [3088,3199] ----- Titanium Javascript Runtime Error -----\n[ERROR] : TiExceptionHandler: (main) [4,3203] - In app.js:32,26\n[ERROR] : TiExceptionHandler: (main) [5,3208] - Message: Uncaught TypeError: Object # has no method 'createAudioRecorder'\n[ERROR] : TiExceptionHandler: (main) [5,3213] - Source: var recording = Ti.Media.createAudioRecorder();\n[INFO] : I/dalvikvm-heap: Grow heap (frag case) to 4.410MB for 1127536-byte allocation\n[ERROR] : V8Exception: Exception occurred at app.js:32: Uncaught TypeError: Object # has no method 'createAudioRecorder'\n[INFO] : I/dalvikvm-heap: Grow heap (frag case) to 7.525MB for 2731536-byte allocation\n[WARN] : linker: libtiverify.so has text relocations. This is wasting memory and is a security risk. Please fix.\n[INFO] : TiRootActivity: (main) [0,0] checkpoint, on root activity resume. activity = com.vt.recordSimple.RecordsimpleActivity@b1d48c98\n[INFO] : Choreographer: Skipped 96 frames! The application may be doing too much work on its main thread.\n[INFO] : Choreographer: Skipped 48 frames! The application may be doing too much work on its main thread.\n[INFO] : Process: Sending signal. PID: 1700 SIG: 9\n[ERROR] Application Installer abnormal process termination. Process exit value was 1\n\nh3. Actual Result\nError on running - see above\n\nh3. Expected Result\nNo errors on running", "attachment": [ { "id": "45293", "filename": "diagnostic4149646936858594550.log", "author": { "name": "richard49bc", "key": "richard49bc", "displayName": "Richard Botting", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-01-22T16:54:16.000+0000", "size": 14668, "mimeType": "text/plain" }, { "id": "45294", "filename": "diagnotics check.txt", "author": { "name": "richard49bc", "key": "richard49bc", "displayName": "Richard Botting", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-01-22T16:54:18.000+0000", "size": 12460, "mimeType": "text/plain" } ], "flagged": false, "summary": "Type error 'createAudioRecorder' missing", "creator": { "name": "richard49bc", "key": "richard49bc", "displayName": "Richard Botting", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "richard49bc", "key": "richard49bc", "displayName": "Richard Botting", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "Titanium Studio 3.2.0", "comment": { "comments": [ { "id": "289289", "author": { "name": "ragrawal", "key": "ragrawal", "displayName": "Ritu Agrawal", "active": true, "timeZone": "America/Los_Angeles" }, "body": "[~richard49bc] This error indicates that you are using this method for Android platform. However, this method is supported only on iOS platform as documented below.\r\n\r\nhttp://docs.appcelerator.com/titanium/latest/#!/api/Titanium.Media-method-createAudioRecorder\r\n", "updateAuthor": { "name": "ragrawal", "key": "ragrawal", "displayName": "Ritu Agrawal", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-01-22T20:56:09.000+0000", "updated": "2014-01-23T06:17:47.000+0000" } ], "maxResults": 1, "total": 1, "startAt": 0 } } }