[AC-262] Studio can't edit Tiapp.xml in Tiapp Editor
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | n/a |
Status | Closed |
Resolution | Needs more info |
Resolution Date | 2015-08-07T02:47:10.000+0000 |
Affected Version/s | n/a |
Fix Version/s | n/a |
Components | Studio |
Labels | studio, tiapp.xml |
Reporter | Rene Pot |
Assignee | Radamantis Torres-Lechuga |
Created | 2015-07-27T10:27:42.000+0000 |
Updated | 2015-08-07T02:47:10.000+0000 |
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
File | Date | Size |
---|---|---|
Screen Shot 2015-07-27 at 11.26.50.png | 2015-07-27T10:26:30.000+0000 | 36231 |
Hello [~topener], Are you still having this issue? If still getting same issue please follow the below instruction : *Step one:* Uninstall your SDK by using
*Step two:* Then reinstall the Latest version SDK, do so from the command line:
If above instruction will not work for you, please let us know and provide your logs with details working environment. Thanks.