Uploaded image for project: 'Appcelerator - INBOX'
  1. Appcelerator - INBOX
  2. AC-171

Appcelerator: Save File java.lang.NullPointerException

    Details

      Description

      When trying to save the Tiapp.xml file, it throws a Null Pointer Exception and fails to save.

      I couldn't figure out how to upload my log file, so I'll just copy it in here:

      !ENTRY org.eclipse.ui 4 4 2015-06-19 14:25:08.103
      !MESSAGE Save Failed

      !ENTRY org.eclipse.ui 2 0 2015-06-19 14:25:08.103
      !MESSAGE Save Failed
      !STACK 0
      java.lang.NullPointerException
      at com.appcelerator.titanium.android.internal.core.AndroidPlatform.resolvePlatformDependencies(AndroidPlatform.java:242)
      at com.appcelerator.titanium.core.internal.mobile.MobilePlatformsRegistry$LazyMobilePlatform.resolvePlatformDependencies(MobilePlatformsRegistry.java:242)
      at com.appcelerator.titanium.core.mobile.MobileSDKEntity.getPlatformDependencyStatus(MobileSDKEntity.java:96)
      at com.appcelerator.titanium.ui.ide.tiappEditor.TiAppSDKSection.commit(TiAppSDKSection.java:407)
      at org.eclipse.ui.forms.ManagedForm.commit(ManagedForm.java:223)
      at org.eclipse.ui.forms.editor.FormEditor.commitPages(FormEditor.java:295)
      at com.appcelerator.titanium.ui.ide.tiappEditor.TiAppEditor.doSave(TiAppEditor.java:219)
      at org.eclipse.ui.internal.SaveableHelper$2.run(SaveableHelper.java:154)
      at org.eclipse.ui.internal.SaveableHelper$5.run(SaveableHelper.java:283)
      at org.eclipse.jface.operation.ModalContext.runInCurrentThread(ModalContext.java:466)
      at org.eclipse.jface.operation.ModalContext.run(ModalContext.java:374)
      at org.eclipse.ui.internal.WorkbenchWindow$13.run(WorkbenchWindow.java:2144)
      at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70)
      at org.eclipse.ui.internal.WorkbenchWindow.run(WorkbenchWindow.java:2140)
      at org.eclipse.ui.internal.SaveableHelper.runProgressMonitorOperation(SaveableHelper.java:291)
      at org.eclipse.ui.internal.SaveableHelper.runProgressMonitorOperation(SaveableHelper.java:269)
      at org.eclipse.ui.internal.SaveableHelper.savePart(SaveableHelper.java:159)
      at org.eclipse.ui.internal.WorkbenchPage.saveSaveable(WorkbenchPage.java:3851)
      at org.eclipse.ui.internal.WorkbenchPage.saveEditor(WorkbenchPage.java:3865)
      at org.eclipse.ui.internal.handlers.SaveHandler.execute(SaveHandler.java:54)
      at org.eclipse.ui.internal.handlers.HandlerProxy.execute(HandlerProxy.java:294)
      at org.eclipse.ui.internal.handlers.E4HandlerProxy.execute(E4HandlerProxy.java:90)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.lang.reflect.Method.invoke(Method.java:497)
      at org.eclipse.e4.core.internal.di.MethodRequestor.execute(MethodRequestor.java:55)
      at org.eclipse.e4.core.internal.di.InjectorImpl.invokeUsingClass(InjectorImpl.java:247)
      at org.eclipse.e4.core.internal.di.InjectorImpl.invoke(InjectorImpl.java:229)
      at org.eclipse.e4.core.contexts.ContextInjectionFactory.invoke(ContextInjectionFactory.java:132)
      at org.eclipse.e4.core.commands.internal.HandlerServiceHandler.execute(HandlerServiceHandler.java:149)
      at org.eclipse.core.commands.Command.executeWithChecks(Command.java:499)
      at org.eclipse.core.commands.ParameterizedCommand.executeWithChecks(ParameterizedCommand.java:508)
      at org.eclipse.e4.core.commands.internal.HandlerServiceImpl.executeHandler(HandlerServiceImpl.java:210)
      at org.eclipse.e4.ui.bindings.keys.KeyBindingDispatcher.executeCommand(KeyBindingDispatcher.java:286)
      at org.eclipse.e4.ui.bindings.keys.KeyBindingDispatcher.press(KeyBindingDispatcher.java:507)
      at org.eclipse.e4.ui.bindings.keys.KeyBindingDispatcher.processKeyEvent(KeyBindingDispatcher.java:558)
      at org.eclipse.e4.ui.bindings.keys.KeyBindingDispatcher.filterKeySequenceBindings(KeyBindingDispatcher.java:378)
      at org.eclipse.e4.ui.bindings.keys.KeyBindingDispatcher.access$0(KeyBindingDispatcher.java:324)
      at org.eclipse.e4.ui.bindings.keys.KeyBindingDispatcher$KeyDownFilter.handleEvent(KeyBindingDispatcher.java:86)
      at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
      at org.eclipse.swt.widgets.Display.filterEvent(Display.java:1087)
      at org.eclipse.swt.widgets.Display.sendEvent(Display.java:4184)
      at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1467)
      at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1490)
      at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1475)
      at org.eclipse.swt.widgets.Widget.sendKeyEvent(Widget.java:1504)
      at org.eclipse.swt.widgets.Text.sendKeyEvent(Text.java:1632)
      at org.eclipse.swt.widgets.Widget.sendKeyEvent(Widget.java:1500)
      at org.eclipse.swt.widgets.Text.sendKeyEvent(Text.java:1598)
      at org.eclipse.swt.widgets.Control.doCommandBySelector(Control.java:1060)
      at org.eclipse.swt.widgets.Display.windowProc(Display.java:5719)
      at org.eclipse.swt.internal.cocoa.OS.objc_msgSendSuper(Native Method)
      at org.eclipse.swt.widgets.Widget.callSuper(Widget.java:221)
      at org.eclipse.swt.widgets.Widget.superKeyDown(Widget.java:1908)
      at org.eclipse.swt.widgets.Widget.keyDown(Widget.java:1085)
      at org.eclipse.swt.widgets.Control.keyDown(Control.java:2400)
      at org.eclipse.swt.widgets.Display.windowProc(Display.java:5629)
      at org.eclipse.swt.internal.cocoa.OS.objc_msgSendSuper(Native Method)
      at org.eclipse.swt.widgets.Widget.callSuper(Widget.java:221)
      at org.eclipse.swt.widgets.Widget.windowSendEvent(Widget.java:2105)
      at org.eclipse.swt.widgets.Shell.windowSendEvent(Shell.java:2329)
      at org.eclipse.swt.widgets.Display.windowProc(Display.java:5691)
      at org.eclipse.swt.internal.cocoa.OS.objc_msgSendSuper(Native Method)
      at org.eclipse.swt.widgets.Display.applicationSendEvent(Display.java:5128)
      at org.eclipse.swt.widgets.Display.applicationProc(Display.java:5277)
      at org.eclipse.swt.internal.cocoa.OS.objc_msgSend(Native Method)
      at org.eclipse.swt.internal.cocoa.NSApplication.sendEvent(NSApplication.java:128)
      at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3655)
      at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$9.run(PartRenderingEngine.java:1151)
      at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
      at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:1032)
      at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:148)
      at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:636)
      at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
      at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:579)
      at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:150)
      at com.appcelerator.titanium.rcp.IDEApplication.start(IDEApplication.java:126)
      at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
      at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:134)
      at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:104)
      at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:382)
      at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:236)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.lang.reflect.Method.invoke(Method.java:497)
      at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:648)
      at org.eclipse.equinox.launcher.Main.basicRun(Main.java:603)
      at org.eclipse.equinox.launcher.Main.run(Main.java:1465)

        Attachments

          Activity

            People

            • Assignee:
              mrahman Mostafizur Rahman
              Reporter:
              srutstein Stephen Rutstein
            • Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Git Integration