[JIRA] (JENKINS-43161) Audit Trail Plugin : Failed Loading plugin Audit Trail v2.2 (audit-trail)

0 views
Skip to first unread message

deanpearce@gmail.com (JIRA)

unread,
Mar 28, 2017, 9:29:01 AM3/28/17
to jenkinsc...@googlegroups.com
Dean Pearce created an issue
 
Jenkins / Bug JENKINS-43161
Audit Trail Plugin : Failed Loading plugin Audit Trail v2.2 (audit-trail)
Issue Type: Bug Bug
Assignee: Unassigned
Components: audit-trail-plugin
Created: 2017/Mar/28 1:28 PM
Environment: Jenkins ver. 2.32.3
CentOS 6
JDK 1.8
Priority: Minor Minor
Reporter: Dean Pearce

Running into an error after upgrading Jenkins from 1.651.3 to 2.32.3. I am running the latest JDK 1.8.


Mar 28, 2017 9:20:49 AM jenkins.InitReactorRunner$1 onTaskFailed
SEVERE: Failed Loading plugin Audit Trail v2.2 (audit-trail)
java.io.IOException: Failed to initialize
        at hudson.ClassicPluginStrategy.load(ClassicPluginStrategy.java:521)
        at hudson.PluginManager$2$1$1.run(PluginManager.java:517)
        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:1085)
        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: java.io.IOException: Unable to read /var/lib/jenkins/audit-trail.xml
        at hudson.XmlFile.unmarshal(XmlFile.java:161)
        at hudson.Plugin.load(Plugin.java:264)
        at hudson.plugins.audit_trail.AuditTrailPlugin.start(AuditTrailPlugin.java:67)
        at hudson.ClassicPluginStrategy.startPlugin(ClassicPluginStrategy.java:529)
        at hudson.ClassicPluginStrategy.load(ClassicPluginStrategy.java:518)
        ... 9 more
Caused by: com.thoughtworks.xstream.converters.ConversionException: null : null
---- Debugging information ----
cause-exception     : java.lang.NullPointerException
cause-message       : null
class               : hudson.plugins.audit_trail.AuditTrailPlugin
required-type       : hudson.plugins.audit_trail.AuditTrailPlugin
converter-type      : hudson.util.RobustReflectionConverter
path                : /hudson.plugins.audit_trail.AuditTrailPlugin
line number         : 4485
version             : not available
-------------------------------
        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:1189)
        at hudson.util.XStream2.unmarshal(XStream2.java:114)
        at com.thoughtworks.xstream.XStream.unmarshal(XStream.java:1173)
        at hudson.XmlFile.unmarshal(XmlFile.java:159)
        ... 13 more
Caused by: java.lang.NullPointerException
        at hudson.diagnosis.OldDataMonitor.report(OldDataMonitor.java:220)
        at hudson.util.RobustReflectionConverter.doUnmarshal(RobustReflectionConverter.java:371)
        at hudson.util.RobustReflectionConverter.unmarshal(RobustReflectionConverter.java:270)
        at com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshaller.java:72)
        ... 22 more

 

Add Comment Add Comment
 
This message was sent by Atlassian JIRA (v7.3.0#73011-sha1:3c73d0e)
Atlassian logo

deanpearce@gmail.com (JIRA)

unread,
Mar 28, 2017, 9:36:06 AM3/28/17
to jenkinsc...@googlegroups.com
Dean Pearce commented on Bug JENKINS-43161
 
Re: Audit Trail Plugin : Failed Loading plugin Audit Trail v2.2 (audit-trail)

Actually, deleting the existing reference XML configuration file (/var/lib/jenkins/audit-trail.xml) resolved the issue, the plugin loaded successfully after that.

pibeitz@gmail.com (JIRA)

unread,
May 5, 2019, 1:33:02 PM5/5/19
to jenkinsc...@googlegroups.com

Closing as the issue was resolved.

This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d)

pibeitz@gmail.com (JIRA)

unread,
May 5, 2019, 1:33:03 PM5/5/19
to jenkinsc...@googlegroups.com
Pierre Beitz closed an issue as Cannot Reproduce
 
Change By: Pierre Beitz
Status: Open Closed
Assignee: Pierre Beitz
Resolution: Cannot Reproduce
Reply all
Reply to author
Forward
0 new messages