java.net.MalformedURLException: no protocol: Unable to parse URL for publish

Appcelerator JIRA | Clayton Headley | 4 years ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    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: {code} !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) {code} 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.

    Appcelerator JIRA | 4 years ago | Clayton Headley
    java.net.MalformedURLException: no protocol: Unable to parse URL for publish
  2. 0

    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: {code} !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) {code} 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.

    Appcelerator JIRA | 4 years ago | Clayton Headley
    java.net.MalformedURLException: no protocol: Unable to parse URL for publish
  3. 0

    Error generating resorces for chunk

    GitHub | 3 years ago | FomaDima
    java.net.MalformedURLException
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    lein 2x cygwin (XP / 32) cannot use http proxy

    GitHub | 5 years ago | vladp
    java.net.MalformedURLException: unknown protocol: proxy-xyz.com
  6. 0

    ehentai ripper throwing No Protocol error

    GitHub | 3 years ago | LordRandom
    java.net.MalformedURLException: no protocol:

  1. Eric 1 times, last 1 week ago
  2. Casper 1 times, last 3 weeks ago
  3. filpgame 1 times, last 2 months ago
  4. poroszd 1 times, last 3 months ago
  5. raytest 2 times, last 3 months ago
40 more registered users
47 unregistered visitors
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. java.net.MalformedURLException

    no protocol: Unable to parse URL for publish

    at java.net.URL.<init>()
  2. Java RT
    URL.<init>
    1. java.net.URL.<init>(Unknown Source)
    2. java.net.URL.<init>(Unknown Source)
    3. java.net.URL.<init>(Unknown Source)
    3 frames
  3. com.aptana.ui
    HyperlinkMessageDialog$1.widgetSelected
    1. com.aptana.ui.util.WorkbenchBrowserUtil.launchExternalBrowser(WorkbenchBrowserUtil.java:35)
    2. com.aptana.ui.dialogs.HyperlinkMessageDialog.openLink(HyperlinkMessageDialog.java:115)
    3. com.aptana.ui.dialogs.HyperlinkMessageDialog$1.widgetSelected(HyperlinkMessageDialog.java:89)
    3 frames
  4. RWT
    Display.windowProc
    1. org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:240)
    2. org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
    3. org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1053)
    4. org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1077)
    5. org.eclipse.swt.widgets.Widget.sendSelectionEvent(Widget.java:1094)
    6. org.eclipse.swt.widgets.Link.wmNotifyChild(Link.java:1071)
    7. org.eclipse.swt.widgets.Control.wmNotify(Control.java:5534)
    8. org.eclipse.swt.widgets.Composite.wmNotify(Composite.java:1896)
    9. org.eclipse.swt.widgets.Control.WM_NOTIFY(Control.java:5086)
    10. org.eclipse.swt.widgets.Control.windowProc(Control.java:4584)
    11. org.eclipse.swt.widgets.Canvas.windowProc(Canvas.java:341)
    12. org.eclipse.swt.widgets.Decorations.windowProc(Decorations.java:1610)
    13. org.eclipse.swt.widgets.Shell.windowProc(Shell.java:2061)
    14. org.eclipse.swt.widgets.Display.windowProc(Display.java:4985)
    14 frames
  5. org.eclipse.swt
    OS.CallWindowProc
    1. org.eclipse.swt.internal.win32.OS.CallWindowProcW(Native Method)
    2. org.eclipse.swt.internal.win32.OS.CallWindowProc(OS.java:2425)
    2 frames
  6. RWT
    Display.windowProc
    1. org.eclipse.swt.widgets.Link.callWindowProc(Link.java:172)
    2. org.eclipse.swt.widgets.Widget.wmLButtonUp(Widget.java:2057)
    3. org.eclipse.swt.widgets.Control.WM_LBUTTONUP(Control.java:4912)
    4. org.eclipse.swt.widgets.Link.WM_LBUTTONUP(Link.java:909)
    5. org.eclipse.swt.widgets.Control.windowProc(Control.java:4565)
    6. org.eclipse.swt.widgets.Display.windowProc(Display.java:4985)
    6 frames
  7. org.eclipse.swt
    OS.DispatchMessage
    1. org.eclipse.swt.internal.win32.OS.DispatchMessageW(Native Method)
    2. org.eclipse.swt.internal.win32.OS.DispatchMessage(OS.java:2531)
    2 frames
  8. RWT
    Display.readAndDispatch
    1. org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3752)
    1 frame
  9. JFace
    MessageDialog.open
    1. org.eclipse.jface.window.Window.runEventLoop(Window.java:825)
    2. org.eclipse.jface.window.Window.open(Window.java:801)
    3. org.eclipse.jface.dialogs.MessageDialog.open(MessageDialog.java:334)
    3 frames
  10. com.appcelerator.titanium
    NodeACSDeployProvider$4.run
    1. com.appcelerator.titanium.acs.ui.deploy.NodeACSDeployProvider$4.run(NodeACSDeployProvider.java:254)
    1 frame
  11. RWT
    Display.readAndDispatch
    1. org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
    2. org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:135)
    3. org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:4140)
    4. org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3757)
    4 frames
  12. Eclipse UI
    Workbench$7.run
    1. org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2701)
    2. org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2665)
    3. org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2499)
    4. org.eclipse.ui.internal.Workbench$7.run(Workbench.java:679)
    4 frames
  13. Databinding
    Realm.runWithDefault
    1. org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
    1 frame
  14. Eclipse UI
    Workbench.createAndRunWorkbench
    1. org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:668)
    1 frame
  15. Eclipse UI
    PlatformUI.createAndRunWorkbench
    1. org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
    1 frame
  16. com.appcelerator.titanium
    IDEApplication.start
    1. com.appcelerator.titanium.rcp.IDEApplication.start(IDEApplication.java:125)
    1 frame
  17. Equinox Container
    EclipseAppHandle.run
    1. org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
    1 frame
  18. Eclipse OSGi
    EclipseStarter.run
    1. org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
    2. org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
    3. org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:344)
    4. org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
    4 frames
  19. Java RT
    Method.invoke
    1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    2. sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    3. sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    4. java.lang.reflect.Method.invoke(Unknown Source)
    4 frames
  20. Equinox
    Main.run
    1. org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:622)
    2. org.eclipse.equinox.launcher.Main.basicRun(Main.java:577)
    3. org.eclipse.equinox.launcher.Main.run(Main.java:1410)
    3 frames