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

Appc studio encounters java.lang.NullPointerException in 5.1.0.201806130758

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Medium
    • Resolution: Fixed
    • Affects Version/s: Release 5.1.0
    • Fix Version/s: Release 5.1.2
    • Component/s: None
    • Labels:
      None
    • Environment:
    • Story Points:
      3
    • Sprint:
      2018 Sprint 17 Studio

      Description

      Description:

      1. Would not call it a regression. Also not sure what I did to get this null pointer exception. But I was installing an SDK from the CLI before I saw below exceptions. Probably requires a null check in the code.

      !ENTRY org.eclipse.ui 4 4 2018-06-25 16:00:15.150
      !MESSAGE An internal error has occurred.
      !STACK 0
      java.lang.NullPointerException
      	at com.appcelerator.titanium.ui.ide.tiappEditor.TiAppDeployTargetsSection.updateControlsEnablement(TiAppDeployTargetsSection.java:412)
      	at com.appcelerator.titanium.ui.ide.tiappEditor.TiAppSDKSection.updateDependentSections(TiAppSDKSection.java:301)
      	at com.appcelerator.titanium.ui.ide.tiappEditor.TiAppSDKSection.access$0(TiAppSDKSection.java:296)
      	at com.appcelerator.titanium.ui.ide.tiappEditor.TiAppSDKSection$4.runInUIThread(TiAppSDKSection.java:284)
      	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)
      

      Above exception was seen 6 times one after the other.

        Attachments

          Activity

            People

            • Assignee:
              kkolipaka Kondal Kolipaka (Inactive)
              Reporter:
              lchoudhary Lokesh Choudhary
              Reviewer:
              Prashanth Pedduri (Inactive)
            • Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: