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

Studio First Time Startup: Address iOS NPEs in log

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Low
    • Resolution: Fixed
    • Affects Version/s: Titanium Studio 3.1.0
    • Component/s: Node
    • Environment:
    • Story Points:
      3

      Description

      When Studio is first installed and configured, BEFORE any Titanium Updates are installed, there exist a few NPM-related NPEs in the log.

      It would be a more-complete experience to address these.

      Log:

      !SESSION 2013-03-28 16:56:38.875 -----------------------------------------------
      eclipse.buildId=3.1.0.201303261815
      java.version=1.6.0_43
      java.vendor=Apple Inc.
      BootLoader constants: OS=macosx, ARCH=x86, WS=cocoa, NL=en_US
      Framework arguments:  -keyring /Users/dhyde/.eclipse_keyring -showlocation
      Command-line arguments:  -os macosx -ws cocoa -arch x86 -keyring /Users/dhyde/.eclipse_keyring -consoleLog -showlocation
       
      !ENTRY org.eclipse.jface 4 2 2013-03-28 17:30:20.835
      !MESSAGE Problems occurred when invoking code from plug-in: "org.eclipse.jface".
      !STACK 0
      java.lang.NullPointerException
      	at com.appcelerator.titanium.mobile.iphone.IOSConfigurationHelper.runPackagePrereqCheck(IOSConfigurationHelper.java:256)
      	at com.appcelerator.titanium.mobile.ui.preferences.IOSSDKPreferencePage.reloadCertificateTable(IOSSDKPreferencePage.java:746)
      	at com.appcelerator.titanium.mobile.ui.preferences.IOSSDKPreferencePage.createCertificatesSection(IOSSDKPreferencePage.java:421)
      	at com.appcelerator.titanium.mobile.ui.preferences.IOSSDKPreferencePage.createMobileOptions(IOSSDKPreferencePage.java:129)
      	at com.appcelerator.titanium.mobile.ui.preferences.BasePlatformFieldEditorPreferencePage.createFieldEditors(BasePlatformFieldEditorPreferencePage.java:57)
      	at org.eclipse.jface.preference.FieldEditorPreferencePage.createContents(FieldEditorPreferencePage.java:227)
      	at org.eclipse.jface.preference.PreferencePage.createControl(PreferencePage.java:232)
      	at org.eclipse.jface.preference.PreferenceDialog.createPageControl(PreferenceDialog.java:1501)
      	at org.eclipse.jface.preference.PreferenceDialog$14.run(PreferenceDialog.java:1258)
      	at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
      	at org.eclipse.ui.internal.JFaceUtil$1.run(JFaceUtil.java:49)
      	at org.eclipse.jface.util.SafeRunnable.run(SafeRunnable.java:175)
      	at org.eclipse.jface.preference.PreferenceDialog.showPage(PreferenceDialog.java:1252)
      	at org.eclipse.ui.internal.dialogs.FilteredPreferenceDialog.showPage(FilteredPreferenceDialog.java:674)
      	at org.eclipse.jface.preference.PreferenceDialog$10.run(PreferenceDialog.java:708)
      	at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70)
      	at org.eclipse.jface.preference.PreferenceDialog$9.selectionChanged(PreferenceDialog.java:704)
      	at org.eclipse.jface.viewers.StructuredViewer$3.run(StructuredViewer.java:888)
      	at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
      	at org.eclipse.ui.internal.JFaceUtil$1.run(JFaceUtil.java:49)
      	at org.eclipse.jface.util.SafeRunnable.run(SafeRunnable.java:175)
      	at org.eclipse.jface.viewers.StructuredViewer.firePostSelectionChanged(StructuredViewer.java:886)
      	at org.eclipse.jface.viewers.StructuredViewer.handlePostSelect(StructuredViewer.java:1226)
      	at org.eclipse.jface.viewers.StructuredViewer$5.widgetSelected(StructuredViewer.java:1251)
      	at org.eclipse.jface.util.OpenStrategy.firePostSelectionEvent(OpenStrategy.java:262)
      	at org.eclipse.jface.util.OpenStrategy.access$5(OpenStrategy.java:256)
      	at org.eclipse.jface.util.OpenStrategy$3.run(OpenStrategy.java:433)
      	at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
      	at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:135)
      	at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:3938)
      	at org.eclipse.swt.widgets.Display.observerProc(Display.java:3525)
      	at org.eclipse.swt.internal.cocoa.OS.objc_msgSendSuper(Native Method)
      	at org.eclipse.swt.widgets.Display.applicationNextEventMatchingMask(Display.java:4879)
      	at org.eclipse.swt.widgets.Display.applicationProc(Display.java:5226)
      	at org.eclipse.swt.internal.cocoa.OS.objc_msgSendSuper(Native Method)
      	at org.eclipse.swt.widgets.Widget.callSuper(Widget.java:220)
      	at org.eclipse.swt.widgets.Widget.mouseDownSuper(Widget.java:1092)
      	at org.eclipse.swt.widgets.Tree.mouseDownSuper(Tree.java:2052)
      	at org.eclipse.swt.widgets.Widget.mouseDown(Widget.java:1084)
      	at org.eclipse.swt.widgets.Control.mouseDown(Control.java:2528)
      	at org.eclipse.swt.widgets.Tree.mouseDown(Tree.java:2007)
      	at org.eclipse.swt.widgets.Display.windowProc(Display.java:5471)
      	at org.eclipse.swt.internal.cocoa.OS.objc_msgSendSuper(Native Method)
      	at org.eclipse.swt.widgets.Widget.callSuper(Widget.java:220)
      	at org.eclipse.swt.widgets.Widget.windowSendEvent(Widget.java:2095)
      	at org.eclipse.swt.widgets.Shell.windowSendEvent(Shell.java:2253)
      	at org.eclipse.swt.widgets.Display.windowProc(Display.java:5535)
      	at org.eclipse.swt.internal.cocoa.OS.objc_msgSendSuper(Native Method)
      	at org.eclipse.swt.widgets.Display.applicationSendEvent(Display.java:4989)
      	at org.eclipse.swt.widgets.Display.applicationProc(Display.java:5138)
      	at org.eclipse.swt.internal.cocoa.OS.objc_msgSend(Native Method)
      	at org.eclipse.swt.internal.cocoa.NSApplication.sendEvent(NSApplication.java:128)
      	at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3610)
      	at org.eclipse.jface.window.Window.runEventLoop(Window.java:825)
      	at org.eclipse.jface.window.Window.open(Window.java:801)
      	at org.eclipse.ui.internal.dialogs.WorkbenchPreferenceDialog.open(WorkbenchPreferenceDialog.java:215)
      	at org.eclipse.ui.internal.handlers.ShowPreferencePageHandler.execute(ShowPreferencePageHandler.java:54)
      	at org.eclipse.ui.internal.handlers.HandlerProxy.execute(HandlerProxy.java:293)
      	at org.eclipse.core.commands.Command.executeWithChecks(Command.java:476)
      	at org.eclipse.ui.internal.handlers.HandlerService.executeCommand(HandlerService.java:178)
      	at org.eclipse.ui.internal.cocoa.CocoaUIEnhancer.runCommand(CocoaUIEnhancer.java:393)
      	at org.eclipse.ui.internal.cocoa.CocoaUIEnhancer.actionProc(CocoaUIEnhancer.java:535)
      	at org.eclipse.ui.internal.cocoa.CocoaUIEnhancer.actionProc(CocoaUIEnhancer.java:520)
      	at org.eclipse.swt.internal.cocoa.OS.objc_msgSendSuper(Native Method)
      	at org.eclipse.swt.widgets.Display.applicationNextEventMatchingMask(Display.java:4879)
      	at org.eclipse.swt.widgets.Display.applicationProc(Display.java:5226)
      	at org.eclipse.swt.internal.cocoa.OS.objc_msgSend(Native Method)
      	at org.eclipse.swt.internal.cocoa.NSApplication.nextEventMatchingMask(NSApplication.java:94)
      	at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3607)
      	at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2701)
      	at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2665)
      	at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2499)
      	at org.eclipse.ui.internal.Workbench$7.run(Workbench.java:679)
      	at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
      	at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:668)
      	at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
      	at com.appcelerator.titanium.rcp.IDEApplication.start(IDEApplication.java:125)
      	at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
      	at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
      	at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
      	at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:344)
      	at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
      	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      	at java.lang.reflect.Method.invoke(Method.java:597)
      	at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:622)
      	at org.eclipse.equinox.launcher.Main.basicRun(Main.java:577)
      	at org.eclipse.equinox.launcher.Main.run(Main.java:1410)
      

      !ENTRY com.appcelerator.titanium.nodejs.core 1 0 2013-03-28 17:33:23.276
      !MESSAGE (Build 3.1.0.201303261815) [INFO]  Failed to retrieve latest version string for package acs from npm
      !STACK 1
      org.eclipse.core.runtime.CoreException: NPM is not installed.
      	at com.aptana.js.internal.core.node.NodePackageManager.getLatestVersionAvailable(NodePackageManager.java:442)
      	at com.appcelerator.titanium.nodejs.core.NPMConfigurationComponent.getLatestVersion(NPMConfigurationComponent.java:116)
      	at com.appcelerator.titanium.update.internal.TitaniumNPMRelease.latestVersionString(TitaniumNPMRelease.java:36)
      	at com.appcelerator.titanium.update.internal.TitaniumNPMRelease.<init>(TitaniumNPMRelease.java:30)
      	at com.appcelerator.titanium.update.TitaniumSDKUpdater$3.map(TitaniumSDKUpdater.java:623)
      	at com.appcelerator.titanium.update.TitaniumSDKUpdater$3.map(TitaniumSDKUpdater.java:1)
      	at com.aptana.core.util.CollectionsUtil.map(CollectionsUtil.java:408)
      	at com.aptana.core.util.CollectionsUtil.map(CollectionsUtil.java:442)
      	at com.appcelerator.titanium.update.TitaniumSDKUpdater.getNPMUpdates(TitaniumSDKUpdater.java:619)
      	at com.appcelerator.titanium.update.TitaniumSDKUpdater.getAvailableUpdates(TitaniumSDKUpdater.java:309)
      	at com.appcelerator.titanium.update.TitaniumSDKUpdater.hasToInstallPackages(TitaniumSDKUpdater.java:847)
      	at com.appcelerator.titanium.update.TitaniumUpdateStartup.earlyStartup(TitaniumUpdateStartup.java:128)
      	at org.eclipse.ui.internal.EarlyStartupRunnable.runEarlyStartup(EarlyStartupRunnable.java:87)
      	at org.eclipse.ui.internal.EarlyStartupRunnable.run(EarlyStartupRunnable.java:66)
      	at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
      	at org.eclipse.ui.internal.Workbench$63.run(Workbench.java:2470)
      	at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
      !SUBENTRY 1 com.aptana.js.core 4 0 2013-03-28 17:33:23.277
      !MESSAGE NPM is not installed.
      

      !ENTRY com.appcelerator.titanium.nodejs.core 1 0 2013-03-28 17:33:25.164
      !MESSAGE (Build 3.1.0.201303261815) [INFO]  Failed to retrieve latest version string for package alloy from npm
      !STACK 1
      org.eclipse.core.runtime.CoreException: NPM is not installed.
      	at com.aptana.js.internal.core.node.NodePackageManager.getLatestVersionAvailable(NodePackageManager.java:442)
      	at com.appcelerator.titanium.nodejs.core.NPMConfigurationComponent.getLatestVersion(NPMConfigurationComponent.java:116)
      	at com.appcelerator.titanium.update.internal.TitaniumNPMRelease.latestVersionString(TitaniumNPMRelease.java:36)
      	at com.appcelerator.titanium.update.internal.TitaniumNPMRelease.<init>(TitaniumNPMRelease.java:30)
      	at com.appcelerator.titanium.update.TitaniumSDKUpdater$3.map(TitaniumSDKUpdater.java:623)
      	at com.appcelerator.titanium.update.TitaniumSDKUpdater$3.map(TitaniumSDKUpdater.java:1)
      	at com.aptana.core.util.CollectionsUtil.map(CollectionsUtil.java:408)
      	at com.aptana.core.util.CollectionsUtil.map(CollectionsUtil.java:442)
      	at com.appcelerator.titanium.update.TitaniumSDKUpdater.getNPMUpdates(TitaniumSDKUpdater.java:619)
      	at com.appcelerator.titanium.update.TitaniumSDKUpdater.getAvailableUpdates(TitaniumSDKUpdater.java:309)
      	at com.appcelerator.titanium.update.TitaniumSDKUpdater.hasToInstallPackages(TitaniumSDKUpdater.java:847)
      	at com.appcelerator.titanium.update.TitaniumUpdateStartup.earlyStartup(TitaniumUpdateStartup.java:128)
      	at org.eclipse.ui.internal.EarlyStartupRunnable.runEarlyStartup(EarlyStartupRunnable.java:87)
      	at org.eclipse.ui.internal.EarlyStartupRunnable.run(EarlyStartupRunnable.java:66)
      	at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
      	at org.eclipse.ui.internal.Workbench$63.run(Workbench.java:2470)
      	at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
      !SUBENTRY 1 com.aptana.js.core 4 0 2013-03-28 17:33:25.164
      !MESSAGE NPM is not installed.
      

      !ENTRY com.appcelerator.titanium.nodejs.core 1 0 2013-03-28 17:33:26.721
      !MESSAGE (Build 3.1.0.201303261815) [INFO]  Failed to retrieve latest version string for package titanium from npm
      !STACK 1
      org.eclipse.core.runtime.CoreException: NPM is not installed.
      	at com.aptana.js.internal.core.node.NodePackageManager.getLatestVersionAvailable(NodePackageManager.java:442)
      	at com.appcelerator.titanium.nodejs.core.NPMConfigurationComponent.getLatestVersion(NPMConfigurationComponent.java:116)
      	at com.appcelerator.titanium.update.internal.TitaniumNPMRelease.latestVersionString(TitaniumNPMRelease.java:36)
      	at com.appcelerator.titanium.update.internal.TitaniumNPMRelease.<init>(TitaniumNPMRelease.java:30)
      	at com.appcelerator.titanium.update.TitaniumSDKUpdater$3.map(TitaniumSDKUpdater.java:623)
      	at com.appcelerator.titanium.update.TitaniumSDKUpdater$3.map(TitaniumSDKUpdater.java:1)
      	at com.aptana.core.util.CollectionsUtil.map(CollectionsUtil.java:408)
      	at com.aptana.core.util.CollectionsUtil.map(CollectionsUtil.java:442)
      	at com.appcelerator.titanium.update.TitaniumSDKUpdater.getNPMUpdates(TitaniumSDKUpdater.java:619)
      	at com.appcelerator.titanium.update.TitaniumSDKUpdater.getAvailableUpdates(TitaniumSDKUpdater.java:309)
      	at com.appcelerator.titanium.update.TitaniumSDKUpdater.hasToInstallPackages(TitaniumSDKUpdater.java:847)
      	at com.appcelerator.titanium.update.TitaniumUpdateStartup.earlyStartup(TitaniumUpdateStartup.java:128)
      	at org.eclipse.ui.internal.EarlyStartupRunnable.runEarlyStartup(EarlyStartupRunnable.java:87)
      	at org.eclipse.ui.internal.EarlyStartupRunnable.run(EarlyStartupRunnable.java:66)
      	at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
      	at org.eclipse.ui.internal.Workbench$63.run(Workbench.java:2470)
      	at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
      !SUBENTRY 1 com.aptana.js.core 4 0 2013-03-28 17:33:26.721
      !MESSAGE NPM is not installed.
      

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                mxia Michael Xia
                Reporter:
                dhyde Dustin Hyde
              • Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: