net.sf.json.JSONException: JSONObject["smtpAuthUserName"] not found.

Jenkins JIRA | epugh | 7 years ago
  1. 0

    Jenkins users - error configuring SMTP Gmail with Hudson

    nabble.com | 4 months ago
    net.sf.json.JSONException: JSONObject["smtpAuthUserName"] not found.
  2. Speed up your debug routine!

    Automated exception search integrated into your IDE

  3. 0

    I've configured SMTP server (with authentication) and all other stuff on http://localhost:8080/configure I click on the "Test SMTP configuration button". However when I click on "Save" button I get the following exception: Exception: Stacktrace: net.sf.json.JSONException: JSONObject["smtpAuthUserName"] not found. at net.sf.json.JSONObject.getString(JSONObject.java:1767) at hudson.tasks.Mailer$DescriptorImpl.configure(Mailer.java:278) at hudson.model.Hudson.configureDescriptor(Hudson.java:2326) at hudson.model.Hudson.doConfigSubmit(Hudson.java:2262) 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.kohsuke.stapler.Function$InstanceFunction.invoke(Function.java:185) at org.kohsuke.stapler.Function.bindAndInvoke(Function.java:101) at org.kohsuke.stapler.Function.bindAndInvokeAndServeResponse(Function.java:54) at org.kohsuke.stapler.MetaClass$1.doDispatch(MetaClass.java:74) at org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:30) at org.kohsuke.stapler.Stapler.invoke(Stapler.java:487) at org.kohsuke.stapler.Stapler.invoke(Stapler.java:403) at org.kohsuke.stapler.Stapler.service(Stapler.java:116) at javax.servlet.http.HttpServlet.service(HttpServlet.java:45) at winstone.ServletConfiguration.execute(ServletConfiguration.java:249) at winstone.RequestDispatcher.forward(RequestDispatcher.java:335) at winstone.RequestDispatcher.doFilter(RequestDispatcher.java:378) at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:94) at hudson.util.PluginServletFilter.doFilter(PluginServletFilter.java:86) at winstone.FilterConfiguration.execute(FilterConfiguration.java:195) at winstone.RequestDispatcher.doFilter(RequestDispatcher.java:368) at hudson.security.csrf.CrumbFilter.doFilter(CrumbFilter.java:47) at winstone.FilterConfiguration.execute(FilterConfiguration.java:195) at winstone.RequestDispatcher.doFilter(RequestDispatcher.java:368) at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:84) at hudson.security.ChainedServletFilter.doFilter(ChainedServletFilter.java:76) at hudson.security.HudsonFilter.doFilter(HudsonFilter.java:154) at winstone.FilterConfiguration.execute(FilterConfiguration.java:195) at winstone.RequestDispatcher.doFilter(RequestDispatcher.java:368) at winstone.RequestDispatcher.forward(RequestDispatcher.java:333) at winstone.RequestHandlerThread.processRequest(RequestHandlerThread.java:244) at winstone.RequestHandlerThread.run(RequestHandlerThread.java:150) at java.lang.Thread.run(Thread.java:619)

    Jenkins JIRA | 7 years ago | rmoutinho
    net.sf.json.JSONException: JSONObject["smtpAuthUserName"] not found.
  4. 0

    I've configured SMTP server (with authentication) and all other stuff on http://localhost:8080/configure I click on the "Test SMTP configuration button". However when I click on "Save" button I get the following exception: Exception: Stacktrace: net.sf.json.JSONException: JSONObject["smtpAuthUserName"] not found. at net.sf.json.JSONObject.getString(JSONObject.java:1767) at hudson.tasks.Mailer$DescriptorImpl.configure(Mailer.java:278) at hudson.model.Hudson.configureDescriptor(Hudson.java:2326) at hudson.model.Hudson.doConfigSubmit(Hudson.java:2262) 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.kohsuke.stapler.Function$InstanceFunction.invoke(Function.java:185) at org.kohsuke.stapler.Function.bindAndInvoke(Function.java:101) at org.kohsuke.stapler.Function.bindAndInvokeAndServeResponse(Function.java:54) at org.kohsuke.stapler.MetaClass$1.doDispatch(MetaClass.java:74) at org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:30) at org.kohsuke.stapler.Stapler.invoke(Stapler.java:487) at org.kohsuke.stapler.Stapler.invoke(Stapler.java:403) at org.kohsuke.stapler.Stapler.service(Stapler.java:116) at javax.servlet.http.HttpServlet.service(HttpServlet.java:45) at winstone.ServletConfiguration.execute(ServletConfiguration.java:249) at winstone.RequestDispatcher.forward(RequestDispatcher.java:335) at winstone.RequestDispatcher.doFilter(RequestDispatcher.java:378) at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:94) at hudson.util.PluginServletFilter.doFilter(PluginServletFilter.java:86) at winstone.FilterConfiguration.execute(FilterConfiguration.java:195) at winstone.RequestDispatcher.doFilter(RequestDispatcher.java:368) at hudson.security.csrf.CrumbFilter.doFilter(CrumbFilter.java:47) at winstone.FilterConfiguration.execute(FilterConfiguration.java:195) at winstone.RequestDispatcher.doFilter(RequestDispatcher.java:368) at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:84) at hudson.security.ChainedServletFilter.doFilter(ChainedServletFilter.java:76) at hudson.security.HudsonFilter.doFilter(HudsonFilter.java:154) at winstone.FilterConfiguration.execute(FilterConfiguration.java:195) at winstone.RequestDispatcher.doFilter(RequestDispatcher.java:368) at winstone.RequestDispatcher.forward(RequestDispatcher.java:333) at winstone.RequestHandlerThread.processRequest(RequestHandlerThread.java:244) at winstone.RequestHandlerThread.run(RequestHandlerThread.java:150) at java.lang.Thread.run(Thread.java:619)

    Jenkins JIRA | 7 years ago | rmoutinho
    net.sf.json.JSONException: JSONObject["smtpAuthUserName"] not found.

    7 unregistered visitors
    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. net.sf.json.JSONException

      JSONObject["smtpAuthUserName"] not found.

      at net.sf.json.JSONObject.getString()
    2. json-lib
      JSONObject.getString
      1. net.sf.json.JSONObject.getString(JSONObject.java:1767)
      1 frame
    3. Hudson
      Mailer$DescriptorImpl.configure
      1. hudson.tasks.Mailer$DescriptorImpl.configure(Mailer.java:278)
      1 frame