ExtensionFinder$GuiceFinde ClassNotFoundException

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

ExtensionFinder$GuiceFinde ClassNotFoundException

Michael Carter
Trying to add Jira functionality to a parameter.   I get this when it starts up.   Classes aren't getting loaded into what ever space the parameters are loading into.

Am I missing a white list or something?

2020-11-27 20:39:04.321+0000 [id=42] WARNING h.ExtensionFinder$GuiceFinder$SezpozModule#configure: Failed to load io.jenkins.plugins.JenkinsPlugin.JiraPack
java.lang.ClassNotFoundException: com.atlassian.jira.rest.client.internal.async.AsynchronousJiraRestClientFactory
at jenkins.util.AntClassLoader.findClassInComponents(AntClassLoader.java:1387)
at jenkins.util.AntClassLoader.findClass(AntClassLoader.java:1342)
at jenkins.util.AntClassLoader.loadClass(AntClassLoader.java:1089)
at java.lang.ClassLoader.loadClass(ClassLoader.java:351)
Caused: java.lang.NoClassDefFoundError: Lcom/atlassian/jira/rest/client/internal/async/AsynchronousJiraRestClientFactory;
at java.lang.Class.getDeclaredFields0(Native Method)
at java.lang.Class.privateGetDeclaredFields(Class.java:2583)
at java.lang.Class.getDeclaredFields(Class.java:1916)
at hudson.ExtensionFinder$GuiceFinder$SezpozModule.resolve(ExtensionFinder.java:503)

--
You received this message because you are subscribed to the Google Groups "Jenkins Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-dev/f98c6431-298a-4437-9ce7-42ce54bb549bn%40googlegroups.com.
Reply | Threaded
Open this post in threaded view
|

Re: ExtensionFinder$GuiceFinde ClassNotFoundException

Oleg Nenashev
Hi! Your plugin needs the Jira REST Client library, bit it looks like it was not loaded on the Jenkins startup. Most likely it means that the library was not added to the plugin HPI and was not provided by another plugin. If you could share your pom.xml, it might help to pinpoint the issue

On Friday, November 27, 2020 at 9:47:41 PM UTC+1 [hidden email] wrote:
Trying to add Jira functionality to a parameter.   I get this when it starts up.   Classes aren't getting loaded into what ever space the parameters are loading into.

Am I missing a white list or something?

2020-11-27 20:39:04.321+0000 [id=42] WARNING h.ExtensionFinder$GuiceFinder$SezpozModule#configure: Failed to load io.jenkins.plugins.JenkinsPlugin.JiraPack
java.lang.ClassNotFoundException: com.atlassian.jira.rest.client.internal.async.AsynchronousJiraRestClientFactory
at jenkins.util.AntClassLoader.findClassInComponents(AntClassLoader.java:1387)
at jenkins.util.AntClassLoader.findClass(AntClassLoader.java:1342)
at jenkins.util.AntClassLoader.loadClass(AntClassLoader.java:1089)
at java.lang.ClassLoader.loadClass(ClassLoader.java:351)
Caused: java.lang.NoClassDefFoundError: Lcom/atlassian/jira/rest/client/internal/async/AsynchronousJiraRestClientFactory;
at java.lang.Class.getDeclaredFields0(Native Method)
at java.lang.Class.privateGetDeclaredFields(Class.java:2583)
at java.lang.Class.getDeclaredFields(Class.java:1916)
at hudson.ExtensionFinder$GuiceFinder$SezpozModule.resolve(ExtensionFinder.java:503)

--
You received this message because you are subscribed to the Google Groups "Jenkins Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-dev/e9d7e30f-397a-4789-86af-33c90b0b91fbn%40googlegroups.com.
Reply | Threaded
Open this post in threaded view
|

Re: ExtensionFinder$GuiceFinde ClassNotFoundException

Michael Carter
For the record... found it.   I had rebranded Nov 1st, and the old plugin was still there.   So it was loading it.

work/plugins/JenkinsPlugin-20.09.0-${timestamp}.hpl
work/plugins/JenkinsPlugin-20.11.0-${timestamp}.hpl

On Friday, November 27, 2020 at 5:22:31 PM UTC-5 Oleg Nenashev wrote:
Hi! Your plugin needs the Jira REST Client library, bit it looks like it was not loaded on the Jenkins startup. Most likely it means that the library was not added to the plugin HPI and was not provided by another plugin. If you could share your pom.xml, it might help to pinpoint the issue

On Friday, November 27, 2020 at 9:47:41 PM UTC+1 [hidden email] wrote:
Trying to add Jira functionality to a parameter.   I get this when it starts up.   Classes aren't getting loaded into what ever space the parameters are loading into.

Am I missing a white list or something?

2020-11-27 20:39:04.321+0000 [id=42] WARNING h.ExtensionFinder$GuiceFinder$SezpozModule#configure: Failed to load io.jenkins.plugins.JenkinsPlugin.JiraPack
java.lang.ClassNotFoundException: com.atlassian.jira.rest.client.internal.async.AsynchronousJiraRestClientFactory
at jenkins.util.AntClassLoader.findClassInComponents(AntClassLoader.java:1387)
at jenkins.util.AntClassLoader.findClass(AntClassLoader.java:1342)
at jenkins.util.AntClassLoader.loadClass(AntClassLoader.java:1089)
at java.lang.ClassLoader.loadClass(ClassLoader.java:351)
Caused: java.lang.NoClassDefFoundError: Lcom/atlassian/jira/rest/client/internal/async/AsynchronousJiraRestClientFactory;
at java.lang.Class.getDeclaredFields0(Native Method)
at java.lang.Class.privateGetDeclaredFields(Class.java:2583)
at java.lang.Class.getDeclaredFields(Class.java:1916)
at hudson.ExtensionFinder$GuiceFinder$SezpozModule.resolve(ExtensionFinder.java:503)

--
You received this message because you are subscribed to the Google Groups "Jenkins Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-dev/82977ea2-be05-4826-b5ff-b85a01915819n%40googlegroups.com.