java.net.MalformedURLException: no protocol: Foo

Jenkins JIRA | Sylvain Veyrié | 6 years ago
  1. 0

    [JENKINS-9440] MalformedURLException if malformed url - Jenkins JIRA

    jenkins-ci.org | 8 months ago
    java.net.MalformedURLException: no protocol: Foo
  2. 0

    Jenkins 1.408 Mantis plugin 0.10.1 If I set in the "URL" field a non-valid URL (my mistake), I got a 500 error with the following stacktrace : {noformat} java.net.MalformedURLException: no protocol: Foo at java.net.URL.(URL.java:567) at java.net.URL.(URL.java:464) at java.net.URL.(URL.java:413) at hudson.plugins.mantis.MantisProjectProperty$DescriptorImpl.doCheckLogin(MantisProjectProperty.java:172) 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.kohsuke.stapler.Function$InstanceFunction.invoke(Function.java:282) at org.kohsuke.stapler.Function.bindAndInvoke(Function.java:149) at org.kohsuke.stapler.Function.bindAndInvokeAndServeResponse(Function.java:88) at org.kohsuke.stapler.MetaClass$1.doDispatch(MetaClass.java:103) at org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:53) at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:561) at org.kohsuke.stapler.Stapler.invoke(Stapler.java:646) at org.kohsuke.stapler.MetaClass$6.doDispatch(MetaClass.java:233) at org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:53) at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:561) at org.kohsuke.stapler.Stapler.invoke(Stapler.java:646) at org.kohsuke.stapler.Stapler.invoke(Stapler.java:477) at org.kohsuke.stapler.Stapler.service(Stapler.java:159) at javax.servlet.http.HttpServlet.service(HttpServlet.java:45) at winstone.ServletConfiguration.execute(ServletConfiguration.java:249) at winstone.RequestDispatcher.forward(RequestDispatcher.java:335) at winstone.RequestDispatcher.doFilter(RequestDispatcher.java:378) at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:94) at hudson.util.PluginServletFilter.doFilter(PluginServletFilter.java:86) at winstone.FilterConfiguration.execute(FilterConfiguration.java:195) at winstone.RequestDispatcher.doFilter(RequestDispatcher.java:368) at hudson.security.csrf.CrumbFilter.doFilter(CrumbFilter.java:47) at winstone.FilterConfiguration.execute(FilterConfiguration.java:195) at winstone.RequestDispatcher.doFilter(RequestDispatcher.java:368) at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:84) at hudson.security.ChainedServletFilter.doFilter(ChainedServletFilter.java:76) at hudson.security.HudsonFilter.doFilter(HudsonFilter.java:164) at winstone.FilterConfiguration.execute(FilterConfiguration.java:195) at winstone.RequestDispatcher.doFilter(RequestDispatcher.java:368) at hudson.util.CharacterEncodingFilter.doFilter(CharacterEncodingFilter.java:81) at winstone.FilterConfiguration.execute(FilterConfiguration.java:195) at winstone.RequestDispatcher.doFilter(RequestDispatcher.java:368) at winstone.RequestDispatcher.forward(RequestDispatcher.java:333) at winstone.RequestHandlerThread.processRequest(RequestHandlerThread.java:244) at winstone.RequestHandlerThread.run(RequestHandlerThread.java:150) at java.lang.Thread.run(Thread.java:662){noformat} Expected: I think the plugin should have a Jenkins's standard red error in this case. And, by the way, thanks for this plugin!

    Jenkins JIRA | 6 years ago | Sylvain Veyrié
    java.net.MalformedURLException: no protocol: Foo
  3. 0

    Jenkins 1.408 Mantis plugin 0.10.1 If I set in the "URL" field a non-valid URL (my mistake), I got a 500 error with the following stacktrace : {noformat} java.net.MalformedURLException: no protocol: Foo at java.net.URL.(URL.java:567) at java.net.URL.(URL.java:464) at java.net.URL.(URL.java:413) at hudson.plugins.mantis.MantisProjectProperty$DescriptorImpl.doCheckLogin(MantisProjectProperty.java:172) 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.kohsuke.stapler.Function$InstanceFunction.invoke(Function.java:282) at org.kohsuke.stapler.Function.bindAndInvoke(Function.java:149) at org.kohsuke.stapler.Function.bindAndInvokeAndServeResponse(Function.java:88) at org.kohsuke.stapler.MetaClass$1.doDispatch(MetaClass.java:103) at org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:53) at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:561) at org.kohsuke.stapler.Stapler.invoke(Stapler.java:646) at org.kohsuke.stapler.MetaClass$6.doDispatch(MetaClass.java:233) at org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:53) at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:561) at org.kohsuke.stapler.Stapler.invoke(Stapler.java:646) at org.kohsuke.stapler.Stapler.invoke(Stapler.java:477) at org.kohsuke.stapler.Stapler.service(Stapler.java:159) at javax.servlet.http.HttpServlet.service(HttpServlet.java:45) at winstone.ServletConfiguration.execute(ServletConfiguration.java:249) at winstone.RequestDispatcher.forward(RequestDispatcher.java:335) at winstone.RequestDispatcher.doFilter(RequestDispatcher.java:378) at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:94) at hudson.util.PluginServletFilter.doFilter(PluginServletFilter.java:86) at winstone.FilterConfiguration.execute(FilterConfiguration.java:195) at winstone.RequestDispatcher.doFilter(RequestDispatcher.java:368) at hudson.security.csrf.CrumbFilter.doFilter(CrumbFilter.java:47) at winstone.FilterConfiguration.execute(FilterConfiguration.java:195) at winstone.RequestDispatcher.doFilter(RequestDispatcher.java:368) at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:84) at hudson.security.ChainedServletFilter.doFilter(ChainedServletFilter.java:76) at hudson.security.HudsonFilter.doFilter(HudsonFilter.java:164) at winstone.FilterConfiguration.execute(FilterConfiguration.java:195) at winstone.RequestDispatcher.doFilter(RequestDispatcher.java:368) at hudson.util.CharacterEncodingFilter.doFilter(CharacterEncodingFilter.java:81) at winstone.FilterConfiguration.execute(FilterConfiguration.java:195) at winstone.RequestDispatcher.doFilter(RequestDispatcher.java:368) at winstone.RequestDispatcher.forward(RequestDispatcher.java:333) at winstone.RequestHandlerThread.processRequest(RequestHandlerThread.java:244) at winstone.RequestHandlerThread.run(RequestHandlerThread.java:150) at java.lang.Thread.run(Thread.java:662){noformat} Expected: I think the plugin should have a Jenkins's standard red error in this case. And, by the way, thanks for this plugin!

    Jenkins JIRA | 6 years ago | Sylvain Veyrié
    java.net.MalformedURLException: no protocol: Foo
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Re: LTS 1.424.1 RC

    Google Groups | 5 years ago | vjuranek
    java.lang.RuntimeException: Failed to instantiate class hudson.scm.SubversionSCM from {"":["0","0"],"browser":{"stapler-class":"hudson.scm.browsers.CollabNetSVN","url":""},"excludedCommitMessages":"","excludedRegions":"","excludedRevprop":"","excludedUsers":"","includedRegions":"","locations":{"local":"fossology","remote":"https://fossology.svn.sourceforge.net/svnroot/fossology/branches/fossology2.0/fossology"},"value":"2","workspaceUpdater":{"stapler-class":"hudson.scm.subversion.UpdateUpdater"}}
  6. 0

    URL is malformed

    GitHub | 4 years ago | matteosister
    java.lang.IllegalArgumentException: URL is malformed

  1. boussoffara med ali 11 times, last 1 week ago
  2. bmacedo 2 times, last 1 week ago
  3. Aria Pahlavan 41 times, last 3 weeks ago
  4. Andreas Häber 13 times, last 4 weeks ago
  5. ajinkya_w 21 times, last 2 months ago
