Repository navigation
[JENKINS-8647] Hudson 1.395 logs many messages about RecordReaper IllegalArgumentException #15585
Description
I'm seeing new diagnostic output on several different machines running Hudson
since I updated to 1.395.
Machines which have shown these types of messages from the master server
include:
- Windows Server 2008 x64
- Debian i386
- Debian AMD64
The message is:
Jan 24, 2011 4:59:53 PM javax.jmdns.impl.tasks.RecordReaper run
SEVERE: RecordReaper(mwaite2-deb.local.).Error while reaping records:
[Pointer@21075506 type: TYPE_PTR index 12, class: CLASS_IN index 1, name:
_services._dns-sd._udp.local. ttl: '2240/4500' alias:
'_home-sharing._tcp.local.']
java.lang.IllegalArgumentException: The instance name component of a fully
qualified service cannot be empty.
at
javax.jmdns.impl.ServiceInfoImpl.checkQualifiedNameMap(ServiceInfoImpl.java:356)
at javax.jmdns.impl.ServiceInfoImpl.(ServiceInfoImpl.java:197)
at javax.jmdns.impl.DNSRecord$Pointer.getServiceInfo(DNSRecord.java:540)
at javax.jmdns.impl.DNSRecord.getServiceInfo(DNSRecord.java:1051)
at javax.jmdns.impl.JmDNSImpl.renewServiceCollector(JmDNSImpl.java:1228)
at javax.jmdns.impl.tasks.RecordReaper.run(RecordReaper.java:80)
at java.util.TimerThread.mainLoop(Timer.java:512)
at java.util.TimerThread.run(Timer.java:462)
Jan 24, 2011 4:59:54 PM javax.jmdns.impl.tasks.RecordReaper run
SEVERE:---- Local Host -----
local host info[mwaite2-deb.local., eth0:132.253.117.116, DNS:
mwaite2-deb.local. state: announced task: Renewer(mwaite2-deb.local.) state:
announced]
---- Services -----
Service: hudson (14)._hudson._tcp.local.:
[ServiceInfoImpl@11418595 name: 'hudson (14)._hudson._tcp.local.' address:
'mwaite2-deb.ptcnet.ptc.com/132.253.117.116:80' status: 'DNS: mwaite2-deb.local.
state: announced task: Renewer(mwaite2-deb.local.) state: announced', has data
\020slave-port=35469+url=http://mwaite2-deb.ptcnet.ptc.com:8080/\015version=1.395]
---- Types ----
Type: _afpovertcp._tcp.local.: no subtypes
Type: _hudson._tcp.local.: no subtypes
Originally reported by -1, imported from: Hudson 1.395 logs many messages about RecordReaper IllegalArgumentException
- status: Closed
- priority: Major
- component(s): core
- resolution: Fixed
- resolved: 2011-02-24T08:47:02+00:00
- votes: 4
- watchers: 13
- imported: 2025-11-24
Raw content of original issue
I'm seeing new diagnostic output on several different machines running Hudson since I updated to 1.395.
Machines which have shown these types of messages from the master server include:
- Windows Server 2008 x64
- Debian i386
- Debian AMD64
The message is:
Jan 24, 2011 4:59:53 PM javax.jmdns.impl.tasks.RecordReaper run SEVERE: RecordReaper(mwaite2-deb.local.).Error while reaping records: [Pointer@21075506 type: TYPE_PTR index 12, class: CLASS_IN index 1, name: _services._dns-sd._udp.local. ttl: '2240/4500' alias: '_home-sharing._tcp.local.'] java.lang.IllegalArgumentException: The instance name component of a fully qualified service cannot be empty. at javax.jmdns.impl.ServiceInfoImpl.checkQualifiedNameMap(ServiceInfoImpl.java:356) at javax.jmdns.impl.ServiceInfoImpl.<init>(ServiceInfoImpl.java:197) at javax.jmdns.impl.DNSRecord$Pointer.getServiceInfo(DNSRecord.java:540) at javax.jmdns.impl.DNSRecord.getServiceInfo(DNSRecord.java:1051) at javax.jmdns.impl.JmDNSImpl.renewServiceCollector(JmDNSImpl.java:1228) at javax.jmdns.impl.tasks.RecordReaper.run(RecordReaper.java:80) at java.util.TimerThread.mainLoop(Timer.java:512) at java.util.TimerThread.run(Timer.java:462) Jan 24, 2011 4:59:54 PM javax.jmdns.impl.tasks.RecordReaper run SEVERE: ---- Local Host ----- local host info[mwaite2-deb.local., eth0:132.253.117.116, DNS: mwaite2-deb.local. state: announced task: Renewer(mwaite2-deb.local.) state: announced] ---- Services ----- Service: hudson (14)._hudson._tcp.local.: [ServiceInfoImpl@11418595 name: 'hudson (14)._hudson._tcp.local.' address: 'mwaite2-deb.ptcnet.ptc.com/132.253.117.116:80' status: 'DNS: mwaite2-deb.local. state: announced task: Renewer(mwaite2-deb.local.) state: announced', has data \020slave-port=35469+url=http://mwaite2-deb.ptcnet.ptc.com:8080/\015version=1.395]
---- Types ---- Type: _afpovertcp._tcp.local.: no subtypes Type: _hudson._tcp.local.: no subtypes
- environment:
Debian, Windows
Activity
jenkins-infra-bot commentedon Jan 28, 2011
MarkEWaite:
Raw content of original comment:
The resulting log files tend to be large. Refer to information on the Hudson users mailing list http://groups.google.com/group/hudson-users/browse_thread/thread/323af7e50a7bb9bc/3ca3c46bd780524b
jenkins-infra-bot commentedon Feb 10, 2011
Raw content of original comment:
holgerhoffstaette have a solution see http://issues.hudson-ci.org/browse/HUDSON-8647
I have updated the core/pom.xml to use jmdns-3.4.0.jar
A fix is available at:
rickard-von-essen@c59a00f
and I've attached a patch.
jenkins-infra-bot commentedon Feb 10, 2011
Raw content of original comment:
Git Patch to change the core/pom.xml to use jmdns-3.4.0
jenkins-infra-bot commentedon Feb 14, 2011
Raw content of original comment:
Did you test this? I don't think you even did the most basic kind of checking.. the program will not compile with this simple fix applied.
jenkins-infra-bot commentedon Feb 14, 2011
Raw content of original comment:
I believe I have fixed this properly with #54
jenkins-infra-bot commentedon Feb 14, 2011
Raw content of original comment:
Code changed in jenkins
User: Jesse Farinacci
Path:
core/pom.xml
core/src/main/java/hudson/DNSMultiCast.java
http://jenkins-ci.org/commit/core/53f0274753d7a90a47726831011fa35874c83056
Log:
[FIXED JENKINS-8647] Many messages about RecordReaper IllegalArgumentException
I did a checkout for our internal fork of JmDNS [1] and the
upstream version [2] to compare what the differences were..
I found none. There do not appear to be any local edits to
our fork so I can not figure out why we did the fork to
begin with.
Perhaps some older version had locally patched bugs which
have since been resolved? Anyhow, given that
JENKINS-8647is causing lots of people lots of grief, and it is enabled
by default, I went ahead and bumped to jmdns-3.4.0 upstream.
I think reduction of forks for library projects is generally
good, and especially when we have no practical changes made
to our version.
[1] https://github.com/jenkinsci/jmdns
[2] https://jmdns.svn.sourceforge.net/svnroot/jmdns/tags/JmDNS_3_2_1/
jenkins-infra-bot commentedon Feb 14, 2011
Raw content of original comment:
Code changed in jenkins
User: Jesse Farinacci
Path:
changelog.html
http://jenkins-ci.org/commit/core/22d2dc487ddb5558694efd3d17e49d07adda19b3
Log:
update changelog for fix to
JENKINS-8647jenkins-infra-bot commentedon Feb 14, 2011
Raw content of original comment:
jieryn
I did rebuild the war. I thought this was why we have CI. Actually the fix runs, but as you point out, don't compile. But it's not rocket surgery to fix the problem, I see you already did.
jenkins-infra-bot commentedon Feb 14, 2011
Raw content of original comment:
Kohsuke Kawaguchi : Files :
Integrated in
jenkins_main_trunk #512
[FIXED JENKINS-8647] Many messages about RecordReaper IllegalArgumentException
update changelog for fix to
JENKINS-8647Kohsuke Kawaguchi :
Files :
Kohsuke Kawaguchi :
Files :
jenkins-infra-bot commentedon Feb 23, 2011
eodbeeck:
Raw content of original comment:
I deployed the latest jenkins.war of 21-Feb-2011 04:02, but we still get these verbose RecordReaper errors.
The version of the included jmdns lib is 'jmdns-3.2.1-hudson-1.jar'.
Was this supposed to be fixed in that version or is there anything else we can try?
jenkins-infra-bot commentedon Feb 23, 2011
Raw content of original comment:
I believe this is incorporated into v1.399.
jenkins-infra-bot commentedon Feb 24, 2011
yrsone:
Raw content of original comment:
The problem still exists in Jenkins 1.398.
jenkins-infra-bot commentedon Feb 24, 2011
yrsone:
Raw content of original comment:
Oops, my mistake ... sorry for watchers.
jenkins-infra-bot commentedon Mar 1, 2011
marco_rothe:
Raw content of original comment:
Fixed with 1.399, but jmdns 3.4.0 breaks the JDK 5 compatibility of hudson (see
JENKINS-8914).jenkins-infra-bot commentedon Apr 2, 2013
Raw content of original comment:
Confirmed fixes long ago.
jenkins-infra-bot commentedon Nov 24, 2025
[Original
relates_tofrom Jira: JENKINS-8914]