[ 
https://issues.jenkins-ci.org/browse/JENKINS-13304?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=161089#comment-161089
 ] 

Alex Lehmann commented on JENKINS-13304:
----------------------------------------

https://github.com/alexlehm/jenkins/commit/a2284981bc9571b891cf601aa158c91b7db6ba06
[Fixed JENKINS-13304] unset root url causes MalformedURLException in 
DNSMultiCast

skip mdns initialization if rootURL is not set

                
> unset root url causes MalformedURLException in DNSMultiCast
> -----------------------------------------------------------
>
>                 Key: JENKINS-13304
>                 URL: https://issues.jenkins-ci.org/browse/JENKINS-13304
>             Project: Jenkins
>          Issue Type: Bug
>          Components: core
>         Environment: windows xp, jenkins 1.457
>            Reporter: Alex Lehmann
>            Priority: Minor
>
> when starting jenkins for the first time (or before the config was saved for 
> the first time)
> then startup messages end with an exception when initializing the mdns 
> service.
> 01.04.2012 19:29:45 hudson.DNSMultiCast <init>
> WARNUNG: Failed to advertise the service to DNS multi-cast
> java.net.MalformedURLException
>         at java.net.URL.<init>(URL.java:601)
>         at java.net.URL.<init>(URL.java:464)
>         at java.net.URL.<init>(URL.java:413)
>         at hudson.DNSMultiCast.<init>(DNSMultiCast.java:45)
>         at jenkins.model.Jenkins.<init>(Jenkins.java:787)
>         at hudson.model.Hudson.<init>(Hudson.java:81)
>         at hudson.model.Hudson.<init>(Hudson.java:77)
>         at hudson.WebAppMain$2.run(WebAppMain.java:217)
> this is in fact a null pointer exception, since rootURL is null when the 
> corresponding config file doesn't exist (Mailer config rootURL) if the files 
> haven't been created yet.
> This should check for null and simply disable the mdns server I think.

--
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

        

Reply via email to