The connection to the server was reset. Server returned status Internal Server Error

Hi. I'm seeing this error frequently. Does anyone know what this is?


In service center i found this error in the same period:



Time of Log:

26/06/2020 09:12:10

eSpace:

SIPMED_AdmUsuario_Core

Tenant:

Users

User:

 (1438)

Session Id:

88ph35GZHEuwKb3nuFeUGQ==

Server:

a-fe-prod-outsystems

Module:


Message:

Error creating email. There must be at least one recipient.

Environment InformationeSpaceVer: 12 (Id=702, PubId=1188, CompiledWith=10.0.1016.0)
RequestUrl: https://sipmed.br/SIPMED_AdmUsuario_Core/NovoUsuario.jsf?_ts=1593173530351 (Method: POST)
ClassLoader: ModuleClassLoader for Module "deployment.SIPMED_AdmUsuario_Core.war:main" from Service Module Loader(1535403691)
FilePath: /SIPMED_AdmUsuario_Core/NovoUsuario.jsp
ClientIp: 10.166.66.107 X-Forwarded-For: 10.25.145.224
Locale: pt-BR
DateFormat: dd/MM/yyyy
PID: 2472 ('2472@a-fe-prod-outsystems', Started='17/06/20 00:54:12', Priv=4430Mb, Virt=10766Mb)
TID: 80
Thread Name: default task-5
JRE: 25.151-b12

Stack:

Error creating email. There must be at least one recipient.
java.lang.IllegalStateException: Error creating email. There must be at least one recipient.
at outsystems.hubedition.runtimeplatform.email.EmailProcessor.sendEmailRequest(Unknown Source)
at ossipmed_admusuario_core.managedbean.flowmainflow.ScrnNovoUsuario.commandSalvar(Unknown Source)
at ossipmed_admusuario_core.managedbean.flowmainflow.ScrnNovoUsuario.btnbtnSalvarClick(Unknown Source)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at com.sun.el.parser.AstValue.invoke(AstValue.java:292)
at com.sun.el.MethodExpressionImpl.invoke(MethodExpressionImpl.java:304)
at org.apache.jasper.el.JspMethodExpression.invoke(JspMethodExpression.java:68)
at outsystems.hubedition.webwidgets.uicomponent.utils.MethodExpressionEventListener.invokeAction(Unknown Source)
at outsystems.hubedition.webwidgets.ajaxEvents.MethodExpressionAjaxClickEventListener.processAjaxClickEvent(Unknown Source)
at outsystems.hubedition.webwidgets.ajaxEvents.AjaxClickEvent.processListener(Unknown Source)
at javax.faces.component.UIComponentBase.broadcast(UIComponentBase.java:813)
at outsystems.hubedition.webwidgets.uicomponent.os_controls.WebBlockInstanceComponent.broadcast(Unknown Source)
at javax.faces.component.UIViewRoot.broadcastEvents(UIViewRoot.java:790)
at javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:1282)
at com.sun.faces.lifecycle.InvokeApplicationPhase.execute(InvokeApplicationPhase.java:81)
at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:101)
at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:198)
at javax.faces.webapp.FacesServlet.service(FacesServlet.java:646)
at io.undertow.servlet.handlers.ServletHandler.handleRequest(ServletHandler.java:85)
at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:130)
at outsystems.hubedition.webwidgets.BaseRequestStartupFilter.doFilter(Unknown Source)
at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:60)
at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:132)
at outsystems.hubedition.webwidgets.filters.HttpContextFilter.doFilter(Unknown Source)
at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:60)
at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:132)
at outsystems.hubedition.webwidgets.filters.CacheControlFilter.doFilter(Unknown Source)
at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:60)
at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:132)
at io.undertow.servlet.handlers.FilterHandler.handleRequest(FilterHandler.java:85)
at io.undertow.servlet.handlers.security.ServletSecurityRoleHandler.handleRequest(ServletSecurityRoleHandler.java:61)
at io.undertow.servlet.handlers.ServletDispatchingHandler.handleRequest(ServletDispatchingHandler.java:36)
at org.wildfly.extension.undertow.security.SecurityContextAssociationHandler.handleRequest(SecurityContextAssociationHandler.java:78)
at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
at io.undertow.servlet.handlers.security.SSLInformationAssociationHandler.handleRequest(SSLInformationAssociationHandler.java:131)
at io.undertow.servlet.handlers.security.ServletAuthenticationCallHandler.handleRequest(ServletAuthenticationCallHandler.java:56)
at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
at io.undertow.security.handlers.AbstractConfidentialityHandler.handleRequest(AbstractConfidentialityHandler.java:46)
at io.undertow.servlet.handlers.security.ServletConfidentialityConstraintHandler.handleRequest(ServletConfidentialityConstraintHandler.java:63)
at io.undertow.security.handlers.AuthenticationMechanismsHandler.handleRequest(AuthenticationMechanismsHandler.java:58)
at io.undertow.servlet.handlers.security.CachedAuthenticatedSessionHandler.handleRequest(CachedAuthenticatedSessionHandler.java:70)
at io.undertow.security.handlers.SecurityInitialHandler.handleRequest(SecurityInitialHandler.java:76)
at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
at org.wildfly.extension.undertow.security.jacc.JACCContextIdHandler.handleRequest(JACCContextIdHandler.java:61)
at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
at io.undertow.servlet.handlers.ServletInitialHandler.handleFirstRequest(ServletInitialHandler.java:261)
at io.undertow.servlet.handlers.ServletInitialHandler.dispatchRequest(ServletInitialHandler.java:247)
at io.undertow.servlet.handlers.ServletInitialHandler.access$000(ServletInitialHandler.java:76)
at io.undertow.servlet.handlers.ServletInitialHandler$1.handleRequest(ServletInitialHandler.java:166)
at io.undertow.server.Connectors.executeRootHandler(Connectors.java:199)
at io.undertow.server.HttpServerExchange$1.run(HttpServerExchange.java:765)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
   at java.lang.Thread.run(Thread.java:748)


Thanks:

João Moretti

Hi João,


Looking to the error message, it is mentioning "There must be at least one recipient".

Have you debugged and see what is being passed on the field "To" of the email? It is mandatory and according to the error message not being filled.


Hope it helps.


Regards,

João

Hi, I don't have this customer information. I think these errors can be two different problems. I will pass this test to be done by them. 

Thanks.