Uploaded image for project: 'Lucee Development'
  1. LDEV-779

CFMAIL intermittently fails with exception java.lang.ThreadDeath

    Details

    • Type: Bug
    • Status: Deployed
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: 4.5.2.018
    • Fix Version/s: 5.1.1.55
    • Labels:
    • Environment:
      • Windows 2012 R2 64bit
      • Java 1.8
    • Sprint:
      January 2017 Release

      Description

      Not sure what triggers this, but twice in the last 2 months CFMAIL has suddenly stopped working on our production server: attempting to send mail from any application running on the Lucee instance results in a java.lang.ThreadDeath exception. Restarting Lucee fixes the issue.

      Full stack trace:

      "ERROR","ajp-nio-8009-exec-25","03/05/2016","12:08:48","",";java.lang.ThreadDeath;java.lang.ThreadDeath
      	at java.lang.Thread.stop(Thread.java:850):850
      	at lucee.commons.io.StopThread.run(SystemUtil.java:1091):1091
      	at lucee.runtime.exp.NativeException.<init>(NativeException.java:51):51
      	at lucee.runtime.op.Caster.toPageException(Caster.java:3046):3046
      	at lucee.runtime.type.UDFImpl._call(UDFImpl.java:338):338
      	at lucee.runtime.type.UDFImpl.call(UDFImpl.java:229):229
      	at lucee.runtime.type.scope.UndefinedImpl.call(UndefinedImpl.java:766):766
      	at lucee.runtime.util.VariableUtilImpl.callFunctionWithoutNamedValues(VariableUtilImpl.java:742):742
      	at lucee.runtime.PageContextImpl.getFunction(PageContextImpl.java:1590):1590
      	at errorhandler._20151002.errorhandler_cfc$cf.udfCall(PATH REDACTED):38
      	at lucee.runtime.type.UDFImpl.implementation(UDFImpl.java:111):111
      	at lucee.runtime.type.UDFImpl._call(UDFImpl.java:328):328
      	at lucee.runtime.type.UDFImpl.callWithNamedValues(UDFImpl.java:216):216
      	at lucee.runtime.ComponentImpl._call(ComponentImpl.java:643):643
      	at lucee.runtime.ComponentImpl._call(ComponentImpl.java:524):524
      	at lucee.runtime.ComponentImpl.callWithNamedValues(ComponentImpl.java:1778):1778
      	at lucee.runtime.functions.other._CreateComponent.call(_CreateComponent.java:67):67
      	at application_cfc$cf.udfCall(PATH REDACTED):118
      	at lucee.runtime.type.UDFImpl.implementation(UDFImpl.java:111):111
      	at lucee.runtime.type.UDFImpl._call(UDFImpl.java:328):328
      	at lucee.runtime.type.UDFImpl.call(UDFImpl.java:229):229
      	at lucee.runtime.ComponentImpl._call(ComponentImpl.java:642):642
      	at lucee.runtime.ComponentImpl._call(ComponentImpl.java:524):524
      	at lucee.runtime.ComponentImpl.call(ComponentImpl.java:1761):1761
      	at lucee.runtime.listener.ModernAppListener.call(ModernAppListener.java:405):405
      	at lucee.runtime.listener.ModernAppListener.onError(ModernAppListener.java:392):392
      	at lucee.runtime.PageContextImpl.execute(PageContextImpl.java:2273):2273
      	at lucee.runtime.PageContextImpl.execute(PageContextImpl.java:2225):2225
      	at lucee.runtime.engine.CFMLEngineImpl.serviceCFML(CFMLEngineImpl.java:456):456
      	at lucee.loader.servlet.CFMLServlet.service(CFMLServlet.java:47):47
      	at javax.servlet.http.HttpServlet.service(HttpServlet.java:729):729
      	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:291):291
      	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206):206
      	at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52):52
      	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239):239
      	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206):206
      	at sun.reflect.GeneratedMethodAccessor75.invoke(Unknown Source):-1
      	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43):43
      	at java.lang.reflect.Method.invoke(Method.java:497):497
      	at com.intergral.fusionreactor.j2ee.filterchain.WrappedFilterChain.doFilter(WrappedFilterChain.java:134):134
      	at com.intergral.fusionreactor.j2ee.filter.FusionReactorRequestHandler.doNext(FusionReactorRequestHandler.java:747):747
      	at com.intergral.fusionreactor.j2ee.filter.FusionReactorRequestHandler.doHttpServletRequest(FusionReactorRequestHandler.java:339):339
      	at com.intergral.fusionreactor.j2ee.filter.FusionReactorRequestHandler.doFusionRequest(FusionReactorRequestHandler.java:215):215
      	at com.intergral.fusionreactor.j2ee.filter.FusionReactorRequestHandler.handle(FusionReactorRequestHandler.java:784):784
      	at com.intergral.fusionreactor.j2ee.filter.FusionReactorCoreFilter.doFilter(FusionReactorCoreFilter.java:36):36
      	at sun.reflect.GeneratedMethodAccessor105.invoke(Unknown Source):-1
      	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43):43
      	at java.lang.reflect.Method.invoke(Method.java:497):497
      	at com.intergral.fusionreactor.j2ee.filterchain.WrappedFilterChain.doFilter(WrappedFilterChain.java:71):71
      	at sun.reflect.GeneratedMethodAccessor73.invoke(Unknown Source):-1
      	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43):43
      	at java.lang.reflect.Method.invoke(Method.java:497):497
      	at com.intergral.fusionreactor.agent.filter.FusionReactorStaticFilter.doFilter(FusionReactorStaticFilter.java:53):53
      	at com.intergral.fusionreactor.agent.pointcuts.NewFilterChainPointCut$1.invoke(NewFilterChainPointCut.java:41):41
      	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java):-1
      	at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:217):217
      	at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:106):106
      	at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:502):502
      	at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:142):142
      	at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:79):79
      	at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:88):88
      	at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:518):518
      	at org.apache.coyote.ajp.AbstractAjpProcessor.process(AbstractAjpProcessor.java:844):844
      	at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:673):673
      	at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1500):1500
      	at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:1456):1456
      	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142):1142
      	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617):617
      	at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61):61
      	at java.lang.Thread.run(Thread.java:745):745
      

        Attachments

          Activity

            People

            • Assignee:
              michaeloffner Michael Offner
              Reporter:
              julianhalliwell Julian Halliwell
            • Votes:
              1 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: