shibboleth-dev - NPE: Configuration was not loaded for shibboleth.AttributeResolver service
Subject: Shibboleth Developers
List archive
- From: Peter Schober <>
- To:
- Subject: NPE: Configuration was not loaded for shibboleth.AttributeResolver service
- Date: Mon, 16 Jun 2008 14:56:24 +0200
- Organization: Vienna University Computer Center
I'm trying to rebuild the IdP from java-idp-main/branches/REL_2/
(like I did saturday, without any problems). Deploying with the
default config works (coping over my working credentials, metadata,
relying party from the 2.0.0 release), only transientId is defined and
released (so no attribute statement is put in the assertion).
Now, as soon as I uncomment other attribute definitions from the
default config (e.g. uid) and uncomment a data connector (either
LDAPDirectory or RelationalDatabase, makes no difference) the IdP
throws a NPE during deployment:
14:34:52.896 - DEBUG
[edu.internet2.middleware.shibboleth.common.config.attribute.resolver.attributeDefinition.BaseAttributeDefinitionBeanDefinitionParser:81]
- Attribute definition transientId produces attributes that are only
dependencies: false
14:34:52.896 - TRACE
[edu.internet2.middleware.shibboleth.common.config.BaseSpringNamespaceHandler:108]
- Attempting to find parser for element of type:
{urn:mace:shibboleth:2.0:attribute:encoder}SAML1StringNameIdentifier
14:34:52.896 - TRACE
[edu.internet2.middleware.shibboleth.common.config.BaseSpringNamespaceHandler:108]
- Attempting to find parser for element of type:
{urn:mace:shibboleth:2.0:attribute:encoder}SAML2StringNameID
14:34:52.896 - ERROR
[edu.internet2.middleware.shibboleth.common.config.BaseService:187] -
Configuration was not loaded for shibboleth.AttributeResolver service, error
creating components. The root cause of this error was:
java.lang.NullPointerException: null
14:34:52.896 - TRACE
[edu.internet2.middleware.shibboleth.common.config.BaseService:190] - Full
stacktrace is:
org.springframework.beans.factory.BeanCreationException: Error creating bean
with name 'db_groupmanager': Invocation of init method failed; nested
exception is java.lang.NullPointerException
at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1336)
at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:471)
at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory$1.run(AbstractAutowireCapableBeanFactory.java:409)
at java.security.AccessController.doPrivileged(Native Method)
at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:380)
at
org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:264)
at
org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:217)
[...]
Caused by: java.lang.NullPointerException
at
edu.internet2.middleware.shibboleth.common.attribute.resolver.provider.dataConnector.TemplateEngine.registerTemplate(TemplateEngine.java:66)
at
edu.internet2.middleware.shibboleth.common.attribute.resolver.provider.dataConnector.RDBMSDataConnector.registerTemplate(RDBMSDataConnector.java:277)
at
edu.internet2.middleware.shibboleth.common.attribute.resolver.provider.dataConnector.RDBMSDataConnector.setTemplateEngine(RDBMSDataConnector.java:172)
at
edu.internet2.middleware.shibboleth.common.config.attribute.resolver.dataConnector.RDBMSDataConnectorFactoryBean.createInstance(RDBMSDataConnectorFactoryBean.java:191)
at
org.springframework.beans.factory.config.AbstractFactoryBean.afterPropertiesSet(AbstractFactoryBean.java:120)
at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1367)
at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1333)
... 59 common frames omitted
Any hints?
This is with Hotspot Java 1.6 and Tomcat 6.0.16.
I used 2.0.0 and compiled REL_2 on that box before without problems.
cheers,
-peter
--
- vienna university computer center
Universitaetsstrasse 7, A-1010 Wien, Austria/Europe
Tel. +43-1-4277-14155, Fax. +43-1-4277-9140
- shib 2 IDP along with other SP, sudha . kiran, 06/11/2008
- <Possible follow-up(s)>
- Re: shib 2 IDP along with other SP, sudha . kiran, 06/12/2008
- RE: [Shib-Dev] Re: shib 2 IDP along with other SP, Scott Cantor, 06/12/2008
- NPE: Configuration was not loaded for shibboleth.AttributeResolver service, Peter Schober, 06/16/2008
- Re: [Shib-Dev] NPE: Configuration was not loaded for shibboleth.AttributeResolver service, Peter Schober, 06/16/2008
Archive powered by MHonArc 2.6.16.