-
Notifications
You must be signed in to change notification settings - Fork 58
Closed
Labels
Description
eclipse-cs/net.sf.eclipsecs.core/src/net/sf/eclipsecs/core/config/ConfigurationReader.java
Line 98 in 768ef91
| final Document document = reader.read(in); |
Attempting to run checkstyle on code, from a computer that is disconnected from the internet, fails at this point in the code. I've found that if you have a web server on your localhost and import your own configuration XML with the dtd location changed to that localhost location where you've saved the dtd to, then the DTD is found and operates successfully.
Stacktrace below:
net.sf.eclipsecs.core.util.CheckstylePluginException: Remote host closed connection during handshake Nested exception: Remote host closed connection during handshake
at net.sf.eclipsecs.core.util.CheckstylePluginException.rethrow(CheckstylePluginException.java:67)
at net.sf.eclipsecs.core.util.CheckstylePluginException.rethrow(CheckstylePluginException.java:80)
at net.sf.eclipsecs.core.config.ConfigurationReader.read(ConfigurationReader.java:102)
at net.sf.eclipsecs.core.config.ConfigurationReader.getAdditionalConfigData(ConfigurationReader.java:122)
at net.sf.eclipsecs.core.builder.CheckerFactory.getAdditionalData(CheckerFactory.java:172)
at net.sf.eclipsecs.core.builder.Auditor.runAudit(Auditor.java:145)
at net.sf.eclipsecs.core.builder.CheckstyleBuilder.handleBuildSelection(CheckstyleBuilder.java:306)
at net.sf.eclipsecs.core.jobs.RunCheckstyleOnFilesJob.runInWorkspace(RunCheckstyleOnFilesJob.java:119)
at org.eclipse.core.internal.resources.InternalWorkspaceJob.run(InternalWorkspaceJob.java:39)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:60)
Caused by: org.dom4j.DocumentException: Remote host closed connection during handshake Nested exception: Remote host closed connection during handshake
at org.dom4j.io.SAXReader.read(SAXReader.java:484)
at net.sf.eclipsecs.core.config.ConfigurationReader.read(ConfigurationReader.java:98)
... 7 more