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

Null Pointer Exception shown on studio launch with a new workspace

    Details

    • Type: Bug
    • Status: Closed
    • Priority: High
    • Resolution: Fixed
    • Affects Version/s: Release 5.1.0
    • Fix Version/s: Release 5.1.0
    • Component/s: Update
    • Labels:
      None
    • Environment:

      Mac OS 10.13.2, Win 10 Pro
      Appc Studio: 5.1.0.201802081542
      Appc CLI: 7.0.2
      Node: 8.9.1
      JDK: 1.8.0_162

      Description

      Null Pointer Exception is shown upon studio launch when a new workspace is selected.

      Steps to Reproduce:
      1. Select a new workspace and open studio
      2. When studio gets launched an exception is shown. Check the screenshot and logs.
      3. Close studio and launch again with same workspace. No exception this time.

      !ENTRY org.eclipse.ui 4 4 2018-03-14 11:45:19.475
      !MESSAGE An internal error has occurred.
      !STACK 0
      java.lang.NullPointerException
      	at com.appcelerator.titanium.ui.LaunchAppToolbarContribution$8.runInUIThread(LaunchAppToolbarContribution.java:546)
      	at org.eclipse.ui.progress.UIJob.lambda$0(UIJob.java:95)
      	at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:37)
      	at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:182)
      	at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:4034)
      	at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3701)
      	at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$5.run(PartRenderingEngine.java:1150)
      	at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:336)
      	at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:1039)
      	at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:153)
      	at org.eclipse.ui.internal.Workbench.lambda$3(Workbench.java:680)
      	at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:336)
      	at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:594)
      	at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:148)
      	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:388)
      	at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:243)
      	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:498)
      	at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:653)
      	at org.eclipse.equinox.launcher.Main.basicRun(Main.java:590)
      	at org.eclipse.equinox.launcher.Main.run(Main.java:1499)
      

        Attachments

          Activity

            People

            • Assignee:
              kkolipaka Kondal Kolipaka (Inactive)
              Reporter:
              ssekhri Satyam Sekhri
              Reviewer:
              Prashanth Pedduri (Inactive)
            • Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: