java.io.IOException: Server returned HTTP response code: 500 for URL: http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd

Spring JIRA | Sathiya Shunmugasundaram | 3 years ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    The build task "gradlew dist" fails with the following error. 00:20:16.976 [ERROR] [org.gradle.BuildExceptionReporter] ... 52 more 00:20:16.976 [ERROR] [org.gradle.BuildExceptionReporter] Caused by: javax.xml.transform.TransformerException: Failure reading /Users/ixr303/spring-xd/build/reference-work/index.xml 00:20:16.976 [ERROR] [org.gradle.BuildExceptionReporter] at com.icl.saxon.om.Builder.build(Builder.java:267) 00:20:16.976 [ERROR] [org.gradle.BuildExceptionReporter] at com.icl.saxon.Controller.transform(Controller.java:936) 00:20:16.976 [ERROR] [org.gradle.BuildExceptionReporter] at com.icl.saxon.Controller$transform.call(Unknown Source) 00:20:16.976 [ERROR] [org.gradle.BuildExceptionReporter] at AbstractDocbookReferenceTask.transform(DocbookReferencePlugin.groovy:146) 00:20:16.976 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.internal.reflect.JavaMethod.invoke(JavaMethod.java:63) 00:20:16.976 [ERROR] [org.gradle.BuildExceptionReporter] ... 59 more 00:20:16.976 [ERROR] [org.gradle.BuildExceptionReporter] Caused by: java.io.IOException: Server returned HTTP response code: 500 for URL: http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd 00:20:16.977 [ERROR] [org.gradle.BuildExceptionReporter] at org.apache.xerces.impl.XMLEntityManager.setupCurrentEntity(Unknown Source) 00:20:16.977 [ERROR] [org.gradle.BuildExceptionReporter] at org.apache.xerces.impl.XMLEntityManager.startEntity(Unknown Source) 00:20:16.977 [ERROR] [org.gradle.BuildExceptionReporter] at org.apache.xerces.impl.XMLEntityManager.startDTDEntity(Unknown Source) 00:20:16.977 [ERROR] [org.gradle.BuildExceptionReporter] at org.apache.xerces.impl.XMLDTDScannerImpl.setInputSource(Unknown Source) 00:20:16.977 [ERROR] [org.gradle.BuildExceptionReporter] at org.apache.xerces.impl.XMLDocumentScannerImpl$DTDDispatcher.dispatch(Unknown Source) 00:20:16.977 [ERROR] [org.gradle.BuildExceptionReporter] at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source) 00:20:16.977 [ERROR] [org.gradle.BuildExceptionReporter] at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) 00:20:16.977 [ERROR] [org.gradle.BuildExceptionReporter] at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) 00:20:16.977 [ERROR] [org.gradle.BuildExceptionReporter] at org.apache.xerces.parsers.XMLParser.parse(Unknown Source) 00:20:16.977 [ERROR] [org.gradle.BuildExceptionReporter] at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source) 00:20:16.978 [ERROR] [org.gradle.BuildExceptionReporter] at org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source) 00:20:16.978 [ERROR] [org.gradle.BuildExceptionReporter] at com.icl.saxon.om.Builder.build(Builder.java:265) The URL http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd returns 500 error most of the times. Tried to circumvent the error by manually getting the did file locally and running again causes unintended relative path issues. Help is very much appreciated.

    Spring JIRA | 3 years ago | Sathiya Shunmugasundaram
    java.io.IOException: Server returned HTTP response code: 500 for URL: http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd
  2. 0

    The build task "gradlew dist" fails with the following error. 00:20:16.976 [ERROR] [org.gradle.BuildExceptionReporter] ... 52 more 00:20:16.976 [ERROR] [org.gradle.BuildExceptionReporter] Caused by: javax.xml.transform.TransformerException: Failure reading /Users/ixr303/spring-xd/build/reference-work/index.xml 00:20:16.976 [ERROR] [org.gradle.BuildExceptionReporter] at com.icl.saxon.om.Builder.build(Builder.java:267) 00:20:16.976 [ERROR] [org.gradle.BuildExceptionReporter] at com.icl.saxon.Controller.transform(Controller.java:936) 00:20:16.976 [ERROR] [org.gradle.BuildExceptionReporter] at com.icl.saxon.Controller$transform.call(Unknown Source) 00:20:16.976 [ERROR] [org.gradle.BuildExceptionReporter] at AbstractDocbookReferenceTask.transform(DocbookReferencePlugin.groovy:146) 00:20:16.976 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.internal.reflect.JavaMethod.invoke(JavaMethod.java:63) 00:20:16.976 [ERROR] [org.gradle.BuildExceptionReporter] ... 59 more 00:20:16.976 [ERROR] [org.gradle.BuildExceptionReporter] Caused by: java.io.IOException: Server returned HTTP response code: 500 for URL: http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd 00:20:16.977 [ERROR] [org.gradle.BuildExceptionReporter] at org.apache.xerces.impl.XMLEntityManager.setupCurrentEntity(Unknown Source) 00:20:16.977 [ERROR] [org.gradle.BuildExceptionReporter] at org.apache.xerces.impl.XMLEntityManager.startEntity(Unknown Source) 00:20:16.977 [ERROR] [org.gradle.BuildExceptionReporter] at org.apache.xerces.impl.XMLEntityManager.startDTDEntity(Unknown Source) 00:20:16.977 [ERROR] [org.gradle.BuildExceptionReporter] at org.apache.xerces.impl.XMLDTDScannerImpl.setInputSource(Unknown Source) 00:20:16.977 [ERROR] [org.gradle.BuildExceptionReporter] at org.apache.xerces.impl.XMLDocumentScannerImpl$DTDDispatcher.dispatch(Unknown Source) 00:20:16.977 [ERROR] [org.gradle.BuildExceptionReporter] at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source) 00:20:16.977 [ERROR] [org.gradle.BuildExceptionReporter] at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) 00:20:16.977 [ERROR] [org.gradle.BuildExceptionReporter] at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) 00:20:16.977 [ERROR] [org.gradle.BuildExceptionReporter] at org.apache.xerces.parsers.XMLParser.parse(Unknown Source) 00:20:16.977 [ERROR] [org.gradle.BuildExceptionReporter] at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source) 00:20:16.978 [ERROR] [org.gradle.BuildExceptionReporter] at org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source) 00:20:16.978 [ERROR] [org.gradle.BuildExceptionReporter] at com.icl.saxon.om.Builder.build(Builder.java:265) The URL http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd returns 500 error most of the times. Tried to circumvent the error by manually getting the did file locally and running again causes unintended relative path issues. Help is very much appreciated.

    Spring JIRA | 3 years ago | Sathiya Shunmugasundaram
    java.io.IOException: Server returned HTTP response code: 500 for URL: http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd

    Root Cause Analysis

    1. java.io.IOException

      Server returned HTTP response code: 500 for URL: http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd

      at org.apache.xerces.impl.XMLEntityManager.setupCurrentEntity()
    2. Xerces2-j
      AbstractSAXParser.parse
      1. org.apache.xerces.impl.XMLEntityManager.setupCurrentEntity(Unknown Source)
      2. org.apache.xerces.impl.XMLEntityManager.startEntity(Unknown Source)
      3. org.apache.xerces.impl.XMLEntityManager.startDTDEntity(Unknown Source)
      4. org.apache.xerces.impl.XMLDTDScannerImpl.setInputSource(Unknown Source)
      5. org.apache.xerces.impl.XMLDocumentScannerImpl$DTDDispatcher.dispatch(Unknown Source)
      6. org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)
      7. org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
      8. org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
      9. org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
      10. org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
      10 frames