I am getting 15:41:09,549 ERROR [default]:260 - Servlet.service() for servlet default threw exception
java.lang.NullPointerException
at first line of this function
public static AssertionConsumerService [I]getAssertionConsubmerForBinding(SPSSODescriptor descriptor, String binding) throws MetadataProviderException {
List<AssertionConsumerService> services = descriptor.getAssertionConsumerServices();

I am trying to do login
/saml/login?idp=idp.dev.artstor.org&login=true


Apparently my SPSSODescriptor did not get properly initialized. Documentation for SAML module say: In case the metadata generator is not needed (hand configured SP metadata is present in the metadata bean) both metadataFilter and metadataGenerator can be removed from the configuration. I configured the sp metadata file:
<!-- IDP Metadata configuration - paths to metadata of IDPs in circle of trust is here -->
<!-- Do no forget to call iniitalize method on providers -->
<bean id="metadata" class="org.springframework.security.saml.metadata. MetadataManager" depends-on="bootstrap">
<constructor-arg index="0">
<list>
<bean class="org.opensaml.saml2.metadata.provider.Filesy stemMetadataProvider" init-method="initialize">
<constructor-arg index="0">
<value type="java.io.File">classpath:idp-metadata.xml</value>
</constructor-arg>
<property name="parserPool" ref="parserPool"/>
</bean>
<bean class="org.opensaml.saml2.metadata.provider.Filesy stemMetadataProvider" init-method="initialize">
<constructor-arg index="0">
<value type="java.io.File">classpath:sp_metadata.xml</value>
</constructor-arg>
<property name="parserPool" ref="parserPool"/>
</bean>

</list>
</constructor-arg>

</bean>

But probably did something wrong. My question is how to configure SP metadata (I have it in sp.xml file) so saml module will pick it up.