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

Error Reporting: NumberFormatException from Preference > Studio > API Builder

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Medium
    • Resolution: Fixed
    • Affects Version/s: Release 4.9.0, Release 4.10.0
    • Fix Version/s: Release 5.1.2
    • Component/s: Studio Error reporting
    • Labels:
      None
    • Environment:

      Mac OS 10.12.4, Win 10 Pro
      Ti SDK: 6.1.2.GA
      Appc Studio: 4.9.0.201705302345, 4.10.0.201708140913
      Appc NPM: 4.2.9
      App CLI: 6.2.3
      Node v6.10.3

    • Story Points:
      3
    • Sprint:
      2018 Sprint 20 Studio

      Description

      Steps to Reproduce;
      1. Open Preferences > Studio > API Builder (Arrow in 4.9.0)
      2. When "Run Arrow with default configuration" (default selection) or "Run Arrow on any free port" is selected, press on OK button on the preferences screen

      Actual Result:
      An exception is thrown

      !ENTRY com.appcelerator.titanium.arrow.core 4 0 2017-08-17 14:31:54.644
      !MESSAGE (Build 4.9.0.201705302345) [ERROR]  Invalid arrow port number configured
      !STACK 0
      java.lang.NumberFormatException: For input string: ""
      	at java.lang.NumberFormatException.forInputString(NumberFormatException.java:65)
      	at java.lang.Integer.parseInt(Integer.java:592)
      	at java.lang.Integer.valueOf(Integer.java:766)
      	at com.appcelerator.titanium.arrow.ui.preferences.ArrowPreferencePage.performOk(ArrowPreferencePage.java:151)
      	at org.eclipse.jface.preference.PreferenceDialog$12.run(PreferenceDialog.java:992)
      	at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
      	at org.eclipse.ui.internal.JFaceUtil$1.run(JFaceUtil.java:50)
      	at org.eclipse.jface.util.SafeRunnable.run(SafeRunnable.java:178)
      	at org.eclipse.jface.preference.PreferenceDialog.okPressed(PreferenceDialog.java:971)
      	at org.eclipse.ui.internal.dialogs.FilteredPreferenceDialog.okPressed(FilteredPreferenceDialog.java:460)
      	at org.eclipse.ui.internal.dialogs.WorkbenchPreferenceDialog.okPressed(WorkbenchPreferenceDialog.java:174)
      	at org.eclipse.jface.preference.PreferenceDialog.buttonPressed(PreferenceDialog.java:236)
      	at org.eclipse.jface.dialogs.Dialog$2.widgetSelected(Dialog.java:619)
      	at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:248)
      	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.jface.window.Window.runEventLoop(Window.java:832)
      	at org.eclipse.jface.window.Window.open(Window.java:808)
      	at org.eclipse.ui.internal.dialogs.WorkbenchPreferenceDialog.open(WorkbenchPreferenceDialog.java:221)
      	at org.eclipse.ui.internal.handlers.ShowPreferencePageHandler.execute(ShowPreferencePageHandler.java:59)
      	at org.eclipse.ui.internal.handlers.HandlerProxy.execute(HandlerProxy.java:294)
      	at org.eclipse.ui.internal.handlers.E4HandlerProxy.execute(E4HandlerProxy.java:90)
      	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.e4.core.internal.di.MethodRequestor.execute(MethodRequestor.java:55)
      	at org.eclipse.e4.core.internal.di.InjectorImpl.invokeUsingClass(InjectorImpl.java:247)
      	at org.eclipse.e4.core.internal.di.InjectorImpl.invoke(InjectorImpl.java:229)
      	at org.eclipse.e4.core.contexts.ContextInjectionFactory.invoke(ContextInjectionFactory.java:132)
      	at org.eclipse.e4.core.commands.internal.HandlerServiceHandler.execute(HandlerServiceHandler.java:149)
      	at org.eclipse.core.commands.Command.executeWithChecks(Command.java:499)
      	at org.eclipse.core.commands.ParameterizedCommand.executeWithChecks(ParameterizedCommand.java:508)
      	at org.eclipse.e4.core.commands.internal.HandlerServiceImpl.executeHandler(HandlerServiceImpl.java:210)
      	at org.eclipse.e4.core.commands.internal.HandlerServiceImpl.executeHandler(HandlerServiceImpl.java:196)
      	at org.eclipse.e4.ui.workbench.renderers.swt.cocoa.CocoaUIHandler.runCommand(CocoaUIHandler.java:715)
      	at org.eclipse.e4.ui.workbench.renderers.swt.cocoa.CocoaUIHandler.access$6(CocoaUIHandler.java:703)
      	at org.eclipse.e4.ui.workbench.renderers.swt.cocoa.CocoaUIHandler$8.widgetSelected(CocoaUIHandler.java:568)
      	at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:248)
      	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(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:648)
      	at org.eclipse.equinox.launcher.Main.basicRun(Main.java:603)
      	at org.eclipse.equinox.launcher.Main.run(Main.java:1465)
      

        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: