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

Error Reporting: NPE while launching mobile app project creation wizard

    Details

    • Story Points:
      3
    • Sprint:
      2016 Sprint 18 Studio

      Description

      To reproduce this:

      1. Login once to Appcelerator Studio and close it.
      2. Go to offline mode - switch off the network
      3. Launch studio
      4. Create a new mobile app project.

      Actual:
      While launching mobile app project creation wizard, NPE is thrown in the error log.

      Expected:
      Project should be created without an app registration in the cloud and shouldn't throw any error during the creation.

      Please find the error log;

       
      The following data will be sent:
       
      ------
      STATUS
      ------
      pluginId            com.appcelerator.titanium.core
      pluginVersion       3.1.2.qualifier
      code                0
      severity            4
      message             (Build 4.8.0.qualifier) [ERROR] com.appcelerator.titanium.core/debug/dashboard Error retrieving the JSON content for the Mobile SDK configurations
      fingerprint         3ec6c7ec
      stacktrace          
       
      Exception:java.lang.NullPointerException: null
      	 at com.aptana.jetty.util.epl.ajax.JSON$StringSource.hasNext(JSON.java:1456)
      	 at com.aptana.jetty.util.epl.ajax.JSON.parse(JSON.java:812)
      	 at com.aptana.jetty.util.epl.ajax.JSON.parse(JSON.java:724)
      	 at com.aptana.jetty.util.epl.ajax.JSON.parse(JSON.java:180)
      	 at com.appcelerator.titanium.core.internal.mobile.SDKInfoManager.getSDKInfoMap(SDKInfoManager.java:78)
      	 at com.appcelerator.titanium.core.internal.mobile.SDKInfoManager.getLatestSDKInfo(SDKInfoManager.java:117)
      	 at com.appcelerator.titanium.core.internal.mobile.SDKInfoManager.getSDKInfo(SDKInfoManager.java:64)
      	 at com.appcelerator.titanium.core.internal.mobile.MobilePlatformsRegistry$LazyMobilePlatform.configurationStatus(MobilePlatformsRegistry.java:270)
      	 at com.appcelerator.titanium.ui.ide.wizard.NewMobileProjectCreationPage.validatePlatforms(NewMobileProjectCreationPage.java:303)
      	 at com.appcelerator.titanium.ui.ide.wizard.NewMobileProjectCreationPage.createControl(NewMobileProjectCreationPage.java:228)
      	 at org.eclipse.jface.wizard.Wizard.createPageControls(Wizard.java:178)
      	 at org.eclipse.jface.wizard.WizardDialog.createPageControls(WizardDialog.java:759)
      	 at org.eclipse.jface.wizard.WizardDialog.createContents(WizardDialog.java:622)
      	 at org.eclipse.jface.window.Window.create(Window.java:435)
      	 at org.eclipse.jface.dialogs.Dialog.create(Dialog.java:1101)
      	 at org.eclipse.ui.internal.navigator.wizards.WizardShortcutAction.run(WizardShortcutAction.java:95)
      	 at org.eclipse.jface.action.Action.runWithEvent(Action.java:519)
      	 at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:595)
      	 at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:511)
      	 at org.eclipse.jface.action.ActionContributionItem$5.handleEvent(ActionContributionItem.java:420)
      	 at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
      	 at org.eclipse.swt.widgets.Display.sendEvent(Display.java:4199)
      	 at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1467)
      	 at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1490)
      	 at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1475)
      	 at org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:1279)
      	 at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4042)
      	 at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3669)
      	 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(NativeMethodAccessorImpl.java:-2)
      	 at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
      	 at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      	 at java.lang.reflect.Method.invoke(Method.java:606)
      	 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)
      	 at org.eclipse.equinox.launcher.Main.main(Main.java:1438)
       
      ------
      REPORT
      ------
      name                Kondal Kolipaka
      email               kkolipaka@appcelerator.com
      comment             
      productVersion      4.8.0.qualifier
      productName         Appcelerator Studio
      javaRuntimeVersion  1.7.0_80-b15
      osgiWs              cocoa
      osgiOs              MacOSX
      osgiOsVersion       10.11.4
      osgiArch            x86_64
      
      

        Attachments

          Activity

            People

            • Assignee:
              kkolipaka Kondal Kolipaka (Inactive)
              Reporter:
              kkolipaka Kondal Kolipaka (Inactive)
            • Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: