atg.userprofiling.email.TemplateEmailException: Page http://localhost:7103/dyn/dyn/email/sampleMail.jsp;jsessionid=MqVxsc2RgYrHAuSSvGY0NCiFWglii1Aqa_SnzMeTiKBL8DYz5lAG!-238501276!1475081260433?_templateEmailRequest&pushSite=null was not rendered correctly. Return code is 404 (Not Found). Check to make sure that the path is valid and that the page contains no errors.

Oracle Community | Aymen Kanzari | 6 months ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    NullPointerException sending email

    Oracle Community | 6 months ago | Aymen Kanzari
    atg.userprofiling.email.TemplateEmailException: Page http://localhost:7103/dyn/dyn/email/sampleMail.jsp;jsessionid=MqVxsc2RgYrHAuSSvGY0NCiFWglii1Aqa_SnzMeTiKBL8DYz5lAG!-238501276!1475081260433?_templateEmailRequest&pushSite=null was not rendered correctly. Return code is 404 (Not Found). Check to make sure that the path is valid and that the page contains no errors.

    Root Cause Analysis

    1. atg.userprofiling.email.TemplateEmailException

      Page http://localhost:7103/dyn/dyn/email/sampleMail.jsp;jsessionid=MqVxsc2RgYrHAuSSvGY0NCiFWglii1Aqa_SnzMeTiKBL8DYz5lAG!-238501276!1475081260433?_templateEmailRequest&pushSite=null was not rendered correctly. Return code is 404 (Not Found). Check to make sure that the path is valid and that the page contains no errors.

      at atg.userprofiling.email.TemplateInvoker.verifyResponseStatus()
    2. atg.userprofiling.email
      EmailS.handleSendEmailMethod
      1. atg.userprofiling.email.TemplateInvoker.verifyResponseStatus(TemplateInvoker.java:1349)
      2. atg.userprofiling.email.TemplateInvoker$TemplateSession.renderTemplate(TemplateInvoker.java:1201)
      3. atg.userprofiling.email.TemplateEmailSender.createMessage(TemplateEmailSender.java:2522)
      4. atg.userprofiling.email.TemplateEmailSender.doSendEmailMessage(TemplateEmailSender.java:1941)
      5. atg.userprofiling.email.TemplateEmailSender.sendEmailMessage(TemplateEmailSender.java:1763)
      6. atg.userprofiling.email.TemplateEmailSender.sendEmailMessage(TemplateEmailSender.java:1812)
      7. atg.userprofiling.email.TemplateEmailSender.sendEmailMessage(TemplateEmailSender.java:1781)
      8. atg.userprofiling.email.ExampleEmailSender.sendEmail(ExampleEmailSender.java:13)
      9. atg.userprofiling.email.EmailS.handleSendEmailMethod(EmailS.java:20)
      9 frames
    3. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      4. java.lang.reflect.Method.invoke(Method.java:498)
      4 frames
    4. atg.droplet
      DropletEventServlet.service
      1. atg.droplet.EventSender.sendEvent(EventSender.java:664)
      2. atg.droplet.FormTag.doSendEvents(FormTag.java:843)
      3. atg.droplet.FormTag.sendEvents(FormTag.java:689)
      4. atg.droplet.DropletEventServlet.sendEvents(DropletEventServlet.java:653)
      5. atg.droplet.DropletEventServlet.service(DropletEventServlet.java:681)
      5 frames
    5. atg.servlet.pipeline
      PipelineableServletImpl.passRequest
      1. atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:157)
      1 frame
    6. atg.commerce.order
      CommerceCommandServlet.service
      1. atg.commerce.order.CommerceCommandServlet.service(CommerceCommandServlet.java:150)
      1 frame
    7. atg.servlet.pipeline
      PipelineableServletImpl.passRequest
      1. atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:157)
      1 frame
    8. atg.commerce.promotion
      PromotionServlet.service
      1. atg.commerce.promotion.PromotionServlet.service(PromotionServlet.java:213)
      1 frame
    9. atg.servlet.pipeline
      PipelineableServletImpl.passRequest
      1. atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:157)
      1 frame
    10. atg.userprofiling
      AccessControlServlet.service
      1. atg.userprofiling.AccessControlServlet.service(AccessControlServlet.java:728)
      1 frame
    11. atg.servlet.pipeline
      PipelineableServletImpl.passRequest
      1. atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:157)
      1 frame
    12. atg.servlet.sessionsaver
      SessionSaverServlet.service
      1. atg.servlet.sessionsaver.SessionSaverServlet.service(SessionSaverServlet.java:2452)
      1 frame
    13. atg.servlet.pipeline
      PipelineableServletImpl.passRequest
      1. atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:157)
      1 frame
    14. atg.userprofiling
      PageEventTriggerPipelineServlet.service
      1. atg.userprofiling.PageEventTriggerPipelineServlet.service(PageEventTriggerPipelineServlet.java:191)
      1 frame
    15. atg.servlet.pipeline
      PipelineableServletImpl.passRequest
      1. atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:157)
      1 frame
    16. atg.multisite
      SiteSessionEventTriggerPipelineServlet.service
      1. atg.multisite.SiteSessionEventTriggerPipelineServlet.service(SiteSessionEventTriggerPipelineServlet.java:161)
      1 frame
    17. atg.servlet.pipeline
      PipelineableServletImpl.passRequest
      1. atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:157)
      1 frame
    18. atg.userprofiling
      SessionEventTrigger.service
      1. atg.userprofiling.SessionEventTrigger.service(SessionEventTrigger.java:512)
      1 frame
    19. atg.servlet.pipeline
      PipelineableServletImpl.passRequest
      1. atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:157)
      1 frame
    20. atg.userprofiling
      ProfilePropertyServlet.service
      1. atg.userprofiling.ProfilePropertyServlet.service(ProfilePropertyServlet.java:230)
      1 frame
    21. atg.servlet.pipeline
      PipelineableServletImpl.passRequest
      1. atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:157)
      1 frame
    22. atg.userprofiling
      ProfileRequestServlet.service
      1. atg.userprofiling.ProfileRequestServlet.service(ProfileRequestServlet.java:461)
      1 frame
    23. atg.servlet.pipeline
      PipelineableServletImpl.passRequest
      1. atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:157)
      2. atg.servlet.pipeline.DynamoPipelineServlet.service(DynamoPipelineServlet.java:491)
      3. atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:157)
      4. atg.servlet.pipeline.URLArgumentPipelineServlet.service(URLArgumentPipelineServlet.java:298)
      5. atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:157)
      6. atg.servlet.pipeline.PathAuthenticationPipelineServlet.service(PathAuthenticationPipelineServlet.java:392)
      7. atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:157)
      7 frames
    24. atg.servlet.security
      ThreadUserBinderServlet.service
      1. atg.servlet.security.ThreadUserBinderServlet.service(ThreadUserBinderServlet.java:113)
      1 frame
    25. atg.servlet.pipeline
      PipelineableServletImpl.passRequest
      1. atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:157)
      1 frame
    26. atg.dtm
      TransactionPipelineServlet.service
      1. atg.dtm.TransactionPipelineServlet.service(TransactionPipelineServlet.java:234)
      1 frame
    27. atg.servlet.pipeline
      PipelineableServletImpl.passRequest
      1. atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:157)
      2. atg.servlet.pipeline.SecurityServlet.service(SecurityServlet.java:200)
      3. atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:157)
      3 frames
    28. atg.multisite
      SiteContextPipelineServlet.service
      1. atg.multisite.SiteContextPipelineServlet.service(SiteContextPipelineServlet.java:441)
      1 frame
    29. atg.servlet.pipeline
      PipelineableServletImpl.service
      1. atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:157)
      2. atg.servlet.pipeline.HeadPipelineServlet.passRequest(HeadPipelineServlet.java:1294)
      3. atg.servlet.pipeline.HeadPipelineServlet.service(HeadPipelineServlet.java:963)
      4. atg.servlet.pipeline.PipelineableServletImpl.service(PipelineableServletImpl.java:272)
      4 frames
    30. atg.filter.dspjsp
      PageFilter.doFilter
      1. atg.filter.dspjsp.PageFilter.innerDoFilter(PageFilter.java:348)
      2. atg.filter.dspjsp.PageFilter.doFilter(PageFilter.java:206)
      2 frames
    31. Atmosphere weblogic
      WebAppServletContext$ServletInvocationAction.run
      1. weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:79)
      2. weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3436)
      3. weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.__run(WebAppServletContext.java:3402)
      4. weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java)
      4 frames
    32. weblogic.security.acl
      AuthenticatedSubject.doAs
      1. weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
      1 frame
    33. weblogic.security.service
      SecurityManager.runAs
      1. weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
      1 frame
    34. weblogic.servlet.provider
      WlsSubjectHandle.run
      1. weblogic.servlet.provider.WlsSubjectHandle.run(WlsSubjectHandle.java:57)
      1 frame
    35. Atmosphere weblogic
      ServletRequestImpl.run
      1. weblogic.servlet.internal.WebAppServletContext.doSecuredExecute(WebAppServletContext.java:2285)
      2. weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2201)
      3. weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2179)
      4. weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1572)
      4 frames
    36. weblogic.servlet.provider
      ContainerSupportProviderImpl$WlsRequestExecutor.run
      1. weblogic.servlet.provider.ContainerSupportProviderImpl$WlsRequestExecutor.run(ContainerSupportProviderImpl.java:255)
      1 frame
    37. weblogic.work
      ExecuteThread.run
      1. weblogic.work.ExecuteThread.execute(ExecuteThread.java:311)
      2. weblogic.work.ExecuteThread.run(ExecuteThread.java:263)
      2 frames