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

Bug Report: NullPointerException in Payara 6.2024.11 / FISH-10136 #7077

Closed
ctabin opened this issue Nov 20, 2024 · 5 comments
Closed

Bug Report: NullPointerException in Payara 6.2024.11 / FISH-10136 #7077

ctabin opened this issue Nov 20, 2024 · 5 comments
Assignees
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

Comments

@ctabin
Copy link
Contributor

ctabin commented Nov 20, 2024

Brief Summary

Hello,

During the bootstrap of the server, the following WARNING is displayed in the logs:

WARNING: Error clearing BeanELResolver cache
java.lang.NullPointerException: Cannot invoke "java.lang.reflect.Field.get(Object)" because the return value of "org.glassfish.web.loader.CachingReflectionUtil.getFieldFromCache(java.lang.Class, String, boolean)" is null
        at org.glassfish.web.loader.WebappClassLoader.clearBeanResolver(WebappClassLoader.java:2677)
        at org.glassfish.web.loader.WebappClassLoader.clearBeanELResolverCache(WebappClassLoader.java:2666)
        at org.glassfish.web.loader.WebappClassLoader.stop(WebappClassLoader.java:2054)
        at org.glassfish.web.loader.WebappClassLoader.preDestroy(WebappClassLoader.java:2017)
        at org.glassfish.deployment.common.DeploymentContextImpl.getClassLoader(DeploymentContextImpl.java:293)
        at org.glassfish.deployment.common.DeploymentContextImpl.getClassLoader(DeploymentContextImpl.java:235)
        at com.sun.enterprise.v3.server.ApplicationLifecycle.prepare(ApplicationLifecycle.java:571)
        at org.glassfish.deployment.admin.DeployCommand.execute(DeployCommand.java:570)
        at com.sun.enterprise.v3.admin.CommandRunnerImpl$2$1.run(CommandRunnerImpl.java:556)
        at com.sun.enterprise.v3.admin.CommandRunnerImpl$2$1.run(CommandRunnerImpl.java:552)
        at java.base/java.security.AccessController.doPrivileged(AccessController.java:400)
        at java.base/javax.security.auth.Subject.doAs(Subject.java:453)
        at com.sun.enterprise.v3.admin.CommandRunnerImpl$2.execute(CommandRunnerImpl.java:551)
        at com.sun.enterprise.v3.admin.CommandRunnerImpl$3.run(CommandRunnerImpl.java:582)
        at com.sun.enterprise.v3.admin.CommandRunnerImpl$3.run(CommandRunnerImpl.java:574)
        at java.base/java.security.AccessController.doPrivileged(AccessController.java:400)
        at java.base/javax.security.auth.Subject.doAs(Subject.java:453)
        at com.sun.enterprise.v3.admin.CommandRunnerImpl.doCommand(CommandRunnerImpl.java:573)
        at com.sun.enterprise.v3.admin.CommandRunnerImpl.doCommand(CommandRunnerImpl.java:1497)
        at com.sun.enterprise.v3.admin.CommandRunnerImpl$ExecutionContext.execute(CommandRunnerImpl.java:1879)
        at com.sun.enterprise.v3.admin.CommandRunnerImpl$ExecutionContext.execute(CommandRunnerImpl.java:1755)
        at com.sun.enterprise.admin.cli.embeddable.DeployerImpl.deploy(DeployerImpl.java:131)
        at ch.saierp.sainet.embedded.server.SAINetServer.deployMobile(SAINetServer.java:2130)
        at ch.saierp.sainet.embedded.server.SAINetServer.start(SAINetServer.java:2082)
        at ch.saierp.sainet.embedded.server.cli.SAINetServerMain.lambda$startServer$27(SAINetServerMain.java:1288)
        at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:317)
        at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1144)
        at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:642)
        at java.base/java.lang.Thread.run(Thread.java:1583)

This was not present in version 6.2024.10 and previous.

Expected Outcome

No warning log.

Current Outcome

A warning stacktrace during the bootstrap of the server.

Reproducer

Start an instance with payara-embedded-all.

Operating System

Linux Debian 12

JDK Version

JDK 21

Payara Distribution

Payara Embedded All

@ctabin ctabin added Status: Open Issue has been triaged by the front-line engineers and is being worked on verification Type: Bug Label issue as a bug defect labels Nov 20, 2024
@lprimak
Copy link
Contributor

lprimak commented Nov 20, 2024

This is most likely related to Faces or EL component upgrades. I’ll take a look as I can.

@lprimak
Copy link
Contributor

lprimak commented Nov 21, 2024

Fixed by #7065

@Elifzeynepedman
Copy link

Hi @ctabin,

This issue has been acknowledged and escalated to the platform development team as FISH-10136.

Thank you,
Elif

@Elifzeynepedman Elifzeynepedman changed the title Bug Report: NullPointerException in Payara 6.2024.11 Bug Report: NullPointerException in Payara 6.2024.11 / FISH-10136 Nov 26, 2024
@Elifzeynepedman Elifzeynepedman added Status: Accepted Confirmed defect or accepted improvement to implement, issue has been escalated to Platform Dev and removed Status: Open Issue has been triaged by the front-line engineers and is being worked on verification labels Nov 26, 2024
@lprimak
Copy link
Contributor

lprimak commented Nov 28, 2024

This can now be closed

@ctabin
Copy link
Contributor Author

ctabin commented Nov 28, 2024

@lprimak Thank you very much !

@ctabin ctabin closed this as completed Nov 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
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
Projects
None yet
Development

No branches or pull requests

3 participants