Ingo Weiss created WFLY-13335:
---------------------------------
Summary: JwtActivationProcessor throws NPE when LoginConfig#realmName not
declared
Key: WFLY-13335
URL:
https://issues.redhat.com/browse/WFLY-13335
Project: WildFly
Issue Type: Bug
Components: MP JWT
Affects Versions: 19.0.0.Final
Reporter: Ingo Weiss
Assignee: Darran Lofthouse
Fix For: 19.0.1.Final, 20.0.0.Beta1
When starting a Microprofile application utilizing the
{{org.eclipse.microprofile.auth.LoginConfig}} annotation, a {{NullPointerException}} is
thrown if the annotation does not declare the {{realmName}} property.
{code}
ERROR [org.jboss.msc.service.fail] (MSC service thread 1-3) {} MSC000001: Failed to start
service jboss.deployment.unit."example.war".PARSE:
org.jboss.msc.service.StartException in service
jboss.deployment.unit."example.war".PARSE: WFLYSRV0153: Failed to process phase
PARSE of deployment "example.war"
at
org.jboss.as.server@11.0.0.Final//org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:183)
at
org.jboss.msc@1.4.11.Final//org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1739)
at
org.jboss.msc@1.4.11.Final//org.jboss.msc.service.ServiceControllerImpl$StartTask.execute(ServiceControllerImpl.java:1701)
at
org.jboss.msc@1.4.11.Final//org.jboss.msc.service.ServiceControllerImpl$ControllerTask.run(ServiceControllerImpl.java:1559)
at
org.jboss.threads@2.3.3.Final//org.jboss.threads.ContextClassLoaderSavingRunnable.run(ContextClassLoaderSavingRunnable.java:35)
at
org.jboss.threads@2.3.3.Final//org.jboss.threads.EnhancedQueueExecutor.safeRun(EnhancedQueueExecutor.java:1982)
at
org.jboss.threads@2.3.3.Final//org.jboss.threads.EnhancedQueueExecutor$ThreadBody.doRunTask(EnhancedQueueExecutor.java:1486)
at
org.jboss.threads@2.3.3.Final//org.jboss.threads.EnhancedQueueExecutor$ThreadBody.run(EnhancedQueueExecutor.java:1377)
at java.base/java.lang.Thread.run(Unknown Source)
Caused by: java.lang.NullPointerException
at
org.wildfly.extension.microprofile.jwt-smallrye@19.0.0.Final//org.wildfly.extension.microprofile.jwt.smallrye.JwtActivationProcessor.deploy(JwtActivationProcessor.java:80)
at
org.jboss.as.server@11.0.0.Final//org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:176)
... 8 more
{code}
--
This message was sent by Atlassian Jira
(v7.13.8#713008)