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]: quit() is getting null #32

Open
balraj1205 opened this issue Jan 3, 2024 · 0 comments
Open

[BUG]: quit() is getting null #32

balraj1205 opened this issue Jan 3, 2024 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@balraj1205
Copy link

Describe the bug

Error during handle Proxy Request. Message: Cannot invoke "com.epam.healenium.handlers.SelfHealingHandler.quit()" because the return value of "com.epam.healenium.healenium_proxy.model.SessionContext.getSelfHealingHandlerBase()" is null, Exception: {} java.lang.NullPointerException: Cannot invoke "com.epam.healenium.handlers.SelfHealingHandler.quit()" because the return value of "com.epam.healenium.healenium_proxy.model.SessionContext.getSelfHealingHandlerBase()" is null\n at com.epam.healenium.healenium_proxy.request.delete.HealeniumDeleteRequest.execute(HealeniumDeleteRequest.java:44)\n at com.epam.healenium.healenium_proxy.handler.HealeniumProxyHttpHandler.handleRequest(HealeniumProxyHttpHandler.java:37)\n at org.springframework.web.servlet.mvc.HttpRequestHandlerAdapter.handle(HttpRequestHandlerAdapter.java:52)\n at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:1072)\n at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:965)\n at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:1006)\n at org.springframework.web.servlet.FrameworkServlet.doDelete(FrameworkServlet.java:931)\n at javax.servlet.http.HttpServlet.service(HttpServlet.java:561)\n at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:883)\n at javax.servlet.http.HttpServlet.service(HttpServlet.java:623)\n at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:209)\n at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:153)\n at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:51)\n at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:178)\n at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:153)\n at org.springframework.web.filter.RequestContextFilter.doFilterInternal(RequestContextFilter.java:100)\n at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117)\n at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:178)\n at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:153)\n at org.springframework.web.filter.FormContentFilter.doFilterInternal(FormContentFilter.java:93)\n at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117)\n at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:178)\n at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:153)\n at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:201)\n at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117)\n at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:178)\n at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:153)\n at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:167)\n at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:90)\n at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:481)\n at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:130)\n at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:93)\n at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:74)\n at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:343)\n at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:390)\n at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:63)\n at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:926)\n at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1791)\n at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:52)\n at org.apache.tomcat.util.threads.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1191)\n at org.apache.tomcat.util.threads.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:659)\n at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)\n at java.base/java.lang.Thread.run(Thread.java:833)\n

How to reproduce the issue

Error during handle Proxy Request. Message: Cannot invoke "com.epam.healenium.handlers.SelfHealingHandler.quit()" because the return value of "com.epam.healenium.healenium_proxy.model.SessionContext.getSelfHealingHandlerBase()" is null, Exception: {} java.lang.NullPointerException: Cannot invoke "com.epam.healenium.handlers.SelfHealingHandler.quit()" because the return value of "com.epam.healenium.healenium_proxy.model.SessionContext.getSelfHealingHandlerBase()" is null\n         at com.epam.healenium.healenium_proxy.request.delete.HealeniumDeleteRequest.execute(HealeniumDeleteRequest.java:44)\n     at com.epam.healenium.healenium_proxy.handler.HealeniumProxyHttpHandler.handleRequest(HealeniumProxyHttpHandler.java:37)\n        at org.springframework.web.servlet.mvc.HttpRequestHandlerAdapter.handle(HttpRequestHandlerAdapter.java:52)\n    at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:1072)\n    at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:965)\n    at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:1006)\n  at org.springframework.web.servlet.FrameworkServlet.doDelete(FrameworkServlet.java:931)\n       at javax.servlet.http.HttpServlet.service(HttpServlet.java:561)\n         at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:883)\n        at javax.servlet.http.HttpServlet.service(HttpServlet.java:623)\n         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:209)\n    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:153)\n  at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:51)\n       at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:178)\n  at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:153)\n    at org.springframework.web.filter.RequestContextFilter.doFilterInternal(RequestContextFilter.java:100)\n        at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117)\n  at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:178)\n    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:153)\n  at org.springframework.web.filter.FormContentFilter.doFilterInternal(FormContentFilter.java:93)\n         at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117)\n        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:178)\n    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:153)\n    at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:201)\n  at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117)\n  at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:178)\n  at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:153)\n    at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:167)\n  at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:90)\n         at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:481)\n       at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:130)\n      at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:93)\n         at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:74)\n   at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:343)\n  at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:390)\n         at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:63)\n     at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:926)\n    at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1791)\n  at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:52)\n    at org.apache.tomcat.util.threads.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1191)\n    at org.apache.tomcat.util.threads.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:659)\n    at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)\n         at java.base/java.lang.Thread.run(Thread.java:833)\n

Logs appeared during using Healenium

Error during handle Proxy Request. Message: Cannot invoke "com.epam.healenium.handlers.SelfHealingHandler.quit()" because the return value of "com.epam.healenium.healenium_proxy.model.SessionContext.getSelfHealingHandlerBase()" is null, Exception: {} java.lang.NullPointerException: Cannot invoke "com.epam.healenium.handlers.SelfHealingHandler.quit()" because the return value of "com.epam.healenium.healenium_proxy.model.SessionContext.getSelfHealingHandlerBase()" is null\n         at com.epam.healenium.healenium_proxy.request.delete.HealeniumDeleteRequest.execute(HealeniumDeleteRequest.java:44)\n     at com.epam.healenium.healenium_proxy.handler.HealeniumProxyHttpHandler.handleRequest(HealeniumProxyHttpHandler.java:37)\n        at org.springframework.web.servlet.mvc.HttpRequestHandlerAdapter.handle(HttpRequestHandlerAdapter.java:52)\n    at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:1072)\n    at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:965)\n    at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:1006)\n  at org.springframework.web.servlet.FrameworkServlet.doDelete(FrameworkServlet.java:931)\n       at javax.servlet.http.HttpServlet.service(HttpServlet.java:561)\n         at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:883)\n        at javax.servlet.http.HttpServlet.service(HttpServlet.java:623)\n         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:209)\n    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:153)\n  at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:51)\n       at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:178)\n  at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:153)\n    at org.springframework.web.filter.RequestContextFilter.doFilterInternal(RequestContextFilter.java:100)\n        at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117)\n  at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:178)\n    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:153)\n  at org.springframework.web.filter.FormContentFilter.doFilterInternal(FormContentFilter.java:93)\n         at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117)\n        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:178)\n    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:153)\n    at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:201)\n  at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117)\n  at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:178)\n  at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:153)\n    at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:167)\n  at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:90)\n         at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:481)\n       at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:130)\n      at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:93)\n         at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:74)\n   at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:343)\n  at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:390)\n         at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:63)\n     at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:926)\n    at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1791)\n  at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:52)\n    at org.apache.tomcat.util.threads.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1191)\n    at org.apache.tomcat.util.threads.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:659)\n    at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)\n         at java.base/java.lang.Thread.run(Thread.java:833)\n

Expected behavior

No response

Actual behavior

No response

Healenium Backend version

3.4.1

Selenium version

wdio

Platform

WDIO javascript

Additional context

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants