Issue Type: Bug Bug
Assignee: Gregory Boissinot
Components: urltrigger
Created: 22/Nov/13 12:34 AM
Description:

Jenkins 1.540
urltrigger 0.36

When urltrigger tries to parse response (eTag actually) it fails with the following error:

java.lang.IllegalArgumentException: Error parsing entity tag '1385073575'
at com.sun.jersey.core.impl.provider.header.EntityTagProvider.fromString
(EntityTagProvider.java:87)
at com.sun.jersey.core.impl.provider.header.EntityTagProvider.fromString
(EntityTagProvider.java:53)
at com.sun.jersey.api.client.ClientResponse.getEntityTag(ClientResponse.
java:635)
at org.jenkinsci.plugins.urltrigger.service.HTTPResponse.getEntityTagVal
ue(HTTPResponse.java:33)
at org.jenkinsci.plugins.urltrigger.service.URLTriggerService.isScheduli
ngAndGetRefresh(URLTriggerService.java:61)
at org.jenkinsci.plugins.urltrigger.URLTrigger.checkIfModifiedEntryForHt
tpOrHttpsURL(URLTrigger.java:240)
at org.jenkinsci.plugins.urltrigger.URLTrigger.checkIfModifiedEntry(URLT
rigger.java:216)
at org.jenkinsci.plugins.urltrigger.URLTrigger.checkIfModified(URLTrigge
r.java:199)
at org.jenkinsci.lib.xtrigger.AbstractTrigger$Runner.run(AbstractTrigger
.java:199)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.
java:1110)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor
.java:603)
at java.lang.Thread.run(Thread.java:679)

Raw response from the parsing url:

telnet xxx.com 80
Trying 10.1.0.2...
Connected to xxx.com.
Escape character is '^]'.
HEAD /atom-log HTTP/1.1
HOST: xxx.com

HTTP/1.1 200 Script output follows
Date: Fri, 22 Nov 2013 00:32:00 GMT
Server: Apache/2.2.3 (CentOS)
ETag: 1385073575
Connection: close
Content-Type: application/atom+xml; charset=ascii

Connection closed by foreign host.

---------------
Related bug: https://issues.jenkins-ci.org/browse/JENKINS-20712

Project: Jenkins
Priority: Major Major
Reporter: Andrey Chergik
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira

--
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to