the NPE is present because the AdapterDeploymentContext is null, when using
the WildFly Adapter.
I tried to deploy this example to WildFly:
The 'auth-server' works fine, and on the 'app' I simply changed the used
Now when I am deploying the app.war file, I am getting a NPE inside of the
Caused by: java.lang.NullPointerException
... 7 more
Looking at the sources, I see that the Undertow/WildFly adapters do behave
a bit different than the AS7 one.
A few observations, the AS7 adapter is not 'failing' if the
getConfigInputStream() returns null:
The AS7 apdater also stashes the AdapterDeploymentContext on the
This is not done by the WildFly/Undertow Adapter, which causes the NPE that
Bruno and I are facing, when trying to deploy on WildFly
On Tue, Jun 3, 2014 at 6:01 PM, Bruno Oliveira <bruno(a)abstractj.org> wrote:
Certainly Bill, I did the changes here:
Do I need to include any additional configuration? The NPE persists,
probably because I missed something.
On 2014-06-03, Bill Burke wrote:
> Maybe it is because the application is configured to use the AS7 adapter
> and not Wildfly adapter?!
> On 6/3/2014 9:39 AM, Bruno Oliveira wrote:
> > Good morning,
> > During UPS server deployment a NPE is raised with Wildfly — I
> > that currently only EAP is supported.
> > Specifically I'm currently looking into this:
> > My poor attempt to fix was
, but no luck.
> > Is KeycloakServletExtension the place where should I look?
> > --
> > abstractj
> > _______________________________________________
> > keycloak-dev mailing list
> > keycloak-dev(a)lists.jboss.org
> > https://lists.jboss.org/mailman/listinfo/keycloak-dev
> Bill Burke
> JBoss, a division of Red Hat
> keycloak-dev mailing list
keycloak-dev mailing list