{ "id": "148967", "key": "AC-171", "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": "5", "description": "All attempts at reproducing this issue failed, or not enough information was available to reproduce the issue. Reading the code produces no clues as to why this behavior would occur. If more information appears later, please reopen the issue.", "name": "Cannot Reproduce" }, "resolutiondate": "2015-11-11T18:36:15.000+0000", "created": "2015-06-19T19:30:06.000+0000", "labels": [ "nullpointerexception", "save", "tiapp.xml" ], "versions": [], "issuelinks": [], "assignee": { "name": "mrahman", "key": "mrahman", "displayName": "Mostafizur Rahman", "active": true, "timeZone": "Asia/Dhaka" }, "updated": "2015-11-11T18:36:15.000+0000", "status": { "description": "A resolution has been taken, and it is awaiting verification by reporter. From here issues are either reopened, or are closed.", "name": "Resolved", "id": "5", "statusCategory": { "id": 3, "key": "done", "colorName": "green", "name": "Done" } }, "components": [ { "id": "14551", "name": "Studio", "description": "Please enter tickets related to Titanium Studio here." }, { "id": "14548", "name": "Titanium SDK & CLI", "description": "Please enter tickets related to the MobileSDK here." } ], "description": "When trying to save the Tiapp.xml file, it throws a Null Pointer Exception and fails to save.\r\n\r\nI couldn't figure out how to upload my log file, so I'll just copy it in here:\r\n\r\n!ENTRY org.eclipse.ui 4 4 2015-06-19 14:25:08.103\r\n!MESSAGE Save Failed\r\n\r\n!ENTRY org.eclipse.ui 2 0 2015-06-19 14:25:08.103\r\n!MESSAGE Save Failed\r\n!STACK 0\r\njava.lang.NullPointerException\r\n\tat com.appcelerator.titanium.android.internal.core.AndroidPlatform.resolvePlatformDependencies(AndroidPlatform.java:242)\r\n\tat com.appcelerator.titanium.core.internal.mobile.MobilePlatformsRegistry$LazyMobilePlatform.resolvePlatformDependencies(MobilePlatformsRegistry.java:242)\r\n\tat com.appcelerator.titanium.core.mobile.MobileSDKEntity.getPlatformDependencyStatus(MobileSDKEntity.java:96)\r\n\tat com.appcelerator.titanium.ui.ide.tiappEditor.TiAppSDKSection.commit(TiAppSDKSection.java:407)\r\n\tat org.eclipse.ui.forms.ManagedForm.commit(ManagedForm.java:223)\r\n\tat org.eclipse.ui.forms.editor.FormEditor.commitPages(FormEditor.java:295)\r\n\tat com.appcelerator.titanium.ui.ide.tiappEditor.TiAppEditor.doSave(TiAppEditor.java:219)\r\n\tat org.eclipse.ui.internal.SaveableHelper$2.run(SaveableHelper.java:154)\r\n\tat org.eclipse.ui.internal.SaveableHelper$5.run(SaveableHelper.java:283)\r\n\tat org.eclipse.jface.operation.ModalContext.runInCurrentThread(ModalContext.java:466)\r\n\tat org.eclipse.jface.operation.ModalContext.run(ModalContext.java:374)\r\n\tat org.eclipse.ui.internal.WorkbenchWindow$13.run(WorkbenchWindow.java:2144)\r\n\tat org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70)\r\n\tat org.eclipse.ui.internal.WorkbenchWindow.run(WorkbenchWindow.java:2140)\r\n\tat org.eclipse.ui.internal.SaveableHelper.runProgressMonitorOperation(SaveableHelper.java:291)\r\n\tat org.eclipse.ui.internal.SaveableHelper.runProgressMonitorOperation(SaveableHelper.java:269)\r\n\tat org.eclipse.ui.internal.SaveableHelper.savePart(SaveableHelper.java:159)\r\n\tat org.eclipse.ui.internal.WorkbenchPage.saveSaveable(WorkbenchPage.java:3851)\r\n\tat org.eclipse.ui.internal.WorkbenchPage.saveEditor(WorkbenchPage.java:3865)\r\n\tat org.eclipse.ui.internal.handlers.SaveHandler.execute(SaveHandler.java:54)\r\n\tat org.eclipse.ui.internal.handlers.HandlerProxy.execute(HandlerProxy.java:294)\r\n\tat org.eclipse.ui.internal.handlers.E4HandlerProxy.execute(E4HandlerProxy.java:90)\r\n\tat sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\r\n\tat sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)\r\n\tat sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\r\n\tat java.lang.reflect.Method.invoke(Method.java:497)\r\n\tat org.eclipse.e4.core.internal.di.MethodRequestor.execute(MethodRequestor.java:55)\r\n\tat org.eclipse.e4.core.internal.di.InjectorImpl.invokeUsingClass(InjectorImpl.java:247)\r\n\tat org.eclipse.e4.core.internal.di.InjectorImpl.invoke(InjectorImpl.java:229)\r\n\tat org.eclipse.e4.core.contexts.ContextInjectionFactory.invoke(ContextInjectionFactory.java:132)\r\n\tat org.eclipse.e4.core.commands.internal.HandlerServiceHandler.execute(HandlerServiceHandler.java:149)\r\n\tat org.eclipse.core.commands.Command.executeWithChecks(Command.java:499)\r\n\tat org.eclipse.core.commands.ParameterizedCommand.executeWithChecks(ParameterizedCommand.java:508)\r\n\tat org.eclipse.e4.core.commands.internal.HandlerServiceImpl.executeHandler(HandlerServiceImpl.java:210)\r\n\tat org.eclipse.e4.ui.bindings.keys.KeyBindingDispatcher.executeCommand(KeyBindingDispatcher.java:286)\r\n\tat org.eclipse.e4.ui.bindings.keys.KeyBindingDispatcher.press(KeyBindingDispatcher.java:507)\r\n\tat org.eclipse.e4.ui.bindings.keys.KeyBindingDispatcher.processKeyEvent(KeyBindingDispatcher.java:558)\r\n\tat org.eclipse.e4.ui.bindings.keys.KeyBindingDispatcher.filterKeySequenceBindings(KeyBindingDispatcher.java:378)\r\n\tat org.eclipse.e4.ui.bindings.keys.KeyBindingDispatcher.access$0(KeyBindingDispatcher.java:324)\r\n\tat org.eclipse.e4.ui.bindings.keys.KeyBindingDispatcher$KeyDownFilter.handleEvent(KeyBindingDispatcher.java:86)\r\n\tat org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)\r\n\tat org.eclipse.swt.widgets.Display.filterEvent(Display.java:1087)\r\n\tat org.eclipse.swt.widgets.Display.sendEvent(Display.java:4184)\r\n\tat org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1467)\r\n\tat org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1490)\r\n\tat org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1475)\r\n\tat org.eclipse.swt.widgets.Widget.sendKeyEvent(Widget.java:1504)\r\n\tat org.eclipse.swt.widgets.Text.sendKeyEvent(Text.java:1632)\r\n\tat org.eclipse.swt.widgets.Widget.sendKeyEvent(Widget.java:1500)\r\n\tat org.eclipse.swt.widgets.Text.sendKeyEvent(Text.java:1598)\r\n\tat org.eclipse.swt.widgets.Control.doCommandBySelector(Control.java:1060)\r\n\tat org.eclipse.swt.widgets.Display.windowProc(Display.java:5719)\r\n\tat org.eclipse.swt.internal.cocoa.OS.objc_msgSendSuper(Native Method)\r\n\tat org.eclipse.swt.widgets.Widget.callSuper(Widget.java:221)\r\n\tat org.eclipse.swt.widgets.Widget.superKeyDown(Widget.java:1908)\r\n\tat org.eclipse.swt.widgets.Widget.keyDown(Widget.java:1085)\r\n\tat org.eclipse.swt.widgets.Control.keyDown(Control.java:2400)\r\n\tat org.eclipse.swt.widgets.Display.windowProc(Display.java:5629)\r\n\tat org.eclipse.swt.internal.cocoa.OS.objc_msgSendSuper(Native Method)\r\n\tat org.eclipse.swt.widgets.Widget.callSuper(Widget.java:221)\r\n\tat org.eclipse.swt.widgets.Widget.windowSendEvent(Widget.java:2105)\r\n\tat org.eclipse.swt.widgets.Shell.windowSendEvent(Shell.java:2329)\r\n\tat org.eclipse.swt.widgets.Display.windowProc(Display.java:5691)\r\n\tat org.eclipse.swt.internal.cocoa.OS.objc_msgSendSuper(Native Method)\r\n\tat org.eclipse.swt.widgets.Display.applicationSendEvent(Display.java:5128)\r\n\tat org.eclipse.swt.widgets.Display.applicationProc(Display.java:5277)\r\n\tat org.eclipse.swt.internal.cocoa.OS.objc_msgSend(Native Method)\r\n\tat org.eclipse.swt.internal.cocoa.NSApplication.sendEvent(NSApplication.java:128)\r\n\tat org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3655)\r\n\tat org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$9.run(PartRenderingEngine.java:1151)\r\n\tat org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)\r\n\tat org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:1032)\r\n\tat org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:148)\r\n\tat org.eclipse.ui.internal.Workbench$5.run(Workbench.java:636)\r\n\tat org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)\r\n\tat org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:579)\r\n\tat org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:150)\r\n\tat com.appcelerator.titanium.rcp.IDEApplication.start(IDEApplication.java:126)\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:134)\r\n\tat org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:104)\r\n\tat org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:382)\r\n\tat org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:236)\r\n\tat sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\r\n\tat sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)\r\n\tat sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\r\n\tat java.lang.reflect.Method.invoke(Method.java:497)\r\n\tat org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:648)\r\n\tat org.eclipse.equinox.launcher.Main.basicRun(Main.java:603)\r\n\tat org.eclipse.equinox.launcher.Main.run(Main.java:1465)", "attachment": [], "flagged": false, "summary": "Appcelerator: Save File java.lang.NullPointerException", "creator": { "name": "srutstein", "key": "srutstein", "displayName": "Stephen Rutstein", "active": true, "timeZone": "America/Chicago" }, "subtasks": [], "reporter": { "name": "srutstein", "key": "srutstein", "displayName": "Stephen Rutstein", "active": true, "timeZone": "America/Chicago" }, "environment": null, "comment": { "comments": [ { "id": "369730", "author": { "name": "jnaher", "key": "jnaher", "displayName": "Jebun Naher", "active": false, "timeZone": "Asia/Dhaka" }, "body": "Hello,\r\n\r\nWe couldn't reproduce this issue as a bug in our environment. Editing and saving Tiapp.xml file doesn't throw any error.\r\n\r\n*Testing Environment:*\r\nAppcelerator Studio, build: 4.3.3.201510212245\r\nAppcelerator Command-Line Interface, version 5.0.4\r\nMac Osx: 10.9.5\r\nTi sdk : 5.0.2\r\nNode.js Version : 0.12.7\r\nJdk: 1.7.0_65\r\n\r\n*Steps to test:*\r\n1. Create a simple project\r\n2. Edit and save the tiapp.xml file\r\n\r\nObserve that the file is saved successfully.\r\n\r\nThanks.", "updateAuthor": { "name": "shossain", "key": "shossain", "displayName": "Shak Hossain", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2015-11-11T10:04:13.000+0000", "updated": "2015-11-11T18:36:04.000+0000" } ], "maxResults": 2, "total": 2, "startAt": 0 } } }