Uploaded image for project: 'Crucible'
  1. Crucible
  2. CRUC-3978

java.io.IOException: Server returned HTTP response code: 503 for URL: http://www.w3.org/TR/html4/loose.dtd

    • Icon: Bug Bug
    • Resolution: Cannot Reproduce
    • Icon: Highest Highest
    • 2.4-M4, 2.4.0
    • 2.4-M4
    • Integrations

      After invoking remote API method:
      https://atlaseye.atlassian.com/rest-service/reviews-v1/CR-PL-137/reviewitems/CFR-101493/comments

      I get following error:
      java.io.IOException: Server returned HTTP response code: 503 for URL: http://www.w3.org/TR/html4/loose.dtd

      This works for Cruciuble 2.3.5 bud doesn't for 2.4-M4 (https://atlaseye.atlassian.com)

            [CRUC-3978] java.io.IOException: Server returned HTTP response code: 503 for URL: http://www.w3.org/TR/html4/loose.dtd

            In the logs I don't see any IOExceptions, but I do see this error for the URL you mention:

            Error for /rest-service/reviews-v1/CR-PL-137/reviewitems/CFR-101493/comments
            
            java.lang.LinkageError: loader constraint violation: when resolving overridden method "com.sun.xml.bind.v2.runtime.unmarshaller.UnmarshallerImpl.unmarshal(Ljavax/xml/stream/XMLStreamReader;)Ljava/lang/Object;" the class loader (instance of org/apache/felix/framework/ModuleImpl$ModuleClassLoader) of the current class, com/sun/xml/bind/v2/runtime/unmarshaller/UnmarshallerImpl, and its superclass loader (instance of <bootloader>), have different Class objects for the type javax/xml/stream/XMLStreamReader used in the signature
            	at com.sun.xml.bind.v2.runtime.JAXBContextImpl.createUnmarshaller(JAXBContextImpl.java:747)
            	at com.sun.xml.bind.v2.runtime.JAXBContextImpl.createUnmarshaller(JAXBContextImpl.java:138)
            	at com.sun.jersey.core.provider.jaxb.AbstractJAXBProvider.getUnmarshaller(AbstractJAXBProvider.java:131)
            

            Are you sure that the IOException is happening server side, or could it be that FE returned an HTML page for the error above and the connector tried to resolve that w3 URL?

            The error above has since been fixed, and I can't reproduce the problem at the URL you give, so please try again and let us know if this is still a problem.

            Tom Davies added a comment - In the logs I don't see any IOExceptions, but I do see this error for the URL you mention: Error for /rest-service/reviews-v1/CR-PL-137/reviewitems/CFR-101493/comments java.lang.LinkageError: loader constraint violation: when resolving overridden method "com.sun.xml.bind.v2.runtime.unmarshaller.UnmarshallerImpl.unmarshal(Ljavax/xml/stream/XMLStreamReader;)Ljava/lang/Object;" the class loader (instance of org/apache/felix/framework/ModuleImpl$ModuleClassLoader) of the current class, com/sun/xml/bind/v2/runtime/unmarshaller/UnmarshallerImpl, and its superclass loader (instance of <bootloader>), have different Class objects for the type javax/xml/stream/XMLStreamReader used in the signature at com.sun.xml.bind.v2.runtime.JAXBContextImpl.createUnmarshaller(JAXBContextImpl.java:747) at com.sun.xml.bind.v2.runtime.JAXBContextImpl.createUnmarshaller(JAXBContextImpl.java:138) at com.sun.jersey.core.provider.jaxb.AbstractJAXBProvider.getUnmarshaller(AbstractJAXBProvider.java:131) Are you sure that the IOException is happening server side, or could it be that FE returned an HTML page for the error above and the connector tried to resolve that w3 URL? The error above has since been fixed, and I can't reproduce the problem at the URL you give, so please try again and let us know if this is still a problem.

            In fact, it doesn't seem to happen on AtlasEye either. Hitting that URL that you provided returns

            <comments></comments>

            Seb Ruiz (Inactive) added a comment - In fact, it doesn't seem to happen on AtlasEye either. Hitting that URL that you provided returns <comments></comments>

            This has been fixed on trunk

            Seb Ruiz (Inactive) added a comment - This has been fixed on trunk

            This bug prevents connector to add versioned comments for files

            Piotr Maruszak added a comment - This bug prevents connector to add versioned comments for files

              tom@atlassian.com Tom Davies
              pmaruszak Piotr Maruszak
              Affected customers:
              0 This affects my team
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved: