org.jasig.portlet.emailpreview.exception.MailAuthenticationException: javax.mail.AuthenticationFailedException

Apereo Issues | chao jiang | 6 years ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    When first time add the portlet or login detail is not configured correctly, system prints out full stacktrace of AuthenticationFailedException, which seems unnecessary. =================================== org.jasig.portlet.emailpreview.exception.MailAuthenticationException: javax.mail.AuthenticationFailedException at org.jasig.portlet.emailpreview.dao.impl.EmailAccountDaoImpl.getUserInbox(EmailAccountDaoImpl.java:247) at org.jasig.portlet.emailpreview.dao.impl.EmailAccountDaoImpl.fetchAccountInfoFromStore(EmailAccountDaoImpl.java:152) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307) at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149) at com.googlecode.ehcache.annotations.impl.CacheAttributeSourceImpl$ThreadLocalCacheEntryFactory.createEntry(CacheAttributeSourceImpl.java:521) at net.sf.ehcache.constructs.blocking.SelfPopulatingCache.get(SelfPopulatingCache.java:73) at net.sf.ehcache.constructs.blocking.BlockingCache.get(BlockingCache.java:590) at com.googlecode.ehcache.annotations.interceptor.EhCacheInterceptor.invokeSelfPopulatingCacheable(EhCacheInterceptor.java:160) at com.googlecode.ehcache.annotations.interceptor.EhCacheInterceptor.invokeCacheable(EhCacheInterceptor.java:114) at com.googlecode.ehcache.annotations.interceptor.EhCacheInterceptor.invoke(EhCacheInterceptor.java:77) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204) at $Proxy96.fetchAccountInfoFromStore(Unknown Source) at org.jasig.portlet.emailpreview.controller.EmailAccountSummaryController.getAccountInfo(EmailAccountSummaryController.java:168) at org.jasig.portlet.emailpreview.controller.EmailAccountSummaryController.getAccountSummary(EmailAccountSummaryController.java:137) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.springframework.web.bind.annotation.support.HandlerMethodInvoker.doInvokeMethod(HandlerMethodInvoker.java:421) at org.springframework.web.bind.annotation.support.HandlerMethodInvoker.invokeHandlerMethod(HandlerMethodInvoker.java:136) at org.springframework.web.portlet.mvc.annotation.AnnotationMethodHandlerAdapter.invokeHandlerMethod(AnnotationMethodHandlerAdapter.java:271) at org.springframework.web.portlet.mvc.annotation.AnnotationMethodHandlerAdapter.doHandle(AnnotationMethodHandlerAdapter.java:259) at org.springframework.web.portlet.mvc.annotation.AnnotationMethodHandlerAdapter.handleAction(AnnotationMethodHandlerAdapter.java:210) at org.springframework.web.portlet.DispatcherPortlet.doActionService(DispatcherPortlet.java:694) at org.springframework.web.portlet.FrameworkPortlet.processRequest(FrameworkPortlet.java:480) at org.springframework.web.portlet.FrameworkPortlet.processAction(FrameworkPortlet.java:462) at org.apache.pluto.core.PortletServlet.dispatch(PortletServlet.java:218) at org.apache.pluto.core.PortletServlet.doPost(PortletServlet.java:145) at javax.servlet.http.HttpServlet.service(HttpServlet.java:637) ......

    Apereo Issues | 6 years ago | chao jiang
    org.jasig.portlet.emailpreview.exception.MailAuthenticationException: javax.mail.AuthenticationFailedException
  2. 0

    When first time add the portlet or login detail is not configured correctly, system prints out full stacktrace of AuthenticationFailedException, which seems unnecessary. =================================== org.jasig.portlet.emailpreview.exception.MailAuthenticationException: javax.mail.AuthenticationFailedException at org.jasig.portlet.emailpreview.dao.impl.EmailAccountDaoImpl.getUserInbox(EmailAccountDaoImpl.java:247) at org.jasig.portlet.emailpreview.dao.impl.EmailAccountDaoImpl.fetchAccountInfoFromStore(EmailAccountDaoImpl.java:152) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307) at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149) at com.googlecode.ehcache.annotations.impl.CacheAttributeSourceImpl$ThreadLocalCacheEntryFactory.createEntry(CacheAttributeSourceImpl.java:521) at net.sf.ehcache.constructs.blocking.SelfPopulatingCache.get(SelfPopulatingCache.java:73) at net.sf.ehcache.constructs.blocking.BlockingCache.get(BlockingCache.java:590) at com.googlecode.ehcache.annotations.interceptor.EhCacheInterceptor.invokeSelfPopulatingCacheable(EhCacheInterceptor.java:160) at com.googlecode.ehcache.annotations.interceptor.EhCacheInterceptor.invokeCacheable(EhCacheInterceptor.java:114) at com.googlecode.ehcache.annotations.interceptor.EhCacheInterceptor.invoke(EhCacheInterceptor.java:77) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204) at $Proxy96.fetchAccountInfoFromStore(Unknown Source) at org.jasig.portlet.emailpreview.controller.EmailAccountSummaryController.getAccountInfo(EmailAccountSummaryController.java:168) at org.jasig.portlet.emailpreview.controller.EmailAccountSummaryController.getAccountSummary(EmailAccountSummaryController.java:137) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.springframework.web.bind.annotation.support.HandlerMethodInvoker.doInvokeMethod(HandlerMethodInvoker.java:421) at org.springframework.web.bind.annotation.support.HandlerMethodInvoker.invokeHandlerMethod(HandlerMethodInvoker.java:136) at org.springframework.web.portlet.mvc.annotation.AnnotationMethodHandlerAdapter.invokeHandlerMethod(AnnotationMethodHandlerAdapter.java:271) at org.springframework.web.portlet.mvc.annotation.AnnotationMethodHandlerAdapter.doHandle(AnnotationMethodHandlerAdapter.java:259) at org.springframework.web.portlet.mvc.annotation.AnnotationMethodHandlerAdapter.handleAction(AnnotationMethodHandlerAdapter.java:210) at org.springframework.web.portlet.DispatcherPortlet.doActionService(DispatcherPortlet.java:694) at org.springframework.web.portlet.FrameworkPortlet.processRequest(FrameworkPortlet.java:480) at org.springframework.web.portlet.FrameworkPortlet.processAction(FrameworkPortlet.java:462) at org.apache.pluto.core.PortletServlet.dispatch(PortletServlet.java:218) at org.apache.pluto.core.PortletServlet.doPost(PortletServlet.java:145) at javax.servlet.http.HttpServlet.service(HttpServlet.java:637) ......

    Apereo Issues | 6 years ago | chao jiang
    org.jasig.portlet.emailpreview.exception.MailAuthenticationException: javax.mail.AuthenticationFailedException

    Root Cause Analysis

    1. org.jasig.portlet.emailpreview.exception.MailAuthenticationException

      javax.mail.AuthenticationFailedException

      at org.jasig.portlet.emailpreview.dao.impl.EmailAccountDaoImpl.getUserInbox()
    2. org.jasig.portlet
      EmailAccountDaoImpl.fetchAccountInfoFromStore
      1. org.jasig.portlet.emailpreview.dao.impl.EmailAccountDaoImpl.getUserInbox(EmailAccountDaoImpl.java:247)
      2. org.jasig.portlet.emailpreview.dao.impl.EmailAccountDaoImpl.fetchAccountInfoFromStore(EmailAccountDaoImpl.java:152)
      2 frames
    3. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      4. java.lang.reflect.Method.invoke(Method.java:597)
      4 frames
    4. Spring AOP
      ReflectiveMethodInvocation.proceed
      1. org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307)
      2. org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182)
      3. org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149)
      3 frames
    5. com.googlecode.ehcache
      CacheAttributeSourceImpl$ThreadLocalCacheEntryFactory.createEntry
      1. com.googlecode.ehcache.annotations.impl.CacheAttributeSourceImpl$ThreadLocalCacheEntryFactory.createEntry(CacheAttributeSourceImpl.java:521)
      1 frame
    6. Ehcache
      BlockingCache.get
      1. net.sf.ehcache.constructs.blocking.SelfPopulatingCache.get(SelfPopulatingCache.java:73)
      2. net.sf.ehcache.constructs.blocking.BlockingCache.get(BlockingCache.java:590)
      2 frames
    7. com.googlecode.ehcache
      EhCacheInterceptor.invoke
      1. com.googlecode.ehcache.annotations.interceptor.EhCacheInterceptor.invokeSelfPopulatingCacheable(EhCacheInterceptor.java:160)
      2. com.googlecode.ehcache.annotations.interceptor.EhCacheInterceptor.invokeCacheable(EhCacheInterceptor.java:114)
      3. com.googlecode.ehcache.annotations.interceptor.EhCacheInterceptor.invoke(EhCacheInterceptor.java:77)
      3 frames
    8. Spring AOP
      JdkDynamicAopProxy.invoke
      1. org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
      2. org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
      2 frames
    9. Unknown
      $Proxy96.fetchAccountInfoFromStore
      1. $Proxy96.fetchAccountInfoFromStore(Unknown Source)
      1 frame
    10. org.jasig.portlet
      EmailAccountSummaryController.getAccountSummary
      1. org.jasig.portlet.emailpreview.controller.EmailAccountSummaryController.getAccountInfo(EmailAccountSummaryController.java:168)
      2. org.jasig.portlet.emailpreview.controller.EmailAccountSummaryController.getAccountSummary(EmailAccountSummaryController.java:137)
      2 frames
    11. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      4. java.lang.reflect.Method.invoke(Method.java:597)
      4 frames
    12. Spring
      HandlerMethodInvoker.invokeHandlerMethod
      1. org.springframework.web.bind.annotation.support.HandlerMethodInvoker.doInvokeMethod(HandlerMethodInvoker.java:421)
      2. org.springframework.web.bind.annotation.support.HandlerMethodInvoker.invokeHandlerMethod(HandlerMethodInvoker.java:136)
      2 frames
    13. Spring Web Portlet
      FrameworkPortlet.processAction
      1. org.springframework.web.portlet.mvc.annotation.AnnotationMethodHandlerAdapter.invokeHandlerMethod(AnnotationMethodHandlerAdapter.java:271)
      2. org.springframework.web.portlet.mvc.annotation.AnnotationMethodHandlerAdapter.doHandle(AnnotationMethodHandlerAdapter.java:259)
      3. org.springframework.web.portlet.mvc.annotation.AnnotationMethodHandlerAdapter.handleAction(AnnotationMethodHandlerAdapter.java:210)
      4. org.springframework.web.portlet.DispatcherPortlet.doActionService(DispatcherPortlet.java:694)
      5. org.springframework.web.portlet.FrameworkPortlet.processRequest(FrameworkPortlet.java:480)
      6. org.springframework.web.portlet.FrameworkPortlet.processAction(FrameworkPortlet.java:462)
      6 frames
    14. Pluto Portlet Container
      PortletServlet.doPost
      1. org.apache.pluto.core.PortletServlet.dispatch(PortletServlet.java:218)
      2. org.apache.pluto.core.PortletServlet.doPost(PortletServlet.java:145)
      2 frames
    15. JavaServlet
      HttpServlet.service
      1. javax.servlet.http.HttpServlet.service(HttpServlet.java:637)
      1 frame