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

ACS: no protocol: Unable to parse URL for publish

    Details

    • Type: Bug
    • Status: Closed
    • Priority: High
    • Resolution: Fixed
    • Affects Version/s: Titanium Studio 3.0.0
    • Component/s: Node
    • Labels:
    • Environment:

      Windows 8, Windows 7
      Titanium Studio, build: 3.0.0.201211202053, 3.1.0
      Titanium CLI Version: 3.0.16, 3.1.0
      Alloy Version: 0.3.2
      Node.ACS Version: 0.9.25, 1.0.0

    • Story Points:
      5

      Description

      When trying to publish an ACS project on Windows 8, I get the success window with the error no protocol: Unable to parse URL for publish. I get the following error in my log file:

      !ENTRY com.aptana.ui 4 0 2012-11-21 07:59:21.018
      !MESSAGE (Build 3.0.0.201211202053) [ERROR]  no protocol: Unable to parse URL for publish
      !STACK 0
      java.net.MalformedURLException: no protocol: Unable to parse URL for publish
      	at java.net.URL.<init>(Unknown Source)
      	at java.net.URL.<init>(Unknown Source)
      	at java.net.URL.<init>(Unknown Source)
      	at com.aptana.ui.util.WorkbenchBrowserUtil.launchExternalBrowser(WorkbenchBrowserUtil.java:35)
      	at com.aptana.ui.dialogs.HyperlinkMessageDialog.openLink(HyperlinkMessageDialog.java:115)
      	at com.aptana.ui.dialogs.HyperlinkMessageDialog$1.widgetSelected(HyperlinkMessageDialog.java:89)
      	at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:240)
      	at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
      	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1053)
      	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1077)
      	at org.eclipse.swt.widgets.Widget.sendSelectionEvent(Widget.java:1094)
      	at org.eclipse.swt.widgets.Link.wmNotifyChild(Link.java:1071)
      	at org.eclipse.swt.widgets.Control.wmNotify(Control.java:5534)
      	at org.eclipse.swt.widgets.Composite.wmNotify(Composite.java:1896)
      	at org.eclipse.swt.widgets.Control.WM_NOTIFY(Control.java:5086)
      	at org.eclipse.swt.widgets.Control.windowProc(Control.java:4584)
      	at org.eclipse.swt.widgets.Canvas.windowProc(Canvas.java:341)
      	at org.eclipse.swt.widgets.Decorations.windowProc(Decorations.java:1610)
      	at org.eclipse.swt.widgets.Shell.windowProc(Shell.java:2061)
      	at org.eclipse.swt.widgets.Display.windowProc(Display.java:4985)
      	at org.eclipse.swt.internal.win32.OS.CallWindowProcW(Native Method)
      	at org.eclipse.swt.internal.win32.OS.CallWindowProc(OS.java:2425)
      	at org.eclipse.swt.widgets.Link.callWindowProc(Link.java:172)
      	at org.eclipse.swt.widgets.Widget.wmLButtonUp(Widget.java:2057)
      	at org.eclipse.swt.widgets.Control.WM_LBUTTONUP(Control.java:4912)
      	at org.eclipse.swt.widgets.Link.WM_LBUTTONUP(Link.java:909)
      	at org.eclipse.swt.widgets.Control.windowProc(Control.java:4565)
      	at org.eclipse.swt.widgets.Display.windowProc(Display.java:4985)
      	at org.eclipse.swt.internal.win32.OS.DispatchMessageW(Native Method)
      	at org.eclipse.swt.internal.win32.OS.DispatchMessage(OS.java:2531)
      	at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3752)
      	at org.eclipse.jface.window.Window.runEventLoop(Window.java:825)
      	at org.eclipse.jface.window.Window.open(Window.java:801)
      	at org.eclipse.jface.dialogs.MessageDialog.open(MessageDialog.java:334)
      	at com.appcelerator.titanium.acs.ui.deploy.NodeACSDeployProvider$4.run(NodeACSDeployProvider.java:254)
      	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:4140)
      	at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3757)
      	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(Unknown Source)
      	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
      	at java.lang.reflect.Method.invoke(Unknown Source)
      	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)
      

      This is a regression as ACS previously published.

      Steps to reproduce:
      1. Create a new ACS project.
      2. Publish ACS (Publish > Deploy App)

      Expected result:
      The project should correctly publish to ACS servers

      Actual result:
      The project fails to publish and throws the above error.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                mxia Michael Xia
                Reporter:
                cheadley Clayton Headley
              • Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: