org.eclipse.swt.SWTException

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • Studio can't open Tiapp file. It will display an error. Logs: {code} !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 {code}
    via by Rene Pot,
  • Studio can't open Tiapp file. It will display an error. Logs: {code} !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 {code}
    via by Rene Pot,
  • after upgrading to 4.1.0GA i'm getting the following error when opening the tiapp.xml An internal error occurred during: "Loading Platform Contents". 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.AbstractTiAppSection.refresh(AbstractTiAppSection.java:162) @mikewarnescom throws the following error during the upgrade Error encountered during update An error occurred while uninstalling session context was:(profile=profile, phase=org.eclipse.equinox.internal.p2.engine.phases.Uninstall, operand=[R]com.appcelerator.titanium.feature.360.rcp_root 4.0.0.201505202026-867aFEkFGvmRb6X4eY1rvm8ONCXE --> null, action=org.eclipse.equinox.internal.p2.touchpoint.natives.actions.CleanupzipAction). Backup of file /Applications/Appcelerator Studio/version.txt failed. File that was copied to backup could not be deleted: /Applications/Appcelerator Studio/version.txt
    via by michael warnes,
  • after upgrading to 4.1.0GA i'm getting the following error when opening the tiapp.xml An internal error occurred during: "Loading Platform Contents". 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.AbstractTiAppSection.refresh(AbstractTiAppSection.java:162) @mikewarnescom throws the following error during the upgrade Error encountered during update An error occurred while uninstalling session context was:(profile=profile, phase=org.eclipse.equinox.internal.p2.engine.phases.Uninstall, operand=[R]com.appcelerator.titanium.feature.360.rcp_root 4.0.0.201505202026-867aFEkFGvmRb6X4eY1rvm8ONCXE --> null, action=org.eclipse.equinox.internal.p2.touchpoint.natives.actions.CleanupzipAction). Backup of file /Applications/Appcelerator Studio/version.txt failed. File that was copied to backup could not be deleted: /Applications/Appcelerator Studio/version.txt
    via by michael warnes,
    • 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
    No Bugmate found.