hudson.util.IOException2: remote file operation failed: c:\jenkins\workspace\jenkinsJobName at hudson.remoting.Channel@1afc15d:CusmodAAT_WHOS189

Jenkins JIRA | nigel_charman | 3 years ago
  1. 0

    Using gradle 1.6 to generate a codenarc report. For Groovy classes in the default package, Codenarc creates the xml: <Package path="" totalFiles="13" filesWithViolations="13" priority1="0" priority2="64" priority3="240"> This results in the following stack trace in the Violations plugin. This stack trace shows "Caused by: org.xmlpull.v1.XmlPullParserException: Expecting attribute path in element Package", so it appears that Violations plugin cannot cope with the empty path attribute. Could you add support for this please? Recording test results ERROR: Publisher hudson.plugins.violations.ViolationsPublisher aborted due to exception hudson.util.IOException2: remote file operation failed: c:\jenkins\workspace\jenkinsJobName at hudson.remoting.Channel@1afc15d:CusmodAAT_WHOS189 at hudson.FilePath.act(FilePath.java:900) at hudson.FilePath.act(FilePath.java:877) at hudson.plugins.violations.ViolationsPublisher.perform(ViolationsPublisher.java:74) at hudson.tasks.BuildStepMonitor$3.perform(BuildStepMonitor.java:36) at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:802) at hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:774) at hudson.model.Build$BuildExecution.post2(Build.java:183) at hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:724) at hudson.model.Run.execute(Run.java:1600) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46) at hudson.model.ResourceController.execute(ResourceController.java:88) at hudson.model.Executor.run(Executor.java:237) Caused by: hudson.util.IOException2: Cannot parse build\reports\codenarc\test.xml at hudson.plugins.violations.parse.AbstractTypeParser.parse(AbstractTypeParser.java:62) at hudson.plugins.violations.ViolationsCollector.doType(ViolationsCollector.java:187) at hudson.plugins.violations.ViolationsCollector.invoke(ViolationsCollector.java:114) at hudson.plugins.violations.ViolationsCollector.invoke(ViolationsCollector.java:25) at hudson.FilePath$FileCallableWrapper.call(FilePath.java:2387) at hudson.remoting.UserRequest.perform(UserRequest.java:118) at hudson.remoting.UserRequest.perform(UserRequest.java:48) at hudson.remoting.Request$2.run(Request.java:326) at hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:72) at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source) at java.util.concurrent.FutureTask.run(Unknown Source) at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at hudson.remoting.Engine$1$1.run(Engine.java:58) at java.lang.Thread.run(Unknown Source) Caused by: org.xmlpull.v1.XmlPullParserException: Expecting attribute path in element Package at hudson.plugins.violations.parse.AbstractParser.checkNotBlank(AbstractParser.java:168) at hudson.plugins.violations.types.codenarc.CodenarcParser.execute(CodenarcParser.java:43) at hudson.plugins.violations.parse.AbstractTypeParser.parse(AbstractTypeParser.java:57) ... 14 more

    Jenkins JIRA | 3 years ago | nigel_charman
    hudson.util.IOException2: remote file operation failed: c:\jenkins\workspace\jenkinsJobName at hudson.remoting.Channel@1afc15d:CusmodAAT_WHOS189
  2. 0

    Using gradle 1.6 to generate a codenarc report. For Groovy classes in the default package, Codenarc creates the xml: <Package path="" totalFiles="13" filesWithViolations="13" priority1="0" priority2="64" priority3="240"> This results in the following stack trace in the Violations plugin. This stack trace shows "Caused by: org.xmlpull.v1.XmlPullParserException: Expecting attribute path in element Package", so it appears that Violations plugin cannot cope with the empty path attribute. Could you add support for this please? Recording test results ERROR: Publisher hudson.plugins.violations.ViolationsPublisher aborted due to exception hudson.util.IOException2: remote file operation failed: c:\jenkins\workspace\jenkinsJobName at hudson.remoting.Channel@1afc15d:CusmodAAT_WHOS189 at hudson.FilePath.act(FilePath.java:900) at hudson.FilePath.act(FilePath.java:877) at hudson.plugins.violations.ViolationsPublisher.perform(ViolationsPublisher.java:74) at hudson.tasks.BuildStepMonitor$3.perform(BuildStepMonitor.java:36) at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:802) at hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:774) at hudson.model.Build$BuildExecution.post2(Build.java:183) at hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:724) at hudson.model.Run.execute(Run.java:1600) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46) at hudson.model.ResourceController.execute(ResourceController.java:88) at hudson.model.Executor.run(Executor.java:237) Caused by: hudson.util.IOException2: Cannot parse build\reports\codenarc\test.xml at hudson.plugins.violations.parse.AbstractTypeParser.parse(AbstractTypeParser.java:62) at hudson.plugins.violations.ViolationsCollector.doType(ViolationsCollector.java:187) at hudson.plugins.violations.ViolationsCollector.invoke(ViolationsCollector.java:114) at hudson.plugins.violations.ViolationsCollector.invoke(ViolationsCollector.java:25) at hudson.FilePath$FileCallableWrapper.call(FilePath.java:2387) at hudson.remoting.UserRequest.perform(UserRequest.java:118) at hudson.remoting.UserRequest.perform(UserRequest.java:48) at hudson.remoting.Request$2.run(Request.java:326) at hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:72) at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source) at java.util.concurrent.FutureTask.run(Unknown Source) at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at hudson.remoting.Engine$1$1.run(Engine.java:58) at java.lang.Thread.run(Unknown Source) Caused by: org.xmlpull.v1.XmlPullParserException: Expecting attribute path in element Package at hudson.plugins.violations.parse.AbstractParser.checkNotBlank(AbstractParser.java:168) at hudson.plugins.violations.types.codenarc.CodenarcParser.execute(CodenarcParser.java:43) at hudson.plugins.violations.parse.AbstractTypeParser.parse(AbstractTypeParser.java:57) ... 14 more

    Jenkins JIRA | 3 years ago | nigel_charman
    hudson.util.IOException2: remote file operation failed: c:\jenkins\workspace\jenkinsJobName at hudson.remoting.Channel@1afc15d:CusmodAAT_WHOS189
  3. 0

    XML parser error in OC4J_Portal/portalHelp - XmlPullParserException

    Oracle Community | 9 years ago | Heyers
    org.xmlpull.v1.XmlPullParserException: expected = after attribute name (position: TEXT seen ...</indexitem> <in
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    android SharedPreferences null keys, values and sets - corner cases

    Stack Overflow | 3 years ago | Mr_and_Mrs_D
    org.xmlpull.v1.XmlPullParserException: Map value without name attribute: string
  6. 0

    android getSharedPreferences error: Map value without name attribute: boolean

    Stack Overflow | 6 years ago | siliconeagle
    org.xmlpull.v1.XmlPullParserException: Map value without name attribute: boolean

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. org.xmlpull.v1.XmlPullParserException

      Expecting attribute path in element Package

      at hudson.plugins.violations.parse.AbstractParser.checkNotBlank()
    2. hudson.plugins.violations
      ViolationsCollector.invoke
      1. hudson.plugins.violations.parse.AbstractParser.checkNotBlank(AbstractParser.java:168)
      2. hudson.plugins.violations.types.codenarc.CodenarcParser.execute(CodenarcParser.java:43)
      3. hudson.plugins.violations.parse.AbstractTypeParser.parse(AbstractTypeParser.java:57)
      4. hudson.plugins.violations.ViolationsCollector.doType(ViolationsCollector.java:187)
      5. hudson.plugins.violations.ViolationsCollector.invoke(ViolationsCollector.java:114)
      6. hudson.plugins.violations.ViolationsCollector.invoke(ViolationsCollector.java:25)
      6 frames
    3. Hudson
      FilePath$FileCallableWrapper.call
      1. hudson.FilePath$FileCallableWrapper.call(FilePath.java:2387)
      1 frame
    4. Hudson :: Remoting Layer
      InterceptingExecutorService$1.call
      1. hudson.remoting.UserRequest.perform(UserRequest.java:118)
      2. hudson.remoting.UserRequest.perform(UserRequest.java:48)
      3. hudson.remoting.Request$2.run(Request.java:326)
      4. hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:72)
      4 frames
    5. Java RT
      ThreadPoolExecutor$Worker.run
      1. java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
      2. java.util.concurrent.FutureTask.run(Unknown Source)
      3. java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
      4. java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
      4 frames
    6. Hudson :: Remoting Layer
      Engine$1$1.run
      1. hudson.remoting.Engine$1$1.run(Engine.java:58)
      1 frame
    7. Java RT
      Thread.run
      1. java.lang.Thread.run(Unknown Source)
      1 frame