Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-20713

java.lang.IllegalArgumentException: Error parsing entity tag '1385073575'

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Won't Do
    • Icon: Major Major
    • urltrigger-plugin
    • None

      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

            stealthdj Tony Noble
            intervoice Andrey Chergik
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: