Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Security API TCK failures with NPE #23418

Closed
gurunrao opened this issue Mar 11, 2021 · 0 comments · Fixed by #23419
Closed

Security API TCK failures with NPE #23418

gurunrao opened this issue Mar 11, 2021 · 0 comments · Fixed by #23419

Comments

@gurunrao
Copy link
Contributor

gurunrao commented Mar 11, 2021

Security API TCK Test run logs and details of failures can be seen here - report.txt

Also glassfish server logs can be seen here - server.log

Steps for reproducing issue by running Security TCK, can be found in wiki - https://github.com/eclipse-ee4j/jakartaee-tck/wiki/Instructions-for-Building-&-Running-Jakarta-EE-Standalone-TCKs

Security TCK bundle can be downloaded from https://download.eclipse.org/ee4j/jakartaee-tck/jakartaee9-eftl/staged-910/jakarta-security-tck-2.0.0.zip
Archive with logs and results can be found at https://ci.eclipse.org/jakartaee-tck/job/9.1/job/eftl-standalonetck-build-run-910/28/artifact/security-tck-results.tar.gz

Exception stack-trace is as follows:
Exception message: javax.naming.NoInitialContextException: Cannot instantiate class: com.sun.jndi.ldap.LdapCtxFactory [Root exception is java.security.AccessControlException: access denied ("java.lang.RuntimePermission" "accessClassInPackage.com.sun.jndi.ldap")]
web username: null

hussainnm added a commit to hussainnm/glassfish that referenced this issue Mar 12, 2021
Add required permission to resolve ClassNotFoundException

Signed-off-by: hussainnm <hussain.nm@cognizant.com>
arjantijms added a commit that referenced this issue Mar 14, 2021
#23418 Security API TCK failures with NPE
hussainnm added a commit to hussainnm/glassfish that referenced this issue Mar 15, 2021
Add required permission to resolve ClassNotFoundException

Signed-off-by: hussainnm <hussain.nm@cognizant.com>
hussainnm added a commit to hussainnm/glassfish that referenced this issue Mar 15, 2021
Add required permission to resolve ClassNotFoundException

Signed-off-by: hussainnm <hussain.nm@cognizant.com>
hs536 added a commit that referenced this issue Mar 15, 2021
#23418 Security API TCK failures with NPE
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant