Getting error "Invalid Attribute resolver configuration"

Jeremy Morton jez9999 at gmail.com
Thu Jan 29 11:03:50 EST 2015


Hi all,

This is driving me mad.  I cannot seem to configure my
attribute-resolver.xml correctly.  I am trying to configure an LDAP data
connector (with id "ldapConnector"), and I think that's what is causing the
following message in the log whenever I try to login:
ERROR [net.shibboleth.idp.profile.impl.ResolveAttributes:218] - Profile
Action ResolveAttributes: Error resolving attributes: Invalid Attribute
resolver configuration

However, I can't see any error with my DataConnector.  When I comment out
its XML, though, the error doesn't happen, so I guess that is where the
error lies.  Here is my XML file:
http://pastebin.com/CbKCzgAM

I've even looked at the source code to figure out where the error is
happening, and it looks like ResolveAttributes.java:
        try {
            component = attributeResolverService.getServiceableComponent();
            if (null == component) {
                log.error("{} Error resolving attributes: Invalid Attribute
resolver configuration", getLogPrefix());

By the way, just a suggestion, but you guys could do with a more meaningful
error message here.  I have no idea why component is apparently null, and
only that one ERROR in my logfile.  Any ideas why it isn't working?

Best regards,
Jeremy Morton (Jez)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://shibboleth.net/pipermail/users/attachments/20150129/ba995ef6/attachment.html 


More information about the users mailing list