Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-72190

Stack traces loading the plugin

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Major Major
    • None
    • Jenkins 2.214.2 on Ubuntu 18, JDK, openjdk-11-jdk 11.0.19

      The authorize project plugin on my Jenkins instances are dumping with a huge stack trace on initialization. Goes away if I uninstall the plugin.

      log
      com.thoughtworks.xstream.security.InputManipulationException: Possible Dneial of Service attack by Stack Overflow
      at com.thoughtworks.xstream.XStream.unmarshal(XStream.java:1466)
      at hudson.util.XStream2.unmarshal(XStream2.java:230)
      at hudson.util.XStream2.unmarshal(XStream2.java:201)
      at com.thoughtworks.xstream.XStream.unmarshal(XStream.java:1441)
      at hudson.XmlFile.unmarshal(XmlFile.java:196)
      at hudson.XmlFile.unmarshal(XmlFile.java:179)
      at hudson.model.Descriptor.load(Descriptor.java:933)
      at jdk.internal.reflect.GeneratedMethodAccessor12.invoke(Unknown Source)
      at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.base/java.lang.reflect.Method.invoke(Method.java:566)
      at hudson.ExtensionFinder$GuiceFinder$SezpozModule.onProvision(ExtensionFinder.java:634)
      at com.google.inject.internal.ProvisionListenerStackCallback$Provision.provision(ProvisionListenerStackCallback.java:117)
      at com.google.inject.internal.ProvisionListenerStackCallback.provision(ProvisionListenerStackCallback.java:66)
      at com.google.inject.internal.ConstructorInjector.construct(ConstructorInjector.java:93)

      2023-10-16 17:11:27.054+0000 [id=18] WARNING h.ExtensionFinder$GuiceFinder$FaultTolerantScope$1#error: Failed to instantiate Key[type=jenkins.security.QueueItemAuthenticatorConfiguration, annotation=[none]]; skipping this component
      java.lang.IllegalStateException: Singleton is called recursively returning different results
      at com.google.common.base.Preconditions.checkState(Preconditions.java:512)
      at com.google.inject.internal.SingletonScope$1.get(SingletonScope.java:189)

      The stack trace is very long, and full one is attached.
      Not sure what to do to work around this issue.

            Unassigned Unassigned
            webminster Alan Sparks
            Votes:
            2 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: