jenkinsci / bitbucket-push-and-pull-request-plugin

Plugin for Jenkins v2.138.2 or later, that triggers job builds on Bitbucket's push and pull request events.

Home Page:https://plugins.jenkins.io/bitbucket-push-and-pull-request

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Error making a pull request and the webhook it is trigger

CarlosMorfin opened this issue · comments

This it is mi configuration a get an error of java, I need help

Screenshot 2024-02-07 234330
Screenshot 2024-02-07 234440

Sistem logs:
t org.eclipse.jetty.util.thread.QueuedThreadPool$Runner.run(QueuedThreadPool.java:1149)
at java.base/java.lang.Thread.run(Thread.java:840)

Feb 08, 2024 5:13:45 AM WARNING hudson.init.impl.InstallUncaughtExceptionHandler handleException
null
java.lang.ExceptionInInitializerError: Exception java.lang.IllegalStateException: Expected 1 instance of io.jenkins.plugins.bitbucketpushandpullrequest.config.BitBucketPPRPluginConfig but got 2 [in thread "Handling POST /bitbucket-hook/ from 10.0.11.69 : Jetty (winstone)-20"]
at hudson.ExtensionList.lookupSingleton(ExtensionList.java:454)
at io.jenkins.plugins.bitbucketpushandpullrequest.config.BitBucketPPRPluginConfig.getInstance(BitBucketPPRPluginConfig.java:48)
at io.jenkins.plugins.bitbucketpushandpullrequest.BitBucketPPRJobProbe.(BitBucketPPRJobProbe.java:66)
at io.jenkins.plugins.bitbucketpushandpullrequest.processor.BitBucketPPRPayloadProcessorFactory.createProcessor(BitBucketPPRPayloadProcessorFactory.java:47)
at io.jenkins.plugins.bitbucketpushandpullrequest.receiver.BitBucketPPRHookReceiver.doIndex(BitBucketPPRHookReceiver.java:85)
at java.base/java.lang.invoke.MethodHandle.invokeWithArguments(MethodHandle.java:732)
at org.kohsuke.stapler.Function$MethodFunction.invoke(Function.java:397)
at org.kohsuke.stapler.Function$InstanceFunction.invoke(Function.java:409)
at org.kohsuke.stapler.Function.bindAndInvoke(Function.java:207)
at org.kohsuke.stapler.Function.bindAndInvokeAndServeResponse(Function.java:140)