Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-59509

unable to read config file

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Trivial
    • Resolution: Not A Defect
    • other
    • None
    • 1.163.1

    Description

      I'm getting below stack trace

      ======================

      Failed Loading job OMI-Runnerjava.io.IOException: Unable to read /var/jenkins_home/jobs/OMI-Runner/config.xml        at hudson.XmlFile.read(XmlFile.java:144)        at hudson.model.Items.load(Items.java:319)        at jenkins.model.Jenkins$17.run(Jenkins.java:2651)        at org.jvnet.hudson.reactor.TaskGraphBuilder$TaskImpl.run(TaskGraphBuilder.java:169)        at org.jvnet.hudson.reactor.Reactor.runTask(Reactor.java:282)        at jenkins.model.Jenkins$7.runTask(Jenkins.java:904)        at org.jvnet.hudson.reactor.Reactor$2.run(Reactor.java:210)        at org.jvnet.hudson.reactor.Reactor$Node.run(Reactor.java:117)        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)        at java.lang.Thread.run(Thread.java:745)Caused by: com.thoughtworks.xstream.mapper.CannotResolveClassException: matrix-project        at com.thoughtworks.xstream.mapper.DefaultMapper.realClass(DefaultMapper.java:79)        at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:30)        at com.thoughtworks.xstream.mapper.DynamicProxyMapper.realClass(DynamicProxyMapper.java:55)        at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:30)        at com.thoughtworks.xstream.mapper.PackageAliasingMapper.realClass(PackageAliasingMapper.java:88)        at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:30)        at com.thoughtworks.xstream.mapper.ClassAliasingMapper.realClass(ClassAliasingMapper.java:79)        at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:30)        at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:30)        at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:30)        at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:30)        at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:30)        at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:30)        at com.thoughtworks.xstream.mapper.ArrayMapper.realClass(ArrayMapper.java:74)        at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:30)        at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:30)        at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:30)        at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:30)        at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:30)        at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:30)        at com.thoughtworks.xstream.mapper.SecurityMapper.realClass(SecurityMapper.java:71)        at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:30)        at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:30)        at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:30)        at hudson.util.XStream2$CompatibilityMapper.realClass(XStream2.java:280)        at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:30)        at hudson.util.xstream.MapperDelegate.realClass(MapperDelegate.java:43)        at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:30)        at com.thoughtworks.xstream.mapper.CachingMapper.realClass(CachingMapper.java:48)        at com.thoughtworks.xstream.core.util.HierarchicalStreams.readClassType(HierarchicalStreams.java:29)        at com.thoughtworks.xstream.core.TreeUnmarshaller.start(TreeUnmarshaller.java:133)        at com.thoughtworks.xstream.core.AbstractTreeMarshallingStrategy.unmarshal(AbstractTreeMarshallingStrategy.java:32)        at com.thoughtworks.xstream.XStream.unmarshal(XStream.java:1189)        at hudson.util.XStream2.unmarshal(XStream2.java:113)        at com.thoughtworks.xstream.XStream.unmarshal(XStream.java:1173)        at com.thoughtworks.xstream.XStream.fromXML(XStream.java:1053)        at hudson.XmlFile.read(XmlFile.java:142)        ... 10 more

       

      Failed Loading job SCXCore-Runnerjava.io.IOException: Unable to read /var/jenkins_home/jobs/SCXCore-Runner/config.xml        at hudson.XmlFile.read(XmlFile.java:144)        at hudson.model.Items.load(Items.java:319)        at jenkins.model.Jenkins$17.run(Jenkins.java:2651)        at org.jvnet.hudson.reactor.TaskGraphBuilder$TaskImpl.run(TaskGraphBuilder.java:169)        at org.jvnet.hudson.reactor.Reactor.runTask(Reactor.java:282)        at jenkins.model.Jenkins$7.runTask(Jenkins.java:904)        at org.jvnet.hudson.reactor.Reactor$2.run(Reactor.java:210)        at org.jvnet.hudson.reactor.Reactor$Node.run(Reactor.java:117)        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)        at java.lang.Thread.run(Thread.java:745) 

       

      Can Anyone please help, my jenkins version is 1.163.1

       

      Attachments

        Activity

          This is not an issue with the jenkinslint plugin but something else, besides it seems an environmental issue based on the stacktrace details.

           

          I just unassigned myself, as I'm not an expert on this matter, but for what I see the /var/jenkins_home/jobs/OMI-Runner/config.xml seems to cause that issue, so worth to check whether the file exists in the JENKINS_HOME, with the right user/group and privileges. Besides whether the content fo the file follows the xml specification.

           

          Cheers

          v2v Victor Martinez added a comment - This is not an issue with the jenkinslint plugin but something else, besides it seems an environmental issue based on the stacktrace details.   I just unassigned myself, as I'm not an expert on this matter, but for what I see the /var/jenkins_home/jobs/OMI-Runner/config.xml seems to cause that issue, so worth to check whether the file exists in the JENKINS_HOME, with the right user/group and privileges. Besides whether the content fo the file follows the xml specification.   Cheers

          hi victor,

          Thanks for the reply and whom can give exact reply on this issue

          Thanks
          Trinadh

          trinadh38 trinadh teegala added a comment - hi victor, Thanks for the reply and whom can give exact reply on this issue Thanks Trinadh

          I'd suggest to raise questions in the mailing list
          https://jenkins.io/mailing-lists/

          But rather than asking straight away, I'd suggest to go through the questions I asked you previously, as the current context does not provide enough details regarding the environment or what troubleshooting you have done in your end.

           

          Cheers

          v2v Victor Martinez added a comment - I'd suggest to raise questions in the mailing list -  https://jenkins.io/mailing-lists/ But rather than asking straight away, I'd suggest to go through the questions I asked you previously, as the current context does not provide enough details regarding the environment or what troubleshooting you have done in your end.   Cheers
          danielbeck Daniel Beck added a comment -

          This is an issue tracker, not a support site.

          danielbeck Daniel Beck added a comment - This is an issue tracker, not a support site.

          People

            Unassigned Unassigned
            trinadh38 trinadh teegala
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: