javax.mail.NoSuchProviderException: Invalid protocol: null 20:03:19,701 ERROR (http-/127.0.0.1:8080-1) at javax.mail.Session.getProvider(Session.java:440) 20:03:19,702 ERROR (http-/127.0.0.1:8080-1) at javax.mail.Session.getStore(Session.java:539) 20:03:19,702 ERROR (http-/127.0.0.1:8080-1) at javax.mail.Session.getStore(Session.java:519) 20:03:19,703 ERROR (http-/127.0.0.1:8080-1) at javax.mail.Session.getStore(Session.java:505) 20:03:19,703 ERROR (http-/127.0.0.1:8080-1) at org.jboss.as.quickstarts.mail.Email.poll(Email.java:96) 20:03:19,703 ERROR (http-/127.0.0.1:8080-1) at org.jboss.as.quickstarts.mail.Email$Proxy$ $$_WeldClientProxy.java) 20:03:19,704 ERROR (http-/127.0.0.1:8080-1) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 20:03:19,704 ERROR (http-/127.0.0.1:8080-1) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) 20:03:19,704 ERROR (http-/127.0.0.1:8080-1) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) 20:03:19,704 ERROR (http-/127.0.0.1:8080-1) at java.lang.reflect.Method.invoke(Method.java:601) 20:03:19,705 ERROR (http-/127.0.0.1:8080-1) at javax.el.BeanELResolver.invokeMethod(BeanELResolver.java:735) 20:03:19,705 ERROR (http-/127.0.0.1:8080-1) at javax.el.BeanELResolver.invoke(BeanELResolver.java:467) 20:03:19,705 ERROR (http-/127.0.0.1:8080-1) at javax.el.CompositeELResolver.invoke(CompositeELResolver.java:246) 20:03:19,705 ERROR (http-/127.0.0.1:8080-1) at org.apache.el.parser.AstValue.getValue(AstValue.java:159) 20:03:19,706 ERROR (http-/127.0.0.1:8080-1) at org.apache.el.ValueExpressionImpl.getValue(ValueExpressionImpl.java:189) 20:03:19,706 ERROR (http-/127.0.0.1:8080-1) at org.jboss.weld.el.WeldValueExpression.getValue(WeldValueExpression.java:50) 20:03:19,706 ERROR (http-/127.0.0.1:8080-1) at com.sun.faces.facelets.el.TagValueExpression.getValue(TagValueExpression.java:109) 20:03:19,706 ERROR (http-/127.0.0.1:8080-1) at javax.faces.component.ComponentStateHelper.eval(ComponentStateHelper.java:194) 20:03:19,707 ERROR (http-/127.0.0.1:8080-1) at javax.faces.component.ComponentStateHelper.eval(ComponentStateHelper.java:182) 20:03:19,707 ERROR (http-/127.0.0.1:8080-1) at javax.faces.component.UIOutput.getValue(UIOutput.java:169) 20:03:19,707 ERROR (http-/127.0.0.1:8080-1) at com.sun.faces.renderkit.html_basic.HtmlBasicInputRenderer.getValue(HtmlBasicInputRenderer.java:205)

jboss.org | 7 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

    [AS7-6480] JavaMail IMAP SSL sessions not working properly, e.g. Reading GMail IMAP accounts - JBoss Issue Tracker

    jboss.org | 7 months ago
    javax.mail.NoSuchProviderException: Invalid protocol: null 20:03:19,701 ERROR (http-/127.0.0.1:8080-1) at javax.mail.Session.getProvider(Session.java:440) 20:03:19,702 ERROR (http-/127.0.0.1:8080-1) at javax.mail.Session.getStore(Session.java:539) 20:03:19,702 ERROR (http-/127.0.0.1:8080-1) at javax.mail.Session.getStore(Session.java:519) 20:03:19,703 ERROR (http-/127.0.0.1:8080-1) at javax.mail.Session.getStore(Session.java:505) 20:03:19,703 ERROR (http-/127.0.0.1:8080-1) at org.jboss.as.quickstarts.mail.Email.poll(Email.java:96) 20:03:19,703 ERROR (http-/127.0.0.1:8080-1) at org.jboss.as.quickstarts.mail.Email$Proxy$ $$_WeldClientProxy.java) 20:03:19,704 ERROR (http-/127.0.0.1:8080-1) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 20:03:19,704 ERROR (http-/127.0.0.1:8080-1) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) 20:03:19,704 ERROR (http-/127.0.0.1:8080-1) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) 20:03:19,704 ERROR (http-/127.0.0.1:8080-1) at java.lang.reflect.Method.invoke(Method.java:601) 20:03:19,705 ERROR (http-/127.0.0.1:8080-1) at javax.el.BeanELResolver.invokeMethod(BeanELResolver.java:735) 20:03:19,705 ERROR (http-/127.0.0.1:8080-1) at javax.el.BeanELResolver.invoke(BeanELResolver.java:467) 20:03:19,705 ERROR (http-/127.0.0.1:8080-1) at javax.el.CompositeELResolver.invoke(CompositeELResolver.java:246) 20:03:19,705 ERROR (http-/127.0.0.1:8080-1) at org.apache.el.parser.AstValue.getValue(AstValue.java:159) 20:03:19,706 ERROR (http-/127.0.0.1:8080-1) at org.apache.el.ValueExpressionImpl.getValue(ValueExpressionImpl.java:189) 20:03:19,706 ERROR (http-/127.0.0.1:8080-1) at org.jboss.weld.el.WeldValueExpression.getValue(WeldValueExpression.java:50) 20:03:19,706 ERROR (http-/127.0.0.1:8080-1) at com.sun.faces.facelets.el.TagValueExpression.getValue(TagValueExpression.java:109) 20:03:19,706 ERROR (http-/127.0.0.1:8080-1) at javax.faces.component.ComponentStateHelper.eval(ComponentStateHelper.java:194) 20:03:19,707 ERROR (http-/127.0.0.1:8080-1) at javax.faces.component.ComponentStateHelper.eval(ComponentStateHelper.java:182) 20:03:19,707 ERROR (http-/127.0.0.1:8080-1) at javax.faces.component.UIOutput.getValue(UIOutput.java:169) 20:03:19,707 ERROR (http-/127.0.0.1:8080-1) at com.sun.faces.renderkit.html_basic.HtmlBasicInputRenderer.getValue(HtmlBasicInputRenderer.java:205)

    Root Cause Analysis

    1. javax.mail.NoSuchProviderException

      Invalid protocol: null 20:03:19,701 ERROR (http-/127.0.0.1:8080-1) at javax.mail.Session.getProvider(Session.java:440) 20:03:19,702 ERROR (http-/127.0.0.1:8080-1) at javax.mail.Session.getStore(Session.java:539) 20:03:19,702 ERROR (http-/127.0.0.1:8080-1) at javax.mail.Session.getStore(Session.java:519) 20:03:19,703 ERROR (http-/127.0.0.1:8080-1) at javax.mail.Session.getStore(Session.java:505) 20:03:19,703 ERROR (http-/127.0.0.1:8080-1) at org.jboss.as.quickstarts.mail.Email.poll(Email.java:96) 20:03:19,703 ERROR (http-/127.0.0.1:8080-1) at org.jboss.as.quickstarts.mail.Email$Proxy$ $$_WeldClientProxy.java) 20:03:19,704 ERROR (http-/127.0.0.1:8080-1) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 20:03:19,704 ERROR (http-/127.0.0.1:8080-1) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) 20:03:19,704 ERROR (http-/127.0.0.1:8080-1) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) 20:03:19,704 ERROR (http-/127.0.0.1:8080-1) at java.lang.reflect.Method.invoke(Method.java:601) 20:03:19,705 ERROR (http-/127.0.0.1:8080-1) at javax.el.BeanELResolver.invokeMethod(BeanELResolver.java:735) 20:03:19,705 ERROR (http-/127.0.0.1:8080-1) at javax.el.BeanELResolver.invoke(BeanELResolver.java:467) 20:03:19,705 ERROR (http-/127.0.0.1:8080-1) at javax.el.CompositeELResolver.invoke(CompositeELResolver.java:246) 20:03:19,705 ERROR (http-/127.0.0.1:8080-1) at org.apache.el.parser.AstValue.getValue(AstValue.java:159) 20:03:19,706 ERROR (http-/127.0.0.1:8080-1) at org.apache.el.ValueExpressionImpl.getValue(ValueExpressionImpl.java:189) 20:03:19,706 ERROR (http-/127.0.0.1:8080-1) at org.jboss.weld.el.WeldValueExpression.getValue(WeldValueExpression.java:50) 20:03:19,706 ERROR (http-/127.0.0.1:8080-1) at com.sun.faces.facelets.el.TagValueExpression.getValue(TagValueExpression.java:109) 20:03:19,706 ERROR (http-/127.0.0.1:8080-1) at javax.faces.component.ComponentStateHelper.eval(ComponentStateHelper.java:194) 20:03:19,707 ERROR (http-/127.0.0.1:8080-1) at javax.faces.component.ComponentStateHelper.eval(ComponentStateHelper.java:182) 20:03:19,707 ERROR (http-/127.0.0.1:8080-1) at javax.faces.component.UIOutput.getValue(UIOutput.java:169) 20:03:19,707 ERROR (http-/127.0.0.1:8080-1) at com.sun.faces.renderkit.html_basic.HtmlBasicInputRenderer.getValue(HtmlBasicInputRenderer.java:205)

      at com.sun.faces.renderkit.html_basic.HtmlBasicRenderer.getCurrentValue()
    2. JSF
      HtmlBasicRenderer.encodeEnd
      1. com.sun.faces.renderkit.html_basic.HtmlBasicRenderer.getCurrentValue(HtmlBasicRenderer.java:355)
      2. com.sun.faces.renderkit.html_basic.HtmlBasicRenderer.encodeEnd(HtmlBasicRenderer.java:164)
      2 frames
    3. JavaEE 7
      UIComponent.encodeAll
      1. javax.faces.component.UIComponentBase.encodeEnd(UIComponentBase.java:875)
      2. javax.faces.component.UIComponent.encodeAll(UIComponent.java:1786)
      2 frames