Exception in Active Directory plugin when accessing web UI

11 views
Skip to first unread message

Sebastian Schuberth

unread,
Jun 10, 2016, 7:00:11 AM6/10/16
to Jenkins Users
Hi,

since today I'm getting the following exception in Jenkins 2.5 with active-directory plugin 1.47 when accessing the web UI (even unauthenticated):

java.lang.IllegalArgumentException: Cannot pass null or empty values to constructor
    at org.acegisecurity.userdetails.User.<init>(User.java:127)
    at hudson.plugins.script_realm.ScriptSecurityRealm.loadUserByUsername(ScriptSecurityRealm.java:105)
    at com.michelin.cio.hudson.plugins.rolestrategy.RoleMap.hasPermission(RoleMap.java:110)
    at com.michelin.cio.hudson.plugins.rolestrategy.RoleMap.access$000(RoleMap.java:64)
    at com.michelin.cio.hudson.plugins.rolestrategy.RoleMap$AclImpl.hasPermission(RoleMap.java:341)
    at hudson.security.SidACL._hasPermission(SidACL.java:80)
    at hudson.security.SidACL.hasPermission(SidACL.java:52)
    at hudson.security.ACL.checkPermission(ACL.java:62)
    at hudson.model.Node.checkPermission(Node.java:464)
    at jenkins.model.Jenkins.getTarget(Jenkins.java:4303)
    at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:674)
    at org.kohsuke.stapler.Stapler.invoke(Stapler.java:876)
    at org.kohsuke.stapler.Stapler.invoke(Stapler.java:649)
    at org.kohsuke.stapler.Stapler.service(Stapler.java:238)

I looks a bit like the issue at [1], but the stack trace is slightly different. Has anyone else seen this? As a work-around I've tried to downgrade the active-directory plugin to version 1.46 and also version 1.38, and upgraded Jenkins to version 2.8, both without any luck.

[1] https://issues.jenkins-ci.org/browse/JENKINS-31880

Regards,
Sebastian

Reply all
Reply to author
Forward
0 new messages