[JIRA] [jiratestresultreporter-plugin] (JENKINS-34806) JiraTestResultReporter-plugin: java.lang.NoClassDefFoundError: Could not initialize class org.jenkinsci.plugins.JiraTestResultReporter.JiraTestDataPublisher

16 views
Skip to first unread message

s.romanov@outlook.com (JIRA)

unread,
May 13, 2016, 10:33:01 AM5/13/16
to jenkinsc...@googlegroups.com
Sergey Romanov created an issue
 
Jenkins / Bug JENKINS-34806
JiraTestResultReporter-plugin: java.lang.NoClassDefFoundError: Could not initialize class org.jenkinsci.plugins.JiraTestResultReporter.JiraTestDataPublisher
Issue Type: Bug Bug
Assignee: Catalin Luta
Components: jiratestresultreporter-plugin
Created: 2016/May/13 2:32 PM
Environment: Jenkins ver. 1.656
Labels: plugin
Priority: Minor Minor
Reporter: Sergey Romanov

When i tried install the plugin (version 2.0.0) and got error on Jenkins level as shown below:

INFO: Prepared all plugins
May 12, 2016 7:07:48 PM hudson.ExtensionFinder$GuiceFinder$FaultTolerantScope$1 error
WARNING: Failed to instantiate Key[type=org.jenkinsci.plugins.JiraTestResultReporter.JiraTestDataPublisher$JiraTestDataPublisherDescriptor, annotation=[none]]; skipping this component
java.lang.NoClassDefFoundError: Could not initialize class org.jenkinsci.plugins.JiraTestResultReporter.JiraTestDataPublisher$JiraTestDataPublisherDescriptor
at org.jenkinsci.plugins.JiraTestResultReporter.JiraTestDataPublisher$JiraTestDataPublisherDescriptor$$FastClassByGuice$$aa5842c9.newInstance(<generated>)
at com.google.inject.internal.cglib.reflect.$FastConstructor.newInstance(FastConstructor.java:40)
at com.google.inject.internal.DefaultConstructionProxyFactory$1.newInstance(DefaultConstructionProxyFactory.java:61)
at com.google.inject.internal.ConstructorInjector.provision(ConstructorInjector.java:108)
at com.google.inject.internal.ConstructorInjector.construct(ConstructorInjector.java:88)
at com.google.inject.internal.ConstructorBindingImpl$Factory.get(ConstructorBindingImpl.java:269)
at com.google.inject.internal.ProviderToInternalFactoryAdapter$1.call(ProviderToInternalFactoryAdapter.java:46)
at com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1058)
at com.google.inject.internal.ProviderToInternalFactoryAdapter.get(ProviderToInternalFactoryAdapter.java:40)
at com.google.inject.Scopes$1$1.get(Scopes.java:65)
at hudson.ExtensionFinder$GuiceFinder$FaultTolerantScope$1.get(ExtensionFinder.java:424)
at com.google.inject.internal.InternalFactoryToProviderAdapter.get(InternalFactoryToProviderAdapter.java:41)
at com.google.inject.internal.InjectorImpl$3$1.call(InjectorImpl.java:1005)
at com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1051)
at com.google.inject.internal.InjectorImpl$3.get(InjectorImpl.java:1001)
at hudson.ExtensionFinder$GuiceFinder._find(ExtensionFinder.java:386)
at hudson.ExtensionFinder$GuiceFinder.find(ExtensionFinder.java:377)
at hudson.ClassicPluginStrategy.findComponents(ClassicPluginStrategy.java:389)
at hudson.ExtensionList.load(ExtensionList.java:349)
at hudson.ExtensionList.ensureLoaded(ExtensionList.java:287)
at hudson.ExtensionList.iterator(ExtensionList.java:156)
at jenkins.model.Jenkins.getDescriptorByType(Jenkins.java:1271)
at hudson.plugins.copyartifact.BuildSelectorParameter.initAliases(BuildSelectorParameter.java:156)
at hudson.plugins.copyartifact.CopyArtifactPlugin.postInitialize(CopyArtifactPlugin.java:35)
at hudson.PluginManager$2$1$2.run(PluginManager.java:424)
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$8.runTask(Jenkins.java:958)
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:1145)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:745)

Add Comment Add Comment
 
This message was sent by Atlassian JIRA (v6.4.2#64017-sha1:e244265)
Atlassian logo

luta.catalin@gmail.com (JIRA)

unread,
May 13, 2016, 10:36:11 AM5/13/16
to jenkinsc...@googlegroups.com

luta.catalin@gmail.com (JIRA)

unread,
May 13, 2016, 10:37:01 AM5/13/16
to jenkinsc...@googlegroups.com

s.romanov@outlook.com (JIRA)

unread,
May 13, 2016, 10:42:03 AM5/13/16
to jenkinsc...@googlegroups.com
Sergey Romanov updated an issue
 
Change By: Sergey Romanov
When i I got an error on Jenkins level when I  tried  to  install  the  "JiraTestResultReporter-  plugin  ( "

Plugin
version :  2.0.0 ) and got error on Jenkins level as shown below
Source
:  http://updates.jenkins-ci.org/download/plugins/JiraTestResultReporter/

INFO: Prepared all plugins
May 12, 2016 7:07:48 PM hudson.ExtensionFinder$GuiceFinder$FaultTolerantScope$1 error
WARNING: Failed to instantiate Key[type=org.jenkinsci.plugins.JiraTestResultReporter.JiraTestDataPublisher$JiraTestDataPublisherDescriptor, annotation=[none]]; skipping this component
java.lang.NoClassDefFoundError: Could not initialize class org.jenkinsci.plugins.JiraTestResultReporter.JiraTestDataPublisher$JiraTestDataPublisherDescriptor

s.romanov@outlook.com (JIRA)

unread,
May 13, 2016, 10:52:01 AM5/13/16
to jenkinsc...@googlegroups.com
Sergey Romanov commented on Bug JENKINS-34806
 
Re: JiraTestResultReporter-plugin: java.lang.NoClassDefFoundError: Could not initialize class org.jenkinsci.plugins.JiraTestResultReporter.JiraTestDataPublisher

Catalin Luta Hi, This is not installation fail. I got this error when jenkins tried to load plugin to memory.
Also I tried to install version 1.0.4 and I got the same error(

s.romanov@outlook.com (JIRA)

unread,
May 13, 2016, 10:53:01 AM5/13/16
to jenkinsc...@googlegroups.com

briginevich@yahoo.com (JIRA)

unread,
May 13, 2016, 11:23:01 AM5/13/16
to jenkinsc...@googlegroups.com
Alex Briginevich commented on Bug JENKINS-34806
 
Re: JiraTestResultReporter-plugin: java.lang.NoClassDefFoundError: Could not initialize class org.jenkinsci.plugins.JiraTestResultReporter.JiraTestDataPublisher

Hi,
I got the same errors on our Jenkins instance (Jenkins version 1.654, plugin 2.0.0, Ubuntu 14.04):

1. WARNING: Failed to load org.jenkinsci.plugins.JiraTestResultReporter.config.StringFields$StringFieldsDescriptor
java.lang.InstantiationException: /var/lib/jenkins/plugins/JiraTestResultReporter/WEB-INF/lib/JiraTestResultReporter.jar might need to be rebuilt: java.lang.ClassNotFoundException: cached miss for org.jenkinsci.plugins.JiraTestResultReporter.config.StringFields$StringFieldsDescriptor
at net.java.sezpoz.IndexItem.element(IndexItem.java:144)
at hudson.ExtensionFinder$Sezpoz._find(ExtensionFinder.java:626)
at hudson.ExtensionFinder$Sezpoz.find(ExtensionFinder.java:615)


at hudson.ClassicPluginStrategy.findComponents(ClassicPluginStrategy.java:389)
at hudson.ExtensionList.load(ExtensionList.java:349)
at hudson.ExtensionList.ensureLoaded(ExtensionList.java:287)

at hudson.ExtensionList.getComponents(ExtensionList.java:167)
at jenkins.model.Jenkins$9.onInitMilestoneAttained(Jenkins.java:976)
at jenkins.InitReactorRunner$1.onAttained(InitReactorRunner.java:79)
at org.jvnet.hudson.reactor.ReactorListener$Aggregator.onAttained(ReactorListener.java:104)
at org.jvnet.hudson.reactor.Reactor$1.run(Reactor.java:176)


at org.jvnet.hudson.reactor.Reactor$Node.run(Reactor.java:117)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:745)

Caused by: java.lang.ClassNotFoundException: cached miss for org.jenkinsci.plugins.JiraTestResultReporter.config.StringFields$StringFieldsDescriptor
at hudson.PluginManager$UberClassLoader.findClass(PluginManager.java:1194)
at java.lang.ClassLoader.loadClass(ClassLoader.java:425)
at java.lang.ClassLoader.loadClass(ClassLoader.java:358)
at net.java.sezpoz.IndexItem.element(IndexItem.java:134)
... 14 more
2. INFO: Prepared all plugins


May 12, 2016 7:07:48 PM hudson.ExtensionFinder$GuiceFinder$FaultTolerantScope$1 error
WARNING: Failed to instantiate Key[type=org.jenkinsci.plugins.JiraTestResultReporter.JiraTestDataPublisher$JiraTestDataPublisherDescriptor, annotation=[none]]; skipping this component

java.lang.NoClassDefFoundError: Could not initialize class org.jenkinsci.plugins.JiraTestResultReporter.JiraTestDataPublisher$JiraTestDataPublisherDescriptor

Looks like, some java class missing in /var/lib/jenkins/plugins/JiraTestResultReporter/WEB-INF/lib/JiraTestResultReporter.jar

tuicu@adobe.com (JIRA)

unread,
May 13, 2016, 1:14:01 PM5/13/16
to jenkinsc...@googlegroups.com
Andrei Tuicu started work on Bug JENKINS-34806
 
Change By: Andrei Tuicu
Status: Open In Progress

scm_issue_link@java.net (JIRA)

unread,
May 13, 2016, 1:14:02 PM5/13/16
to jenkinsc...@googlegroups.com

Code changed in jenkins
User: Andrei Tuicu
Path:
src/main/resources/org/jenkinsci/plugins/JiraTestResultReporter/Config/SelectableArrayFields/config.jelly
src/main/resources/org/jenkinsci/plugins/JiraTestResultReporter/Config/SelectableFields/config.jelly
src/main/resources/org/jenkinsci/plugins/JiraTestResultReporter/Config/StringArrayFields/config.jelly
src/main/resources/org/jenkinsci/plugins/JiraTestResultReporter/Config/StringArrayFields/help-value.html
src/main/resources/org/jenkinsci/plugins/JiraTestResultReporter/Config/StringFields/config.jelly
src/main/resources/org/jenkinsci/plugins/JiraTestResultReporter/Config/StringFields/help-value.html
src/main/resources/org/jenkinsci/plugins/JiraTestResultReporter/config/SelectableArrayFields/config.jelly
src/main/resources/org/jenkinsci/plugins/JiraTestResultReporter/config/SelectableFields/config.jelly
src/main/resources/org/jenkinsci/plugins/JiraTestResultReporter/config/StringArrayFields/config.jelly
src/main/resources/org/jenkinsci/plugins/JiraTestResultReporter/config/StringArrayFields/help-value.html
src/main/resources/org/jenkinsci/plugins/JiraTestResultReporter/config/StringFields/config.jelly
src/main/resources/org/jenkinsci/plugins/JiraTestResultReporter/config/StringFields/help-value.html
http://jenkins-ci.org/commit/JiraTestResultReporter-plugin/0efbd63afafa22116ecf11c522ffe3b02acd77bc
Log:
Fix JENKINS-34806: Cause GitHub is case insesitive when it comes to file names.

tuicu@adobe.com (JIRA)

unread,
May 13, 2016, 1:14:02 PM5/13/16
to jenkinsc...@googlegroups.com

tuicu@adobe.com (JIRA)

unread,
May 13, 2016, 4:50:01 PM5/13/16
to jenkinsc...@googlegroups.com
Andrei Tuicu resolved as Fixed
 

Hey, guys,

Thank you for the report! Everything should be ok in the new version 2.0.1. You might need to wait a bit for the mirrors to be updated until it is shown in the Jenkins update center, or you can download the hpi directly from here[0].

Please let me know if you find any more problems.

Thank you,
Andrei

[0] http://repo.jenkins-ci.org/releases/org/jenkins-ci/plugins/JiraTestResultReporter/2.0.1/JiraTestResultReporter-2.0.1.hpi

Change By: Andrei Tuicu
Status: In Progress Resolved
Resolution: Fixed

briginevich@yahoo.com (JIRA)

unread,
May 14, 2016, 4:19:01 PM5/14/16
to jenkinsc...@googlegroups.com

tuicu@adobe.com (JIRA)

unread,
May 16, 2016, 6:27:01 AM5/16/16
to jenkinsc...@googlegroups.com
Reply all
Reply to author
Forward
0 new messages