[
https://issues.jenkins-ci.org/browse/JENKINS-12826?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Kohsuke Kawaguchi updated JENKINS-12826:
----------------------------------------
Component/s: core
(was: subversion)
(was: cvs)
(was: mercurial)
(was: git)
Reassining it to core.
> empty repository browser url gives tomcat error page on different scm plugins
> -----------------------------------------------------------------------------
>
> Key: JENKINS-12826
> URL: https://issues.jenkins-ci.org/browse/JENKINS-12826
> Project: Jenkins
> Issue Type: Bug
> Components: core
> Environment: jenkins 1.451, tomcat 7.0.25, cvs 2.0, git 1.1.15, svn
> 1.39, mercurial 1.38
> Reporter: Alex Lehmann
> Assignee: abayer
> Priority: Minor
>
> i was trying the mercurial plugin and selected repository browser bitbucket
> but didn't enter an url, this causes an error 500 from tomcat, which make it
> a bit difficult to figure out what is actually wrong (I though that the
> repository url was wrong initially).
> javax.servlet.ServletException: java.lang.RuntimeException: Failed to
> instantiate class hudson.plugins.mercurial.MercurialSCM
> root cause
> java.net.MalformedURLException: no protocol:
> the same happens on the config page for cvs, git and svn (at least, thats all
> scm plugins I have installed), it would be nice if the url is validated on
> the config page similar to other config parameters to get a red error message.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.jenkins-ci.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira