java.lang.NumberFormatException: For input string: "null"

Coderanch | Farakh khan | 5 years ago
  1. 0

    NumberFormatException: For input string: "null"

    Coderanch | 5 years ago | Farakh khan
    java.lang.NumberFormatException: For input string: "null"
  2. Speed up your debug routine!

    Automated exception search integrated into your IDE

  3. 0

    After restarting our Bamboo 3.1.4 server this morning, we noticed no notifications were being sent. When we attempted to send a test mail from the admin interface, Bamboo threw a exception. All of the settings appeared to be correct, but we clicked the edit button. Without changing any of the settings, we tried sending a test mail from the edit screen, and it worked without issue. We saved the configuration (having changed nothing) and emails started sending again. However, the issue seems to re-appear if you restarted Bamboo. Below is the stack-trace seen in the logs when builds attempt to send notifications while the error appears. {noformat} 2011-07-18 07:13:19,192 ERROR [AtlassianEvent::0-BAM::EVENTS:pool-1-thread-16] [EmailListener] Failed to find mail server java.lang.NumberFormatException: For input string: "null" at java.lang.NumberFormatException.forInputString( at java.lang.Integer.parseInt( at java.lang.Integer.parseInt( at com.sun.mail.smtp.SMTPTransport.protocolConnect( at javax.mail.Service.connect( at javax.mail.Service.connect( at javax.mail.Service.connect( at javax.mail.Transport.send0( at javax.mail.Transport.send( at alt.javax.mail.TransportImpl.send( at com.atlassian.mail.server.impl.SMTPMailServerImpl.send( at com.atlassian.bamboo.mail.EmailListener.handleEvent( at com.atlassian.event.legacy.LegacyListenerHandler$LegacyListenerInvoker.invoke( at com.atlassian.event.internal.AsynchronousAbleEventDispatcher$ at java.util.concurrent.ThreadPoolExecutor$Worker.runTask( at java.util.concurrent.ThreadPoolExecutor$ at$ at {noformat}

    Atlassian JIRA | 5 years ago | David Corley
    java.lang.NumberFormatException: For input string: "null"

  1. filpgame 2 times, last 2 days ago
  2. ajinkya_w 3 times, last 6 days ago
  3. MoYapro 2 times, last 2 weeks ago
  4. mukky 8 times, last 2 weeks ago
  5. rube 3 times, last 3 weeks ago
29 more registered users
66 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. java.lang.NumberFormatException

    For input string: "null"

    at java.lang.NumberFormatException.forInputString()
  2. Java RT
    1. java.lang.NumberFormatException.forInputString(
    2. java.lang.Integer.parseInt(
    3. java.lang.Integer.parseInt(
    3 frames
  3. Unknown
    1. Articles.doGet(
    1 frame
  4. JavaServlet
    1. javax.servlet.http.HttpServlet.service(
    2. javax.servlet.http.HttpServlet.service(
    2 frames
  5. Glassfish Core
    1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(
    2. org.apache.catalina.core.ApplicationFilterChain.doFilter(
    3. org.apache.catalina.core.StandardWrapperValve.invoke(
    4. org.apache.catalina.core.StandardContextValve.invoke(
    5. org.apache.catalina.core.StandardHostValve.invoke(
    6. org.apache.catalina.valves.ErrorReportValve.invoke(
    7. org.apache.catalina.core.StandardEngineValve.invoke(
    8. org.apache.catalina.connector.CoyoteAdapter.service(
    8 frames
  6. Embedded GlassFish Web
    1. org.apache.jk.server.JkCoyoteHandler.invoke(
    2. org.apache.jk.common.HandlerRequest.invoke(
    3. org.apache.jk.common.ChannelSocket.invoke(
    4. org.apache.jk.common.ChannelSocket.processConnection(
    5. org.apache.jk.common.ChannelSocket$SocketConnection.runIt(
    5 frames
  7. Tomcat Util
    1. org.apache.tomcat.util.threads.ThreadPool$
    1 frame
  8. Java RT
    1 frame