javax.mail.AuthenticationFailedException: [ALERT] Invalid credentials (Failure)

Google Groups | pinocent | 7 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

    Invalid credentials (Failure)

    Google Groups | 7 years ago | pinocent
    javax.mail.AuthenticationFailedException: [ALERT] Invalid credentials (Failure)
  2. Speed up your debug routine!

    Automated exception search integrated into your IDE

  3. 0

    Unable to connect to gmail using IMAP

    Stack Overflow | 3 years ago | KodeSeeker
    javax.mail.AuthenticationFailedException: [ALERT] Invalid credentials (Failure)
  4. 0

    GMail OAuth authentication. Am I retreving the OAuth token correctly?

    Stack Overflow | 3 years ago | KodeSeeker
    javax.mail.AuthenticationFailedException: [ALERT] Invalid credentials (Failure)
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. javax.mail.AuthenticationFailedException

    [ALERT] Invalid credentials (Failure)

    at com.sun.mail.imap.IMAPStore.protocolConnect()
  2. JavaMail API (compat)
    IMAPStore.protocolConnect
    1. com.sun.mail.imap.IMAPStore.protocolConnect(IMAPStore.java:566)
    1 frame
  3. JavaMail API
    Service.connect
    1. javax.mail.Service.connect(Service.java:291)
    1 frame
  4. com.srinivas.oauth2
    OAuth2Authenticator.connectToImap
    1. com.srinivas.oauth2.OAuth2Authenticator.connectToImap(OAuth2Authenticator.java:91)
    1 frame
  5. com.srinivas.web
    OAuth2CallBk.doGet
    1. com.srinivas.web.OAuth2CallBk.processGmail(OAuth2CallBk.java:68)
    2. com.srinivas.web.OAuth2CallBk.doPost(OAuth2CallBk.java:54)
    3. com.srinivas.web.OAuth2CallBk.doGet(OAuth2CallBk.java:36)
    3 frames
  6. JavaServlet
    HttpServlet.service
    1. javax.servlet.http.HttpServlet.service(HttpServlet.java:621)
    2. javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
    2 frames
  7. Glassfish Core
    CoyoteAdapter.service
    1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
    2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
    3. org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:225)
    4. org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:123)
    5. org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:472)
    6. org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:168)
    7. org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:98)
    8. org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:927)
    9. org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
    10. org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:407)
    10 frames
  8. Grizzly HTTP
    AprEndpoint$SocketProcessor.run
    1. org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1001)
    2. org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:585)
    3. org.apache.tomcat.util.net.AprEndpoint$SocketProcessor.run(AprEndpoint.java:1770)
    3 frames
  9. Java RT
    Thread.run
    1. java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
    2. java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
    3. java.lang.Thread.run(Unknown Source)[OAuth2CallBk-doPost]
    3 frames