Skip to content

[JENKINS-1208] 1.175 startup fails: IllegalArgumentException / no UserDetailsService #24086

Closed

Description

@jenkins-infra-bot

I upgraded from 1.171 to 1.175 and got the log below at webserver startup. I
switched down to 1.174 and I'm ok again.

[22/Jan/2008:16:44:32] failure (14188): Failed to initialize Hudson
java.lang.IllegalArgumentException: No beans of interface
org.acegisecurity.userdetails.UserDetailsService are defined
at hudson.security.SecurityRealm.findBean(SecurityRealm.java:154)
at
hudson.security.LDAPSecurityRealm.createSecurityComponents(LDAPSecurityRealm.java:131)
at hudson.model.Hudson.setSecurityRealm(Hudson.java:957)
at hudson.model.Hudson.load(Hudson.java:1285)
at hudson.model.Hudson.(Hudson.java:345)
at hudson.WebAppMain$2.run(WebAppMain.java:129)

[22/Jan/2008:16:44:32] warning (14188): CORE3283: stderr: Exception in thread
"hudson initialization thread" java.lang.IllegalArgumentException: No beans of
interface org.acegisecurity.userdetails.UserDetailsService are defined
[22/Jan/2008:16:44:32] warning (14188): CORE3283: stderr: at
hudson.security.SecurityRealm.findBean(SecurityRealm.java:154)
[22/Jan/2008:16:44:32] warning (14188): CORE3283: stderr: at
hudson.security.LDAPSecurityRealm.createSecurityComponents(LDAPSecurityRealm.java:131)
[22/Jan/2008:16:44:32] warning (14188): CORE3283: stderr: at
hudson.model.Hudson.setSecurityRealm(Hudson.java:957)
[22/Jan/2008:16:44:32] warning (14188): CORE3283: stderr: at
hudson.model.Hudson.load(Hudson.java:1285)
[22/Jan/2008:16:44:32] warning (14188): CORE3283: stderr: at
hudson.model.Hudson.(Hudson.java:345)
[22/Jan/2008:16:44:32] warning (14188): CORE3283: stderr: at
hudson.WebAppMain$2.run(WebAppMain.java:129)

Container: SJSWS 7.0u2
Authentication: LDAP / matrix security


Originally reported by mindless, imported from: 1.175 startup fails: IllegalArgumentException / no UserDetailsService
  • status: Closed
  • priority: Critical
  • component(s): _unsorted
  • resolution: Fixed
  • resolved: 2008-01-24T18:44:42+00:00
  • votes: 0
  • watchers: 0
  • imported: 2025-12-08
Raw content of original issue

I upgraded from 1.171 to 1.175 and got the log below at webserver startup. I switched down to 1.174 and I'm ok again.

[22/Jan/2008:16:44:32] failure (14188): Failed to initialize Hudson java.lang.IllegalArgumentException: No beans of interface org.acegisecurity.userdetails.UserDetailsService are defined at hudson.security.SecurityRealm.findBean(SecurityRealm.java:154) at hudson.security.LDAPSecurityRealm.createSecurityComponents(LDAPSecurityRealm.java:131) at hudson.model.Hudson.setSecurityRealm(Hudson.java:957) at hudson.model.Hudson.load(Hudson.java:1285) at hudson.model.Hudson.<init>(Hudson.java:345) at hudson.WebAppMain$2.run(WebAppMain.java:129)

[22/Jan/2008:16:44:32] warning (14188): CORE3283: stderr: Exception in thread "hudson initialization thread" java.lang.IllegalArgumentException: No beans of interface org.acegisecurity.userdetails.UserDetailsService are defined [22/Jan/2008:16:44:32] warning (14188): CORE3283: stderr: at hudson.security.SecurityRealm.findBean(SecurityRealm.java:154) [22/Jan/2008:16:44:32] warning (14188): CORE3283: stderr: at hudson.security.LDAPSecurityRealm.createSecurityComponents(LDAPSecurityRealm.java:131) [22/Jan/2008:16:44:32] warning (14188): CORE3283: stderr: at hudson.model.Hudson.setSecurityRealm(Hudson.java:957) [22/Jan/2008:16:44:32] warning (14188): CORE3283: stderr: at hudson.model.Hudson.load(Hudson.java:1285) [22/Jan/2008:16:44:32] warning (14188): CORE3283: stderr: at hudson.model.Hudson.<init>(Hudson.java:345) [22/Jan/2008:16:44:32] warning (14188): CORE3283: stderr: at hudson.WebAppMain$2.run(WebAppMain.java:129)

Container: SJSWS 7.0u2 Authentication: LDAP / matrix security

  • environment: Platform: All, OS: All

Activity

  1. jenkins-infra-bot commented on Jan 24, 2008

    @jenkins-infra-bot
    Author
    kohsuke:
    • Original comment link
    • Raw content of original comment:

      Ouch. Fixed in 1.176.

    Ouch. Fixed in 1.176.

  2. removed
    bugFor changelog: Minor bug. Will be listed after features
    on Dec 8, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions