java.io.IOException

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • Digester: Invalid handle exception
    via by 843834,
  • Invalid handle exception
    via by dan odacre,
  • What I was doing: Using the findbugs plugin to display the contents of findbugs.xml as generated by our project. What I expected to happen: It should parse findbugs.xml just fine, and display it and appear beautiful and horrifying at the same time, because of all the findbugs bugs in our code. Ideally, the findbugs plugin would configure xerces to use an XMLCatalogResolver to use a local copy of the dtd referenced in the findbugs.xml. More can be found at http://blog.sweetxml.org/2009/08/resolving-xhtml1-dtd-locally-avoiding.html Since this DTD is static, we could probably install it locally with the plugin. What happened instead: It failed with an exception because the www.w3.org is starting to return 503's due to massive traffic. [FINDBUGS] Parsing of file D:\hudson_home\jobs\trunk_quality\workspace\di.main\findbugs\findbugs.xml failed due to an exception: java.io.IOException: Server returned HTTP response code: 503 for URL: http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source) at com.sun.org.apache.xerces.internal.impl.XMLEntityManager.setupCurrentEntity(Unknown Source) at com.sun.org.apache.xerces.internal.impl.XMLEntityManager.startEntity(Unknown Source) at com.sun.org.apache.xerces.internal.impl.XMLEntityManager.startDTDEntity(Unknown Source) at com.sun.org.apache.xerces.internal.impl.XMLDTDScannerImpl.setInputSource(Unknown Source) at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl$DTDDriver.dispatch(Unknown Source) at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl$DTDDriver.next(Unknown Source) at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl$PrologDriver.next(Unknown Source) at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(Unknown Source) at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source) at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(Unknown Source) at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(Unknown Source) at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(Unknown Source) at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(Unknown Source) at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source) at org.apache.commons.digester.Digester.parse(Digester.java:1666) at hudson.plugins.findbugs.parser.NativeFindBugsParser.createHashToMessageMapping(NativeFindBugsParser.java:100) at hudson.plugins.findbugs.parser.NativeFindBugsParser.parse(NativeFindBugsParser.java:68) at hudson.plugins.findbugs.parser.FindBugsParser.parse(FindBugsParser.java:74) at hudson.plugins.analysis.core.FilesParser.parseFile(FilesParser.java:152) at hudson.plugins.analysis.core.FilesParser.parseFiles(FilesParser.java:131) at hudson.plugins.analysis.core.FilesParser.invoke(FilesParser.java:87) at hudson.plugins.analysis.core.FilesParser.invoke(FilesParser.java:28) at hudson.FilePath.act(FilePath.java:756) at hudson.FilePath.act(FilePath.java:738) at hudson.plugins.findbugs.FindBugsPublisher.perform(FindBugsPublisher.java:105) at hudson.plugins.analysis.core.HealthAwarePublisher.perform(HealthAwarePublisher.java:207) at hudson.tasks.BuildStepMonitor$2.perform(BuildStepMonitor.java:27) at hudson.model.AbstractBuild$AbstractRunner.perform(AbstractBuild.java:600) at hudson.model.AbstractBuild$AbstractRunner.performAllBuildSteps(AbstractBuild.java:580) at hudson.model.AbstractBuild$AbstractRunner.performAllBuildSteps(AbstractBuild.java:558) at hudson.model.Build$RunnerImpl.post2(Build.java:158) at hudson.model.AbstractBuild$AbstractRunner.post(AbstractBuild.java:528) at hudson.model.Run.run(Run.java:1264) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46) at hudson.model.ResourceController.execute(ResourceController.java:88) at hudson.model.Executor.run(Executor.java:122) If I can give you more info, let me know. I tried adding this to "plugins" project but could not because "components" was required but not populated or editable.
    via by csuehsdi,
  • What I was doing: Using the findbugs plugin to display the contents of findbugs.xml as generated by our project. What I expected to happen: It should parse findbugs.xml just fine, and display it and appear beautiful and horrifying at the same time, because of all the findbugs bugs in our code. Ideally, the findbugs plugin would configure xerces to use an XMLCatalogResolver to use a local copy of the dtd referenced in the findbugs.xml. More can be found at http://blog.sweetxml.org/2009/08/resolving-xhtml1-dtd-locally-avoiding.html Since this DTD is static, we could probably install it locally with the plugin. What happened instead: It failed with an exception because the www.w3.org is starting to return 503's due to massive traffic. [FINDBUGS] Parsing of file D:\hudson_home\jobs\trunk_quality\workspace\di.main\findbugs\findbugs.xml failed due to an exception: java.io.IOException: Server returned HTTP response code: 503 for URL: http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source) at com.sun.org.apache.xerces.internal.impl.XMLEntityManager.setupCurrentEntity(Unknown Source) at com.sun.org.apache.xerces.internal.impl.XMLEntityManager.startEntity(Unknown Source) at com.sun.org.apache.xerces.internal.impl.XMLEntityManager.startDTDEntity(Unknown Source) at com.sun.org.apache.xerces.internal.impl.XMLDTDScannerImpl.setInputSource(Unknown Source) at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl$DTDDriver.dispatch(Unknown Source) at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl$DTDDriver.next(Unknown Source) at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl$PrologDriver.next(Unknown Source) at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(Unknown Source) at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source) at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(Unknown Source) at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(Unknown Source) at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(Unknown Source) at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(Unknown Source) at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source) at org.apache.commons.digester.Digester.parse(Digester.java:1666) at hudson.plugins.findbugs.parser.NativeFindBugsParser.createHashToMessageMapping(NativeFindBugsParser.java:100) at hudson.plugins.findbugs.parser.NativeFindBugsParser.parse(NativeFindBugsParser.java:68) at hudson.plugins.findbugs.parser.FindBugsParser.parse(FindBugsParser.java:74) at hudson.plugins.analysis.core.FilesParser.parseFile(FilesParser.java:152) at hudson.plugins.analysis.core.FilesParser.parseFiles(FilesParser.java:131) at hudson.plugins.analysis.core.FilesParser.invoke(FilesParser.java:87) at hudson.plugins.analysis.core.FilesParser.invoke(FilesParser.java:28) at hudson.FilePath.act(FilePath.java:756) at hudson.FilePath.act(FilePath.java:738) at hudson.plugins.findbugs.FindBugsPublisher.perform(FindBugsPublisher.java:105) at hudson.plugins.analysis.core.HealthAwarePublisher.perform(HealthAwarePublisher.java:207) at hudson.tasks.BuildStepMonitor$2.perform(BuildStepMonitor.java:27) at hudson.model.AbstractBuild$AbstractRunner.perform(AbstractBuild.java:600) at hudson.model.AbstractBuild$AbstractRunner.performAllBuildSteps(AbstractBuild.java:580) at hudson.model.AbstractBuild$AbstractRunner.performAllBuildSteps(AbstractBuild.java:558) at hudson.model.Build$RunnerImpl.post2(Build.java:158) at hudson.model.AbstractBuild$AbstractRunner.post(AbstractBuild.java:528) at hudson.model.Run.run(Run.java:1264) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46) at hudson.model.ResourceController.execute(ResourceController.java:88) at hudson.model.Executor.run(Executor.java:122) If I can give you more info, let me know. I tried adding this to "plugins" project but could not because "components" was required but not populated or editable.
    via by csuehsdi,
  • GitHub comment 97#48477620
    via GitHub by sebplorenz
    ,
  • Vineet Manohar's blog
    via by Unknown author,
  • mvn clean scoverage:report is failing
    via by Deepak Jain,
    • java.io.IOException: The handl e is invalid at java.io.FileInputStream.available(Native Method) at java.io.BufferedInputStream.read(BufferedInputStream.java:325) at com.sun.org.apache.xerces.internal.impl.XMLEntityManager$RewindableInputStream.read(XMLEntityManager.java:2939) at com.sun.org.apache.xerces.internal.impl.io.UTF8Reader.read(UTF8Reader.java:292) at com.sun.org.apache.xerces.internal.impl.XMLEntityScanner.load(XMLEntityScanner.java:1742) at com.sun.org.apache.xerces.internal.impl.XMLEntityScanner.skipChar(XMLEntityScanner.java:1416) at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDriver.next(XMLDocumentFragmentScannerImpl.java:2784) at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(XMLDocumentScannerImpl.java:648) at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:510) at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:807) at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:737) at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:107) at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1205) at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.parse(SAXParserImpl.java:522) at org.apache.commons.digester.Digester.parse(Digester.java:1935) at WebsiteChecks$General$Scenario.digest(WebsiteChecks.java:2555) at WebsiteChecks$ProductChecks.test_ProductChecks(WebsiteChecks.java:5667) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at com.thoughtworks.selenium.SeleneseTestCase.runBare(SeleneseTestCase.java:212) at WebsiteChecks.main(WebsiteChecks.java:104)

    Users with the same issue

    Unknown visitor1 times, last one,