-
Bug
-
Resolution: Unresolved
-
Blocker
-
None
-
macOS Big Sur 11.6.2
Jenkins 2.330
URLTrigger Plug-in 0.50
The URLTrigger Plug-In doesn't work anymore, because an exception error is thrown when polling:
Polling started on 2022-01-14 09:44:05 Polling for the job URL Trigger Looking nodes where the poll can be run. Looking for a candidate node to run the poll. Can't find any eligible slave nodes. Trying to poll on master node. Polling on master. Resolving environment variables using global values [ERROR] - Polling error... [ERROR] - Error message: javax/ws/rs/ext/MessageBodyReader [ERROR] - Error cause: javax.ws.rs.ext.MessageBodyReader
Here is the exception error from the Jenkins log:
janv. 14, 2022 9:17:05 AM AVERTISSEMENT org.jenkinsci.lib.xtrigger.AbstractTrigger reportError Polling failed java.lang.ClassNotFoundException: javax.ws.rs.ext.MessageBodyReader at org.apache.tools.ant.AntClassLoader.findClassInComponents(AntClassLoader.java:1402) at org.apache.tools.ant.AntClassLoader.findClass(AntClassLoader.java:1357) at org.apache.tools.ant.AntClassLoader.loadClass(AntClassLoader.java:1112) at java.lang.ClassLoader.loadClass(ClassLoader.java:357) Caused: java.lang.NoClassDefFoundError: javax/ws/rs/ext/MessageBodyReader at java.lang.ClassLoader.defineClass1(Native Method) at java.lang.ClassLoader.defineClass(ClassLoader.java:763) at org.apache.tools.ant.AntClassLoader.defineClassFromData(AntClassLoader.java:1172) at org.apache.tools.ant.AntClassLoader.getClassFromStream(AntClassLoader.java:1340) at org.apache.tools.ant.AntClassLoader.findClassInComponents(AntClassLoader.java:1392) at org.apache.tools.ant.AntClassLoader.findClass(AntClassLoader.java:1357) at org.apache.tools.ant.AntClassLoader.loadClass(AntClassLoader.java:1112) at java.lang.ClassLoader.loadClass(ClassLoader.java:357) at java.lang.ClassLoader.defineClass1(Native Method) at java.lang.ClassLoader.defineClass(ClassLoader.java:763) at org.apache.tools.ant.AntClassLoader.defineClassFromData(AntClassLoader.java:1172) at org.apache.tools.ant.AntClassLoader.getClassFromStream(AntClassLoader.java:1340) at org.apache.tools.ant.AntClassLoader.findClassInComponents(AntClassLoader.java:1392) at org.apache.tools.ant.AntClassLoader.findClass(AntClassLoader.java:1357) at jenkins.ClassLoaderReflectionToolkit.loadClass(ClassLoaderReflectionToolkit.java:148) at hudson.ClassicPluginStrategy$DependencyClassLoader.findClass(ClassicPluginStrategy.java:650) at java.lang.ClassLoader.loadClass(ClassLoader.java:424) at java.lang.ClassLoader.loadClass(ClassLoader.java:357) at org.apache.tools.ant.AntClassLoader.findBaseClass(AntClassLoader.java:1421) at org.apache.tools.ant.AntClassLoader.loadClass(AntClassLoader.java:1108) at java.lang.ClassLoader.loadClass(ClassLoader.java:357) at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Class.java:264) at com.sun.jersey.core.reflection.ReflectionHelper$3.run(ReflectionHelper.java:289) at com.sun.jersey.core.reflection.ReflectionHelper$3.run(ReflectionHelper.java:279) at java.security.AccessController.doPrivileged(Native Method) at com.sun.jersey.spi.service.ServiceFinder$AbstractLazyIterator.hasNext(ServiceFinder.java:697) at com.sun.jersey.spi.service.ServiceFinder.toClassArray(ServiceFinder.java:549) at com.sun.jersey.core.spi.component.ProviderServices.getServiceClasses(ProviderServices.java:345) at com.sun.jersey.core.spi.component.ProviderServices.getServiceClasses(ProviderServices.java:338) at com.sun.jersey.core.spi.component.ProviderServices.getServices(ProviderServices.java:162) at com.sun.jersey.core.spi.factory.MessageBodyFactory.initReaders(MessageBodyFactory.java:176) at com.sun.jersey.core.spi.factory.MessageBodyFactory.init(MessageBodyFactory.java:162) at com.sun.jersey.api.client.Client.init(Client.java:343) at com.sun.jersey.api.client.Client.access$000(Client.java:119) at com.sun.jersey.api.client.Client$1.f(Client.java:192) at com.sun.jersey.api.client.Client$1.f(Client.java:188) at com.sun.jersey.spi.inject.Errors.processWithErrors(Errors.java:193) at com.sun.jersey.api.client.Client.<init>(Client.java:188) at com.sun.jersey.api.client.Client.<init>(Client.java:171) at com.sun.jersey.api.client.Client.create(Client.java:683) at org.jenkinsci.plugins.urltrigger.URLTrigger.createClientWithoutProxy(URLTrigger.java:402) at org.jenkinsci.plugins.urltrigger.URLTrigger.createClient(URLTrigger.java:384) at org.jenkinsci.plugins.urltrigger.URLTrigger.getClientObject(URLTrigger.java:364) at org.jenkinsci.plugins.urltrigger.URLTrigger.checkIfModifiedEntryForHttpOrHttpsURL(URLTrigger.java:287) at org.jenkinsci.plugins.urltrigger.URLTrigger.checkIfModifiedEntry(URLTrigger.java:279) at org.jenkinsci.plugins.urltrigger.URLTrigger.checkIfModified(URLTrigger.java:254) at org.jenkinsci.lib.xtrigger.AbstractTrigger$Runner.run(AbstractTrigger.java:212) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) at java.lang.Thread.run(Thread.java:748)