33 more registered users
46 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: Foo

    at java.net.URL.<init>()
  2. Java RT
    URL.<init>
    1. java.net.URL.<init>(URL.java:567)
    2. java.net.URL.<init>(URL.java:464)
    3. java.net.URL.<init>(URL.java:413)
    3 frames
  3. hudson.plugins.mantis
    MantisProjectProperty$DescriptorImpl.doCheckLogin
    1. hudson.plugins.mantis.MantisProjectProperty$DescriptorImpl.doCheckLogin(MantisProjectProperty.java:172)
    1 frame
  4. Java RT
    Method.invoke
    1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    4. java.lang.reflect.Method.invoke(Method.java:597)
    4 frames
  5. Stapler
    Stapler.service
    1. org.kohsuke.stapler.Function$InstanceFunction.invoke(Function.java:282)
    2. org.kohsuke.stapler.Function.bindAndInvoke(Function.java:149)
    3. org.kohsuke.stapler.Function.bindAndInvokeAndServeResponse(Function.java:88)
    4. org.kohsuke.stapler.MetaClass$1.doDispatch(MetaClass.java:103)
    5. org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:53)
    6. org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:561)
    7. org.kohsuke.stapler.Stapler.invoke(Stapler.java:646)
    8. org.kohsuke.stapler.MetaClass$6.doDispatch(MetaClass.java:233)
    9. org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:53)
    10. org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:561)
    11. org.kohsuke.stapler.Stapler.invoke(Stapler.java:646)
    12. org.kohsuke.stapler.Stapler.invoke(Stapler.java:477)
    13. org.kohsuke.stapler.Stapler.service(Stapler.java:159)
    13 frames
  6. JavaServlet
    HttpServlet.service
    1. javax.servlet.http.HttpServlet.service(HttpServlet.java:45)
    1 frame
  7. winstone
    RequestDispatcher.doFilter
    1. winstone.ServletConfiguration.execute(ServletConfiguration.java:249)
    2. winstone.RequestDispatcher.forward(RequestDispatcher.java:335)
    3. winstone.RequestDispatcher.doFilter(RequestDispatcher.java:378)
    3 frames
  8. Hudson
    PluginServletFilter.doFilter
    1. hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:94)
    2. hudson.util.PluginServletFilter.doFilter(PluginServletFilter.java:86)
    2 frames
  9. winstone
    RequestDispatcher.doFilter
    1. winstone.FilterConfiguration.execute(FilterConfiguration.java:195)
    2. winstone.RequestDispatcher.doFilter(RequestDispatcher.java:368)
    2 frames
  10. Hudson
    CrumbFilter.doFilter
    1. hudson.security.csrf.CrumbFilter.doFilter(CrumbFilter.java:47)
    1 frame
  11. winstone
    RequestDispatcher.doFilter
    1. winstone.FilterConfiguration.execute(FilterConfiguration.java:195)
    2. winstone.RequestDispatcher.doFilter(RequestDispatcher.java:368)
    2 frames
  12. Hudson
    HudsonFilter.doFilter
    1. hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:84)
    2. hudson.security.ChainedServletFilter.doFilter(ChainedServletFilter.java:76)
    3. hudson.security.HudsonFilter.doFilter(HudsonFilter.java:164)
    3 frames
  13. winstone
    RequestDispatcher.doFilter
    1. winstone.FilterConfiguration.execute(FilterConfiguration.java:195)
    2. winstone.RequestDispatcher.doFilter(RequestDispatcher.java:368)
    2 frames
  14. Hudson
    CharacterEncodingFilter.doFilter
    1. hudson.util.CharacterEncodingFilter.doFilter(CharacterEncodingFilter.java:81)
    1 frame
  15. winstone
    RequestHandlerThread.run
    1. winstone.FilterConfiguration.execute(FilterConfiguration.java:195)
    2. winstone.RequestDispatcher.doFilter(RequestDispatcher.java:368)
    3. winstone.RequestDispatcher.forward(RequestDispatcher.java:333)
    4. winstone.RequestHandlerThread.processRequest(RequestHandlerThread.java:244)
    5. winstone.RequestHandlerThread.run(RequestHandlerThread.java:150)
    5 frames