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

Studio can't edit Tiapp.xml in Tiapp Editor

    Details

    • Type: Bug
    • Status: Closed
    • Resolution: Needs more info
    • Affects Version/s: None
    • Component/s: Studio
    • Labels:
    • Environment:

      OSX 10.10.4
      Using latest version of Appcelerator Studio
      Using latest version of Java (1.8.0_51)

      Description

      Studio can't open Tiapp file. It will display an error. Logs:

      !ENTRY org.eclipse.ui 4 0 2015-07-27 14:59:06.356
      !MESSAGE Unhandled event loop exception
      !STACK 0
      org.eclipse.swt.SWTException: Failed to execute runnable (java.lang.NullPointerException)
      	at org.eclipse.swt.SWT.error(SWT.java:4441)
      	at org.eclipse.swt.SWT.error(SWT.java:4356)
      	at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:139)
      	at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:3994)
      	at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3671)
      	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:380)
      	at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:235)
      	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)
      Caused by: java.lang.NullPointerException
      	at com.appcelerator.titanium360.internal.core.Titanium360User.getStoredOrganizations(Titanium360User.java:222)
      	at com.appcelerator.titanium360.internal.core.Titanium360User.getOrganizations(Titanium360User.java:185)
      	at com.appcelerator.titanium360.internal.core.ThreeSixtyProject.isCurrentUserAuthorized(ThreeSixtyProject.java:594)
      	at com.appcelerator.titanium360.ui.tiapp.Titanium360TiappContributor.get360State(Titanium360TiappContributor.java:534)
      	at com.appcelerator.titanium360.ui.tiapp.Titanium360TiappContributor.updateControlsData(Titanium360TiappContributor.java:406)
      	at com.appcelerator.titanium.ui.ide.tiappEditor.TiAppContributorSection.updateControlsData(TiAppContributorSection.java:100)
      	at com.appcelerator.titanium.ui.ide.tiappEditor.TiAppFormPage$1.run(TiAppFormPage.java:148)
      	at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
      	at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:136)
      	... 23 more
      

        Attachments

          Activity

            People

            • Assignee:
              rtlechuga Radamantis Torres-Lechuga (Inactive)
              Reporter:
              topener Rene Pot
            • Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Git Integration