Uploaded image for project: 'Appcelerator Studio'
  1. Appcelerator Studio
  2. TISTUD-6183

Intermittent NPE while opening TiApp editor

    Details

    • Story Points:
      3

      Description

      At times when the state of the project or services is corrupted, TiApp fails to open and throws NPE :

      java.lang.NullPointerException
      at com.appcelerator.titanium360.internal.core.ServiceInstance.getState(ServiceInstance.java:49)
      at com.appcelerator.titanium360.ui.tiapp.Titanium360TiappContributor.create360ServiceList(Titanium360TiappContributor.java:633)
      at com.appcelerator.titanium360.ui.tiapp.Titanium360TiappContributor.createSectionContents(Titanium360TiappContributor.java:538)
      at com.appcelerator.titanium360.ui.tiapp.Titanium360TiappContributor.createControls(Titanium360TiappContributor.java:393)
      at com.appcelerator.titanium.ui.ide.tiappEditor.TiAppCloudSection.createControls(TiAppCloudSection.java:68)
      at com.appcelerator.titanium.ui.ide.tiappEditor.AbstractTiAppSection.initialize(AbstractTiAppSection.java:71)
      at com.appcelerator.titanium.ui.ide.tiappEditor.AbstractTiAppSection.<init>(AbstractTiAppSection.java:55)
      at com.appcelerator.titanium.ui.ide.tiappEditor.TiAppCloudSection.<init>(TiAppCloudSection.java:47)
      at com.appcelerator.titanium.ui.ide.tiappEditor.TiAppFormPage.createFormContent(TiAppFormPage.java:123)
      at org.eclipse.ui.forms.editor.FormPage$1.run(FormPage.java:152)
      at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70)
      at org.eclipse.ui.forms.editor.FormPage.createPartControl(FormPage.java:150)
      at org.eclipse.ui.forms.editor.FormEditor.pageChange(FormEditor.java:471)
      at org.eclipse.ui.part.MultiPageEditorPart.setActivePage(MultiPageEditorPart.java:1083)
      at org.eclipse.ui.forms.editor.FormEditor.setActivePage(FormEditor.java:603)

        Attachments

          Activity

            People

            • Assignee:
              pinnamuri Praveen Innamuri (Inactive)
              Reporter:
              pinnamuri Praveen Innamuri (Inactive)
            • Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: