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

Ownership Plugin does not launch after restart

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Won't Fix
    • Icon: Major Major
    • ownership-plugin
    • None

      I had 0.1 installed on this system, and then installed 0.2.0. After restart the plugin fails to load.

      This is the stack trace seen on Jenkins startup:

      Aug 6, 2013 12:49:06 PM hudson.util.RobustReflectionConverter doUnmarshal
      WARNING: Skipping a non-existent field enableSlaveOwnership
      com.thoughtworks.xstream.converters.reflection.MissingFieldException: No field 'enableSlaveOwnership' found in class 'com.synopsys.arc.jenkins.plugins.ownership.OwnershipPlugin'
              at com.thoughtworks.xstream.converters.reflection.FieldDictionary.field(FieldDictionary.java:94)
                at com.thoughtworks.xstream.converters.reflection.PureJavaReflectionProvider.getFieldType(PureJavaReflectionProvider.java:157)
                at hudson.util.RobustReflectionConverter.determineType(RobustReflectionConverter.java:399)
                at hudson.util.RobustReflectionConverter.doUnmarshal(RobustReflectionConverter.java:271)
                at hudson.util.RobustReflectionConverter.unmarshal(RobustReflectionConverter.java:222)
                at com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshaller.java:72)
                at com.thoughtworks.xstream.core.AbstractReferenceUnmarshaller.convert(AbstractReferenceUnmarshaller.java:65)
                at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:66)
                at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:50)
                at com.thoughtworks.xstream.core.TreeUnmarshaller.start(TreeUnmarshaller.java:134)
                at com.thoughtworks.xstream.core.AbstractTreeMarshallingStrategy.unmarshal(AbstractTreeMarshallingStrategy.java:32)
                at com.thoughtworks.xstream.XStream.unmarshal(XStream.java:1061)
                at hudson.util.XStream2.unmarshal(XStream2.java:109)
                at com.thoughtworks.xstream.XStream.unmarshal(XStream.java:1045)
                at hudson.XmlFile.unmarshal(XmlFile.java:166)
                at hudson.Plugin.load(Plugin.java:239)
                at com.synopsys.arc.jenkins.plugins.ownership.OwnershipPlugin.start(OwnershipPlugin.java:72)
                at hudson.ClassicPluginStrategy.startPlugin(ClassicPluginStrategy.java:379)
                at hudson.ClassicPluginStrategy.load(ClassicPluginStrategy.java:368)
                at hudson.PluginManager$2$1$1.run(PluginManager.java:334)
                at org.jvnet.hudson.reactor.TaskGraphBuilder$TaskImpl.run(TaskGraphBuilder.java:146)
                at org.jvnet.hudson.reactor.Reactor.runTask(Reactor.java:259)
                at jenkins.model.Jenkins$7.runTask(Jenkins.java:893)
                at org.jvnet.hudson.reactor.Reactor$2.run(Reactor.java:187)
                at org.jvnet.hudson.reactor.Reactor$Node.run(Reactor.java:94)
                at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
                at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
                at java.lang.Thread.run(Thread.java:662)
        Aug 6, 2013 12:49:06 PM hudson.util.RobustReflectionConverter doUnmarshal
        WARNING: Skipping a non-existent field enableJobOwnership
        com.thoughtworks.xstream.converters.reflection.MissingFieldException: No field 'enableJobOwnership' found in class 'com.synopsys.arc.jenkins.plugins.ownership.OwnershipPlugin'
                at com.thoughtworks.xstream.converters.reflection.FieldDictionary.field(FieldDictionary.java:94)
                at com.thoughtworks.xstream.converters.reflection.PureJavaReflectionProvider.getFieldType(PureJavaReflectionProvider.java:157)
                at hudson.util.RobustReflectionConverter.determineType(RobustReflectionConverter.java:399)
                at hudson.util.RobustReflectionConverter.doUnmarshal(RobustReflectionConverter.java:271)
                at hudson.util.RobustReflectionConverter.unmarshal(RobustReflectionConverter.java:222)
                at com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshaller.java:72)
                at com.thoughtworks.xstream.core.AbstractReferenceUnmarshaller.convert(AbstractReferenceUnmarshaller.java:65)
                at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:66)
                at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:50)
                at com.thoughtworks.xstream.core.TreeUnmarshaller.start(TreeUnmarshaller.java:134)
                at com.thoughtworks.xstream.core.AbstractTreeMarshallingStrategy.unmarshal(AbstractTreeMarshallingStrategy.java:32)
                at com.thoughtworks.xstream.XStream.unmarshal(XStream.java:1061)
                at hudson.util.XStream2.unmarshal(XStream2.java:109)
                at com.thoughtworks.xstream.XStream.unmarshal(XStream.java:1045)
                at hudson.XmlFile.unmarshal(XmlFile.java:166)
                at hudson.Plugin.load(Plugin.java:239)
                at com.synopsys.arc.jenkins.plugins.ownership.OwnershipPlugin.start(OwnershipPlugin.java:72)
                at hudson.ClassicPluginStrategy.startPlugin(ClassicPluginStrategy.java:379)
                at hudson.ClassicPluginStrategy.load(ClassicPluginStrategy.java:368)
                at hudson.PluginManager$2$1$1.run(PluginManager.java:334)
                at org.jvnet.hudson.reactor.TaskGraphBuilder$TaskImpl.run(TaskGraphBuilder.java:146)
                at org.jvnet.hudson.reactor.Reactor.runTask(Reactor.java:259)
                at jenkins.model.Jenkins$7.runTask(Jenkins.java:893)
                at org.jvnet.hudson.reactor.Reactor$2.run(Reactor.java:187)
                at org.jvnet.hudson.reactor.Reactor$Node.run(Reactor.java:94)
                at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
                at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
                at java.lang.Thread.run(Thread.java:662)
        Aug 6, 2013 12:49:06 PM hudson.util.RobustReflectionConverter doUnmarshal
        WARNING: Skipping a non-existent field emailSuffix
        com.thoughtworks.xstream.converters.reflection.MissingFieldException: No field 'emailSuffix' found in class 'com.synopsys.arc.jenkins.plugins.ownership.OwnershipPlugin'
                at com.thoughtworks.xstream.converters.reflection.FieldDictionary.field(FieldDictionary.java:94)
                at com.thoughtworks.xstream.converters.reflection.PureJavaReflectionProvider.getFieldType(PureJavaReflectionProvider.java:157)
                at hudson.util.RobustReflectionConverter.determineType(RobustReflectionConverter.java:399)
                at hudson.util.RobustReflectionConverter.doUnmarshal(RobustReflectionConverter.java:271)
                at hudson.util.RobustReflectionConverter.unmarshal(RobustReflectionConverter.java:222)
                at com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshaller.java:72)
                at com.thoughtworks.xstream.core.AbstractReferenceUnmarshaller.convert(AbstractReferenceUnmarshaller.java:65)
                at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:66)
                at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:50)
                at com.thoughtworks.xstream.core.TreeUnmarshaller.start(TreeUnmarshaller.java:134)
                at com.thoughtworks.xstream.core.AbstractTreeMarshallingStrategy.unmarshal(AbstractTreeMarshallingStrategy.java:32)
                at com.thoughtworks.xstream.XStream.unmarshal(XStream.java:1061)
                at hudson.util.XStream2.unmarshal(XStream2.java:109)
                at com.thoughtworks.xstream.XStream.unmarshal(XStream.java:1045)
                at hudson.XmlFile.unmarshal(XmlFile.java:166)
                at hudson.Plugin.load(Plugin.java:239)
                at com.synopsys.arc.jenkins.plugins.ownership.OwnershipPlugin.start(OwnershipPlugin.java:72)
                at hudson.ClassicPluginStrategy.startPlugin(ClassicPluginStrategy.java:379)
                at hudson.ClassicPluginStrategy.load(ClassicPluginStrategy.java:368)
                at hudson.PluginManager$2$1$1.run(PluginManager.java:334)
                at org.jvnet.hudson.reactor.TaskGraphBuilder$TaskImpl.run(TaskGraphBuilder.java:146)
                at org.jvnet.hudson.reactor.Reactor.runTask(Reactor.java:259)
                at jenkins.model.Jenkins$7.runTask(Jenkins.java:893)
                at org.jvnet.hudson.reactor.Reactor$2.run(Reactor.java:187)
                at org.jvnet.hudson.reactor.Reactor$Node.run(Reactor.java:94)
                at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
                at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
                at java.lang.Thread.run(Thread.java:662)
        Aug 6, 2013 12:49:06 PM jenkins.InitReactorRunner$1 onTaskFailed
        SEVERE: Failed Loading plugin ownership
        hudson.util.IOException2: Failed to initialize
                at hudson.ClassicPluginStrategy.load(ClassicPluginStrategy.java:371)
                at hudson.PluginManager$2$1$1.run(PluginManager.java:334)
                at org.jvnet.hudson.reactor.TaskGraphBuilder$TaskImpl.run(TaskGraphBuilder.java:146)
                at org.jvnet.hudson.reactor.Reactor.runTask(Reactor.java:259)
                at jenkins.model.Jenkins$7.runTask(Jenkins.java:893)
                at org.jvnet.hudson.reactor.Reactor$2.run(Reactor.java:187)
                at org.jvnet.hudson.reactor.Reactor$Node.run(Reactor.java:94)
                at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
                at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
                at java.lang.Thread.run(Thread.java:662)
        Caused by: hudson.util.IOException2: Unable to read /home/hudson/.jenkins/ownership.xml
                at hudson.XmlFile.unmarshal(XmlFile.java:170)
                at hudson.Plugin.load(Plugin.java:239)
                at com.synopsys.arc.jenkins.plugins.ownership.OwnershipPlugin.start(OwnershipPlugin.java:72)
                at hudson.ClassicPluginStrategy.startPlugin(ClassicPluginStrategy.java:379)
                at hudson.ClassicPluginStrategy.load(ClassicPluginStrategy.java:368)
                ... 9 more
                Caused by: com.thoughtworks.xstream.converters.ConversionException: null : null
                ---- Debugging information ----
      ---- Debugging information ----
      cause-exception     : java.lang.NullPointerException
      cause-message       : null
      class               : com.synopsys.arc.jenkins.plugins.ownership.OwnershipPlugin
      required-type       : com.synopsys.arc.jenkins.plugins.ownership.OwnershipPlugin
      converter-type      : hudson.util.RobustReflectionConverter
      path                : /com.synopsys.arc.jenkins.plugins.ownership.OwnershipPlugi
      n
      line number         : 7
      version             : null
      -------------------------------
              at com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshaller.java:79)
              at com.thoughtworks.xstream.core.AbstractReferenceUnmarshaller.convert(AbstractReferenceUnmarshaller.java:65)
              at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:66)
              at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:50)
              at com.thoughtworks.xstream.core.TreeUnmarshaller.start(TreeUnmarshaller.java:134)
              at com.thoughtworks.xstream.core.AbstractTreeMarshallingStrategy.unmarshal(AbstractTreeMarshallingStrategy.java:32)
              at com.thoughtworks.xstream.XStream.unmarshal(XStream.java:1061)
              at hudson.util.XStream2.unmarshal(XStream2.java:109)
              at com.thoughtworks.xstream.XStream.unmarshal(XStream.java:1045)
              at hudson.XmlFile.unmarshal(XmlFile.java:166)
              ... 13 more
      Caused by: java.lang.NullPointerException
              at hudson.diagnosis.OldDataMonitor.report(OldDataMonitor.java:179)
              at hudson.util.RobustReflectionConverter.doUnmarshal(RobustReflectionConverter.java:312)
              at hudson.util.RobustReflectionConverter.unmarshal(RobustReflectionConverter.java:222)
              at com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshaller.java:72)
              ... 22 more
      

            oleg_nenashev Oleg Nenashev
            huberts Hubert S
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: