hudson.util.IOException2

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.

  • Builds are failing due to the fact Violations plugin is turned on. It complains about encoding with SAX exception not understanding the Cp1252 encoding. Any help or solution to this problem is appreciated. ERROR: Publisher hudson.plugins.violations.ViolationsPublisher aborted due to exception hudson.util.IOException2: remote file operation failed: C:\hudson\workspace\adhoc-6.1 at hudson.remoting.Channel@1c344a47:GAQACCPACERP04 at hudson.FilePath.act(FilePath.java:753) at hudson.FilePath.act(FilePath.java:739) at hudson.plugins.violations.ViolationsPublisher.perform(ViolationsPublisher.java:74) at hudson.tasks.BuildStepMonitor$3.perform(BuildStepMonitor.java:36) at hudson.model.AbstractBuild$AbstractRunner.perform(AbstractBuild.java:644) at hudson.model.AbstractBuild$AbstractRunner.performAllBuildSteps(AbstractBuild.java:623) at hudson.ivy.IvyModuleSetBuild$RunnerImpl.post2(IvyModuleSetBuild.java:587) at hudson.model.AbstractBuild$AbstractRunner.post(AbstractBuild.java:570) at hudson.model.Run.run(Run.java:1386) at hudson.ivy.IvyModuleSetBuild.run(IvyModuleSetBuild.java:282) at hudson.model.ResourceController.execute(ResourceController.java:88) at hudson.model.Executor.run(Executor.java:145) Caused by: hudson.util.IOException2: Cannot parse module\target\reports\pmd\cpd\main-cpd.xml at hudson.plugins.violations.parse.ViolationsDOMParser.parse(ViolationsDOMParser.java:69) at hudson.plugins.violations.ViolationsCollector.doType(ViolationsCollector.java:189) at hudson.plugins.violations.ViolationsCollector.invoke(ViolationsCollector.java:116) at hudson.plugins.violations.ViolationsCollector.invoke(ViolationsCollector.java:27) at hudson.FilePath$FileCallableWrapper.call(FilePath.java:1940) at hudson.remoting.UserRequest.perform(UserRequest.java:114) at hudson.remoting.UserRequest.perform(UserRequest.java:48) at hudson.remoting.Request$2.run(Request.java:270) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303) at java.util.concurrent.FutureTask.run(FutureTask.java:138) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) at hudson.remoting.Engine$1$1.run(Engine.java:59) at java.lang.Thread.run(Thread.java:662) Caused by: org.xml.sax.SAXParseException: Invalid encoding name "Cp1252". at org.apache.xerces.parsers.DOMParser.parse(Unknown Source) at org.apache.xerces.jaxp.DocumentBuilderImpl.parse(Unknown Source) at javax.xml.parsers.DocumentBuilder.parse(DocumentBuilder.java:208) at hudson.plugins.violations.parse.ViolationsDOMParser.parse(ViolationsDOMParser.java:58) ... 14 more Finished: FAILURE
    via by Kevin Wong,
  • Builds are failing due to the fact Violations plugin is turned on. It complains about encoding with SAX exception not understanding the Cp1252 encoding. Any help or solution to this problem is appreciated. ERROR: Publisher hudson.plugins.violations.ViolationsPublisher aborted due to exception hudson.util.IOException2: remote file operation failed: C:\hudson\workspace\adhoc-6.1 at hudson.remoting.Channel@1c344a47:GAQACCPACERP04 at hudson.FilePath.act(FilePath.java:753) at hudson.FilePath.act(FilePath.java:739) at hudson.plugins.violations.ViolationsPublisher.perform(ViolationsPublisher.java:74) at hudson.tasks.BuildStepMonitor$3.perform(BuildStepMonitor.java:36) at hudson.model.AbstractBuild$AbstractRunner.perform(AbstractBuild.java:644) at hudson.model.AbstractBuild$AbstractRunner.performAllBuildSteps(AbstractBuild.java:623) at hudson.ivy.IvyModuleSetBuild$RunnerImpl.post2(IvyModuleSetBuild.java:587) at hudson.model.AbstractBuild$AbstractRunner.post(AbstractBuild.java:570) at hudson.model.Run.run(Run.java:1386) at hudson.ivy.IvyModuleSetBuild.run(IvyModuleSetBuild.java:282) at hudson.model.ResourceController.execute(ResourceController.java:88) at hudson.model.Executor.run(Executor.java:145) Caused by: hudson.util.IOException2: Cannot parse module\target\reports\pmd\cpd\main-cpd.xml at hudson.plugins.violations.parse.ViolationsDOMParser.parse(ViolationsDOMParser.java:69) at hudson.plugins.violations.ViolationsCollector.doType(ViolationsCollector.java:189) at hudson.plugins.violations.ViolationsCollector.invoke(ViolationsCollector.java:116) at hudson.plugins.violations.ViolationsCollector.invoke(ViolationsCollector.java:27) at hudson.FilePath$FileCallableWrapper.call(FilePath.java:1940) at hudson.remoting.UserRequest.perform(UserRequest.java:114) at hudson.remoting.UserRequest.perform(UserRequest.java:48) at hudson.remoting.Request$2.run(Request.java:270) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303) at java.util.concurrent.FutureTask.run(FutureTask.java:138) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) at hudson.remoting.Engine$1$1.run(Engine.java:59) at java.lang.Thread.run(Thread.java:662) Caused by: org.xml.sax.SAXParseException: Invalid encoding name "Cp1252". at org.apache.xerces.parsers.DOMParser.parse(Unknown Source) at org.apache.xerces.jaxp.DocumentBuilderImpl.parse(Unknown Source) at javax.xml.parsers.DocumentBuilder.parse(DocumentBuilder.java:208) at hudson.plugins.violations.parse.ViolationsDOMParser.parse(ViolationsDOMParser.java:58) ... 14 more Finished: FAILURE
    via by Kevin Wong,
  • SLD does not work (exception)
    via by Arnd,
  • Xmlread parsing issues
    via Stack Overflow by matlab-oh-no
    ,
  • Re: MCF: XML parsing Error
    via by Karl Wright,
    • hudson.util.IOException2: remote file operation failed: C:\hudson\workspace\adhoc-6.1 at hudson.remoting.Channel@1c344a47:GAQACCPACERP04 at hudson.FilePath.act(FilePath.java:753) at hudson.FilePath.act(FilePath.java:739) at hudson.plugins.violations.ViolationsPublisher.perform(ViolationsPublisher.java:74) at hudson.tasks.BuildStepMonitor$3.perform(BuildStepMonitor.java:36) at hudson.model.AbstractBuild$AbstractRunner.perform(AbstractBuild.java:644) at hudson.model.AbstractBuild$AbstractRunner.performAllBuildSteps(AbstractBuild.java:623) at hudson.ivy.IvyModuleSetBuild$RunnerImpl.post2(IvyModuleSetBuild.java:587) at hudson.model.AbstractBuild$AbstractRunner.post(AbstractBuild.java:570) at hudson.model.Run.run(Run.java:1386) at hudson.ivy.IvyModuleSetBuild.run(IvyModuleSetBuild.java:282) at hudson.model.ResourceController.execute(ResourceController.java:88) at hudson.model.Executor.run(Executor.java:145) Caused by: hudson.util.IOException2: Cannot parse module\target\reports\pmd\cpd\main-cpd.xml at hudson.plugins.violations.parse.ViolationsDOMParser.parse(ViolationsDOMParser.java:69) at hudson.plugins.violations.ViolationsCollector.doType(ViolationsCollector.java:189) at hudson.plugins.violations.ViolationsCollector.invoke(ViolationsCollector.java:116) at hudson.plugins.violations.ViolationsCollector.invoke(ViolationsCollector.java:27) at hudson.FilePath$FileCallableWrapper.call(FilePath.java:1940) at hudson.remoting.UserRequest.perform(UserRequest.java:114) at hudson.remoting.UserRequest.perform(UserRequest.java:48) at hudson.remoting.Request$2.run(Request.java:270) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303) at java.util.concurrent.FutureTask.run(FutureTask.java:138) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) at hudson.remoting.Engine$1$1.run(Engine.java:59) at java.lang.Thread.run(Thread.java:662) Caused by: org.xml.sax.SAXParseException: Invalid encoding name "Cp1252". at org.apache.xerces.parsers.DOMParser.parse(Unknown Source) at org.apache.xerces.jaxp.DocumentBuilderImpl.parse(Unknown Source) at javax.xml.parsers.DocumentBuilder.parse(DocumentBuilder.java:208) at hudson.plugins.violations.parse.ViolationsDOMParser.parse(ViolationsDOMParser.java:58) ... 14 more

    Users with the same issue

    bernardpaulus
    7 times, last one,
    Unknown visitor1 times, last one,
    Unknown visitor1 times, last one,
    Unknown visitor1 times, last one,
    Unknown visitor1 times, last one,
    33 more bugmates