OpenIdAuthenticationDefinition javax.el.PropertyNotFoundException: ELResolver cannot handle a null base Object with identifier /FISH-84 #4469
Labels
Status: Accepted
Confirmed defect or accepted improvement to implement, issue has been escalated to Platform Dev
Type: Bug
Label issue as a bug defect
Description
I'm attempting to use Expression Language with a CDI Bean to configure OpenIdAuthenticationDefinition as described in the documentation here https://docs.payara.fish/documentation/payara-server/public-api/openid-connect-support.html.
My problem is that I'm able to use EL in a WAR, but it often fails when I attempt to put the WAR in an EAR.
Expected Outcome
I expect to be able to configure OpenIdAuthenticationDefinition using Expression Language with a CDI Bean in a WAR file in an EAR file.
I have linked to a complete example below in "Steps to Reproduce", but here is a brief demonstration:
Current Outcome
Sometimes the Expression Language look-up succeeds, and sometimes it fails. When it fails, it generates this error message:
javax.el.PropertyNotFoundException: ELResolver cannot handle a null base Object with identifier 'myConfigBean'
When it succeeds, it generates this error message:
javax.ws.rs.ProcessingException: URI is not absolute
This error message is expected in the successful case because I've intentionally used a bad URI because I don't want to complicate things by including an OpenId Provider.
Steps to reproduce
https://github.com/sharpedavid/el-bug-example
See the README.md file for more details.
Environment
The text was updated successfully, but these errors were encountered: