Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

EE 10: wasp runtime needs to be fixed to not fail with ClassCastException: class org.glassfish.wasp.runtime.ELContextWrapper cannot be cast to class org.glassfish.wasp.runtime.ELContextImpl #23931

Closed
scottmarlow opened this issue May 5, 2022 · 2 comments
Assignees

Comments

@scottmarlow
Copy link
Member

As per https://www.eclipse.org/lists/jsp-dev/msg00303.html + https://www.eclipse.org/lists/jsp-dev/msg00304.html, GlassFish 7.0 needs an update to resolve the below ClassCastException mentioned as #2 in https://www.eclipse.org/lists/jsp-dev/msg00302.html:

2.  ClassCastException: class org.glassfish.wasp.runtime.ELContextWrapper cannot be cast to class org.glassfish.wasp.runtime.ELContextImpl (org.glassfish.wasp.runtime.ELContextWrapper and org.glassfish.wasp.runtime.ELContextImpl are in unnamed module (see full failure in [4]).  

[4] https://gist.github.com/scottmarlow/841b30e370ea8caa75f2ba16aef77f05
@arjantijms arjantijms self-assigned this May 5, 2022
@arjantijms
Copy link
Contributor

The path taken when the security manager is active didn't had the code updated. It is now as per:

#23932

Can you try again with the next nightly?

@arjantijms
Copy link
Contributor

arjantijms commented May 7, 2022

I ran the nightly against the 10/TCK job, and it seems to pass now:

JDK 11: https://ci.eclipse.org/jakartaee-tck/job/jakartaee-tck/job/master/1781/console
JDK 17: https://ci.eclipse.org/jakartaee-tck/job/jakartaee-tck/job/master/1782/console

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants