Uploaded image for project: 'Shibboleth Discovery Service - Java'
  1. Shibboleth Discovery Service - Java
  2. SDSJ-73

Recursive out of stack from FileBackedHttpProvider

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Cannot Reproduce
    • Affects Version/s: 1.1.2
    • Fix Version/s: 1.1.2
    • Labels:
      None
    • Java Version:
      Sun 1.6
    • Servlet Container:
      Apache Tomcat 6.0

      Description

      I am seeing this on a development build of DS taken from mainline (everything). I need to do some further analysis but right now I have too many other balls in the air.

      The affected are no, a priori, associated with any changes I made.

      Note that this is NOT VISIBLE IN ANY REALEASED version and the identical configuration did work on a release version.

      Stack segment:

      java.lang.StackOverflowError
      java.lang.Exception.<init>(Unknown Source)
      java.io.IOException.<init>(Unknown Source)
      java.io.InterruptedIOException.<init>(Unknown Source)
      java.net.SocketTimeoutException.<init>(Unknown Source)
      java.net.SocketInputStream.socketRead0(Native Method)
      java.net.SocketInputStream.read(Unknown Source)
      com.sun.net.ssl.internal.ssl.InputRecord.readFully(Unknown Source)
      com.sun.net.ssl.internal.ssl.InputRecord.read(Unknown Source)
      com.sun.net.ssl.internal.ssl.SSLSocketImpl.readRecord(Unknown Source)
      com.sun.net.ssl.internal.ssl.SSLSocketImpl.readDataRecord(Unknown Source)
      com.sun.net.ssl.internal.ssl.AppInputStream.read(Unknown Source)
      java.io.BufferedInputStream.fill(Unknown Source)
      java.io.BufferedInputStream.read(Unknown Source)
      org.apache.commons.httpclient.HttpConnection.isStale(HttpConnection.java:506)
      org.apache.commons.httpclient.HttpConnection.closeIfStale(HttpConnection.java:431)
      org.apache.commons.httpclient.HttpMethodDirector.executeWithRetry(HttpMethodDirector.java:382)
      org.apache.commons.httpclient.HttpMethodDirector.executeMethod(HttpMethodDirector.java:171)
      org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:397)
      org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:323)
      org.opensaml.saml2.metadata.provider.HTTPMetadataProvider.fetchMetadata(HTTPMetadataProvider.java:277)
      org.opensaml.saml2.metadata.provider.FileBackedHTTPMetadataProvider.fetchMetadata(FileBackedHTTPMetadataProvider.java:99)
      org.opensaml.saml2.metadata.provider.HTTPMetadataProvider.refreshMetadata(HTTPMetadataProvider.java:231)
      org.opensaml.saml2.metadata.provider.HTTPMetadataProvider.getMetadata(HTTPMetadataProvider.java:201)
      edu.internet2.middleware.shibboleth.wayf.IdPSiteSet.onEvent(IdPSiteSet.java:458)
      org.opensaml.saml2.metadata.provider.AbstractObservableMetadataProvider.emitChangeEvent(AbstractObservableMetadataProvider.java:53)
      org.opensaml.saml2.metadata.provider.HTTPMetadataProvider.refreshMetadata(HTTPMetadataProvider.java:246)
      org.opensaml.saml2.metadata.provider.HTTPMetadataProvider.getMetadata(HTTPMetadataProvider.java:201)

      Config segment:

          <MetadataProvider
              displayName="Lukas"
              identifier="Lukas"
              type="edu.internet2.middleware.shibboleth.metadata.provider.XMLMetadata"
              backingFile="/Program Files/DsJSON/metadata/lukas"
      url="https://dieng.switch.ch/i2ds/metadata.dieng.xml" />

        Attachments

          Activity

            People

            • Assignee:
              rdw Rod Widdowson
              Reporter:
              rdw@steadingsoftware.com Rod Widdowson
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Smart Checklist