Can you create a JIRA so we don't miss fixing it for 1.1.0.Final?
----- Original Message -----
From: "Bruno Oliveira" <bruno(a)abstractj.org>
To: "keycloak dev" <keycloak-dev(a)lists.jboss.org>
Sent: Tuesday, 13 January, 2015 3:45:07 PM
Subject: [keycloak-dev] NPE after migrate to 1.1.0.x series
Good morning, after banging my head against the wall I decided to ask for
help. We started the
tests with Keycloak 1.1.0.Beta1 and Beta2, although after deploying it we get
NPE on UPS.
What I identified was that after the commit
94de88ef3b305ad971f81d8610e98a5297f97cd0 the DefaultKeycloakSession
will raise the NPE at:
public <T extends Provider> T getProvider(Class<T> clazz) {
Integer hash = clazz.hashCode();
T provider = (T) providers.get(hash);
if (provider == null) {
ProviderFactory<T> providerFactory =
factory.getProviderFactory(clazz);
if (providerFactory != null) {
provider = providerFactory.create(this);
providers.put(hash, provider);
}
}
return provider; //Provider will return null here
}
Maybe is some misconfiguration at
https://github.com/keycloak/keycloak/blob/master/project-integrations/aer...,
but after dig into KC sources I couldn't find anything weird.
To reproduce the issues with WildFly 8.2.0.final just go to
keycloak/project-integrations and run: mvn -Pwildfly clean install
wildfly:deploy.
Thanks in advance.
--
abstractj
PGP: 0x84DC9914
_______________________________________________
keycloak-dev mailing list
keycloak-dev(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/keycloak-dev