{ "id": "91735", "key": "AC-3080", "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": "2012-07-18T10:04:34.000+0000", "created": "2012-05-11T02:16:21.000+0000", "labels": [], "versions": [], "issuelinks": [], "assignee": { "name": "shossain", "key": "shossain", "displayName": "Shak Hossain", "active": false, "timeZone": "America/Los_Angeles" }, "updated": "2016-03-08T07:48:07.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": "ENTRY com.appcelerator.titanium.mobile 4 0 2012-05-11 14:34:14.790\r\n!MESSAGE (Build 1.0.0.1334372201) [ERROR] C:\\Users\\Gnanaoly.SDI\\AppData\\Local\\Titanium Studio\\plugins\\com.appcelerator.titanium.python.win32_1.0.0.1331647813\\python\\python.exe: can't open file 'C:\\Users\\Gnanaoly.SDI\\AppData\\Roaming\\Titanium\\mobilesdk\\win32\\2.0.2.v20120510223154\\android\\avd.py': [Errno 2] No such file or directory\r\n\r\n!STACK 0\r\nUnexpected character (C) at position 0.\r\n\tat org.json.simple.parser.Yylex.yylex(Yylex.java:611)\r\n\tat org.json.simple.parser.JSONParser.nextToken(JSONParser.java:270)\r\n\tat org.json.simple.parser.JSONParser.parse(JSONParser.java:119)\r\n\tat org.json.simple.parser.JSONParser.parse(JSONParser.java:82)\r\n\tat com.appcelerator.titanium.mobile.android.AndroidSDKLocator.initialize(AndroidSDKLocator.java:129)\r\n\tat com.appcelerator.titanium.mobile.android.AndroidSDKLocator.(AndroidSDKLocator.java:73)\r\n\tat com.appcelerator.titanium.ui.preferences.TitaniumPreferencePage.updateAvailableAndroidSDKCombo(TitaniumPreferencePage.java:557)\r\n\tat com.appcelerator.titanium.ui.preferences.TitaniumPreferencePage.createAndroidGroup(TitaniumPreferencePage.java:385)\r\n\tat com.appcelerator.titanium.ui.preferences.TitaniumPreferencePage.createMobileOptions(TitaniumPreferencePage.java:187)\r\n\tat com.appcelerator.titanium.ui.preferences.TitaniumPreferencePage.createFieldEditors(TitaniumPreferencePage.java:149)\r\n\tat org.eclipse.jface.preference.FieldEditorPreferencePage.createContents(FieldEditorPreferencePage.java:227)\r\n\tat org.eclipse.jface.preference.PreferencePage.createControl(PreferencePage.java:232)\r\n\tat org.eclipse.jface.preference.PreferenceDialog.createPageControl(PreferenceDialog.java:1501)\r\n\tat org.eclipse.jface.preference.PreferenceDialog$14.run(PreferenceDialog.java:1258)\r\n\tat org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)\r\n\tat org.eclipse.ui.internal.JFaceUtil$1.run(JFaceUtil.java:49)\r\n\tat org.eclipse.jface.util.SafeRunnable.run(SafeRunnable.java:175)\r\n\tat org.eclipse.jface.preference.PreferenceDialog.showPage(PreferenceDialog.java:1252)\r\n\tat org.eclipse.ui.internal.dialogs.FilteredPreferenceDialog.showPage(FilteredPreferenceDialog.java:674)\r\n\tat org.eclipse.jface.preference.PreferenceDialog$10.run(PreferenceDialog.java:708)\r\n\tat org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70)\r\n\tat org.eclipse.jface.preference.PreferenceDialog$9.selectionChanged(PreferenceDialog.java:704)\r\n\tat org.eclipse.jface.viewers.StructuredViewer$3.run(StructuredViewer.java:888)\r\n\tat org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)\r\n\tat org.eclipse.ui.internal.JFaceUtil$1.run(JFaceUtil.java:49)\r\n\tat org.eclipse.jface.util.SafeRunnable.run(SafeRunnable.java:175)\r\n\tat org.eclipse.jface.viewers.StructuredViewer.firePostSelectionChanged(StructuredViewer.java:886)\r\n\tat org.eclipse.jface.viewers.StructuredViewer.handlePostSelect(StructuredViewer.java:1226)\r\n\tat org.eclipse.jface.viewers.StructuredViewer$5.widgetSelected(StructuredViewer.java:1251)\r\n\tat org.eclipse.jface.util.OpenStrategy.firePostSelectionEvent(OpenStrategy.java:262)\r\n\tat org.eclipse.jface.util.OpenStrategy.access$5(OpenStrategy.java:256)\r\n\tat org.eclipse.jface.util.OpenStrategy$3.run(OpenStrategy.java:433)\r\n\tat org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)\r\n\tat org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:135)\r\n\tat org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:4140)\r\n\tat org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3757)\r\n\tat org.eclipse.jface.window.Window.runEventLoop(Window.java:825)\r\n\tat org.eclipse.jface.window.Window.open(Window.java:801)\r\n\tat org.eclipse.ui.internal.dialogs.WorkbenchPreferenceDialog.open(WorkbenchPreferenceDialog.java:215)\r\n\tat org.eclipse.ui.internal.handlers.ShowPreferencePageHandler.execute(ShowPreferencePageHandler.java:54)\r\n\tat org.eclipse.ui.internal.handlers.HandlerProxy.execute(HandlerProxy.java:293)\r\n\tat org.eclipse.core.commands.Command.executeWithChecks(Command.java:476)\r\n\tat org.eclipse.core.commands.ParameterizedCommand.executeWithChecks(ParameterizedCommand.java:508)\r\n\tat org.eclipse.ui.internal.handlers.HandlerService.executeCommand(HandlerService.java:169)\r\n\tat org.eclipse.ui.internal.handlers.SlaveHandlerService.executeCommand(SlaveHandlerService.java:241)\r\n\tat org.eclipse.ui.internal.actions.CommandAction.runWithEvent(CommandAction.java:157)\r\n\tat org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:584)\r\n\tat org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:501)\r\n\tat org.eclipse.jface.action.ActionContributionItem$5.handleEvent(ActionContributionItem.java:411)\r\n\tat org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)\r\n\tat org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1053)\r\n\tat org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4165)\r\n\tat org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3754)\r\n\tat org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2701)\r\n\tat org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2665)\r\n\tat org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2499)\r\n\tat org.eclipse.ui.internal.Workbench$7.run(Workbench.java:679)\r\n\tat org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)\r\n\tat org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:668)\r\n\tat org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)\r\n\tat com.appcelerator.titanium.rcp.IDEApplication.start(IDEApplication.java:125)\r\n\tat org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)\r\n\tat org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)\r\n\tat org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)\r\n\tat org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:344)\r\n\tat org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)\r\n\tat sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\r\n\tat sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)\r\n\tat sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)\r\n\tat java.lang.reflect.Method.invoke(Unknown Source)\r\n\tat org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:622)\r\n\tat org.eclipse.equinox.launcher.Main.basicRun(Main.java:577)\r\n\tat org.eclipse.equinox.launcher.Main.run(Main.java:1410)\r\n", "attachment": [], "flagged": false, "summary": "SDK configuration not support", "creator": { "name": "gnanaoli", "key": "gnanaoli", "displayName": "Gnanaoly", "active": true, "timeZone": "Asia/Kolkata" }, "subtasks": [], "reporter": { "name": "gnanaoli", "key": "gnanaoli", "displayName": "Gnanaoly", "active": true, "timeZone": "Asia/Kolkata" }, "environment": "windows 7 Titanium Studio, build: 2.0.1.201204132053 ", "comment": { "comments": [ { "id": "208090", "author": { "name": "jyounus", "key": "jyounus", "displayName": "Junaid Younus", "active": true, "timeZone": "Europe/London" }, "body": "Hey Gnanaoly,\r\n\r\nCan you explain what the issue is here? Why did you get this error? Where did you get this error log from? Can you please elaborate what is happening here?\r\n\r\nI will move the ticket for the TiStudio team to look into, once I get more info from you.\r\n\r\nThanks", "updateAuthor": { "name": "jyounus", "key": "jyounus", "displayName": "Junaid Younus", "active": true, "timeZone": "Europe/London" }, "created": "2012-07-17T10:36:10.000+0000", "updated": "2012-07-17T10:36:10.000+0000" }, { "id": "208241", "author": { "name": "gnanaoli", "key": "gnanaoli", "displayName": "Gnanaoly", "active": true, "timeZone": "Asia/Kolkata" }, "body": "Thanks Junaid Younus,\r\n\r\nI got the solution for this bug. Just uninstalled and installed again the mobile sdk and Titanium studio also removed the updated version that time. Now it is working properly.\r\n\r\n\r\nI need your support on the following bug.\r\n\r\nIntent Result Activity return.\r\n===============================\r\n\r\nThe Android intent result activity will get the image objects and image path. \r\n\r\nBut Titanium supporting only for returning the image path . Please review my queries and let me know. \r\n\r\n\r\nHuawei U8650 will returning the image path is null. \"It will return the image object.\" \r\n\r\nI have explained the both titanium and android code : The Titanium intent result activity not supporting the object return.\r\n\r\nTitanium code: http://pastie.org/4264311\r\n\r\nAndroid code :\r\n\r\nIntent camera = new Intent(MediaStore.ACTION_IMAGE_CAPTURE);\r\n\t\t\r\nstartActivityForResult(camera, TAKE_PHOTO_CODE);\r\n\r\n\r\n/* onActivityResult indent will return the object and Image stored path. The Huawei will return the Image object and it will never allow to store the image to external or internal memory. The Huawei will support only the method 1 */\r\n\r\n\tpublic void onActivityResult(int requestCode, int resultCode, Intent dataReturnedIntent) {\r\n super.onActivityResult(requestCode, resultCode, dataReturnedIntent);\r\n\r\nString filePath=null;\r\nint lastslash;\r\nString fileName;\r\n\r\nBitmap mImageBitmap;\r\n switch(requestCode) { \r\n \r\n case TAKE_PHOTO_CODE: \r\n \r\n if (resultCode == Activity.RESULT_OK) {\r\n\r\n if(dataReturnedIntent!=null){\r\n \t \r\n\r\n/*******************************************************************************************************************\r\n* Method 1\r\n*\r\n*The following code is supporting the following mobiles Htc EVO4G, Sony, Huawei U8650 and ect.,\r\n*\r\n*****************************************************************************************************************/\r\n \t\r\n \t \r\n Bundle extras = dataReturnedIntent.getExtras();. \r\n\r\n \t mImageBitmap = (Bitmap) extras.get(\"data\");\r\n \t \r\n \t imageView1.setImageBitmap(mImageBitmap);\r\n \t\r\n/****************************************************************************************************************/\r\n* Method 2\r\n*\r\n* Not supporting the following code for android Huawei U8650. The following code is supporting the \r\n*\r\n*****************************************************************************************************************/ \t \t\r\n\r\n\r\n\r\n\t\t Uri capturedImage=null;\r\n \t \r\n \t try{\r\n \t\t capturedImage =dataReturnedIntent.getData(); // The intent will return the objects and path \r\n \t }catch (Exception e) {\r\n\t\t\t\t\t\t\te.printStackTrace();\r\n\t\t\t\t\t\t}\r\n \t\r\n \t\r\n \tString strrr= getPath(capturedImage);\r\n \t \t\r\n \tString str=\" \";\r\n \tif(capturedImage!=null){\r\n \t\tstr=capturedImage.getPath();\r\n \t\t\r\n \t\tlblPath.setText(str);\r\n \t\t\r\n \t\t \t}\r\n\r\n Log.i(\"camera\", \"Selected image: \"+str);\r\n\t\t\t\t\t\t \r\n\r\n\r\n }\r\n \r\n\t\t\t\t\t\r\n\r\n }\r\n else {\r\n \t\r\n \t \t\t\r\n Log.i(\"Camera\", \"Result code was \" + resultCode);\r\n\r\n }\r\n break;\r\n\r\n\r\n }//switch case close\r\n \r\n \r\n }\r\n\r\n/*********************************************************************************************************/\r\n\r\n\r\n\r\n\r\nThanks,", "updateAuthor": { "name": "gnanaoli", "key": "gnanaoli", "displayName": "Gnanaoly", "active": true, "timeZone": "Asia/Kolkata" }, "created": "2012-07-17T23:57:53.000+0000", "updated": "2012-07-17T23:57:53.000+0000" }, { "id": "208318", "author": { "name": "jyounus", "key": "jyounus", "displayName": "Junaid Younus", "active": true, "timeZone": "Europe/London" }, "body": "Hey Gnanaoly,\r\n\r\nPlease post this in the Community Q&A: http://developer.appcelerator.com/questions/newest\r\n\r\nI'm afraid we only offer technical support to plan subscribers. If you wish to become a subscriber you can find more information here: http://www.appcelerator.com/plans-pricing\r\n\r\nI will have to close this ticket, as this is the wrong section. Please post your question on the Q&A, mentioned above.\r\n\r\nThanks", "updateAuthor": { "name": "jyounus", "key": "jyounus", "displayName": "Junaid Younus", "active": true, "timeZone": "Europe/London" }, "created": "2012-07-18T10:04:07.000+0000", "updated": "2012-07-18T10:04:07.000+0000" } ], "maxResults": 3, "total": 3, "startAt": 0 } } }