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

Atlassian JIRA | Mario Giacomino [Atlassian] | 10 years ago
  1. 0

    When you configure your dashboard and include watched issues, you can configure how many issues you want to see per page. If the number entered is very large (like 100000000000), the value is accepted at configuration time and throws an exception when executed. I recommend a code audit for this kind of thing so that a USER configuration error that is not validated causes an error at some later time. 2007-02-05 13:57:32,449 http-8080-Processor17 ERROR [[Catalina].[localhost].[/]. [jsp]] Servlet.service() for servlet jsp threw exception java.lang.NumberFormatException: For input string: "100000000000" at java.lang.NumberFormatException.forInputString(NumberFormatException. java:48) at java.lang.Integer.parseInt(Integer.java:459) at java.lang.Integer.valueOf(Integer.java:553) at com.atlassian.jira.portal.portlets.MyWatchesPortlet.getIssues(MyWatch esPortlet.java:38) at com.atlassian.jira.portal.portlets.AbstractVotesAndWatchesPortlet.get VelocityParams(AbstractVotesAndWatchesPortlet.java:48) at com.atlassian.jira.portal.PortletImpl.getViewHtml(PortletImpl.java:68 ) at com.atlassian.jira.web.portlet.bean.PortletRenderer.getNormalHtml(Por tletRenderer.java:83) at com.atlassian.jira.web.portlet.bean.PortletRenderer.renderPortlet(Por tletRenderer.java:61) at org.apache.jsp.secure.views.dashboard_jsp._jspService(dashboard_jsp.j ava:1271) at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97) at javax.servlet.http.HttpServlet.service(HttpServlet.java:802) at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper .java:334) at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:3 14) at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264) at javax.servlet.http.HttpServlet.service(HttpServlet.java:802) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl icationFilterChain.java:252) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF ilterChain.java:173) at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDisp atcher.java:672) at org.apache.catalina.core.ApplicationDispatcher.processRequest(Applica tionDispatcher.java:463) at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationD ispatcher.java:398) at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDis patcher.java:301) at com.atlassian.jira.web.dispatcher.JiraServletDispatcher.service(JiraS ervletDispatcher.java:279) at javax.servlet.http.HttpServlet.service(HttpServlet.java:802) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl icationFilterChain.java:252) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF ilterChain.java:173) at com.atlassian.jira.web.filters.AccessLogFilter.doFilter(AccessLogFilt er.java:51) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl icationFilterChain.java:202) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF ilterChain.java:173) at com.opensymphony.module.sitemesh.filter.PageFilter.parsePage(PageFilt er.java:119) at com.opensymphony.module.sitemesh.filter.PageFilter.doFilter(PageFilte r.java:55) at com.atlassian.jira.web.filters.SitemeshExcludePathFilter.doFilter(Sit emeshExcludePathFilter.java:38)

    Atlassian JIRA | 10 years ago | Mario Giacomino [Atlassian]
    java.lang.NumberFormatException: For input string: "100000000000"
  2. 0

    When you configure your dashboard and include watched issues, you can configure how many issues you want to see per page. If the number entered is very large (like 100000000000), the value is accepted at configuration time and throws an exception when executed. I recommend a code audit for this kind of thing so that a USER configuration error that is not validated causes an error at some later time. 2007-02-05 13:57:32,449 http-8080-Processor17 ERROR [[Catalina].[localhost].[/]. [jsp]] Servlet.service() for servlet jsp threw exception java.lang.NumberFormatException: For input string: "100000000000" at java.lang.NumberFormatException.forInputString(NumberFormatException. java:48) at java.lang.Integer.parseInt(Integer.java:459) at java.lang.Integer.valueOf(Integer.java:553) at com.atlassian.jira.portal.portlets.MyWatchesPortlet.getIssues(MyWatch esPortlet.java:38) at com.atlassian.jira.portal.portlets.AbstractVotesAndWatchesPortlet.get VelocityParams(AbstractVotesAndWatchesPortlet.java:48) at com.atlassian.jira.portal.PortletImpl.getViewHtml(PortletImpl.java:68 ) at com.atlassian.jira.web.portlet.bean.PortletRenderer.getNormalHtml(Por tletRenderer.java:83) at com.atlassian.jira.web.portlet.bean.PortletRenderer.renderPortlet(Por tletRenderer.java:61) at org.apache.jsp.secure.views.dashboard_jsp._jspService(dashboard_jsp.j ava:1271) at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97) at javax.servlet.http.HttpServlet.service(HttpServlet.java:802) at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper .java:334) at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:3 14) at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264) at javax.servlet.http.HttpServlet.service(HttpServlet.java:802) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl icationFilterChain.java:252) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF ilterChain.java:173) at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDisp atcher.java:672) at org.apache.catalina.core.ApplicationDispatcher.processRequest(Applica tionDispatcher.java:463) at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationD ispatcher.java:398) at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDis patcher.java:301) at com.atlassian.jira.web.dispatcher.JiraServletDispatcher.service(JiraS ervletDispatcher.java:279) at javax.servlet.http.HttpServlet.service(HttpServlet.java:802) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl icationFilterChain.java:252) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF ilterChain.java:173) at com.atlassian.jira.web.filters.AccessLogFilter.doFilter(AccessLogFilt er.java:51) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl icationFilterChain.java:202) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF ilterChain.java:173) at com.opensymphony.module.sitemesh.filter.PageFilter.parsePage(PageFilt er.java:119) at com.opensymphony.module.sitemesh.filter.PageFilter.doFilter(PageFilte r.java:55) at com.atlassian.jira.web.filters.SitemeshExcludePathFilter.doFilter(Sit emeshExcludePathFilter.java:38)

    Atlassian JIRA | 10 years ago | Mario Giacomino [Atlassian]
    java.lang.NumberFormatException: For input string: "100000000000"
  3. 0

    Integer overflow issue

    Google Groups | 6 years ago | Dan Checkoway
    java.lang.NumberFormatException: For input string: "4294967295"
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Number Format Exception

    Google Groups | 7 years ago | Joe L
    java.lang.NumberFormatException: For input string: "4850044848"
  6. 0

    twitpocalypse, again?

    Google Groups | 7 years ago | hansamann
    java.lang.NumberFormatException: For input string: "2413814322"

  1. DoktorDoener666 1 times, last 3 weeks ago
  2. serious2monkeys 6 times, last 4 weeks ago
  3. maxxi 2 times, last 1 month ago
  4. maxxi 4 times, last 2 months ago
  5. Piz 3 times, last 5 months ago
7 more registered users
15 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: "100000000000"

    at java.lang.NumberFormatException.forInputString()
  2. Java RT
    Integer.valueOf
    1. java.lang.NumberFormatException.forInputString(NumberFormatException.java:48)
    2. java.lang.Integer.parseInt(Integer.java:459)
    3. java.lang.Integer.valueOf(Integer.java:553)
    3 frames
  3. com.atlassian.jira
    PortletRenderer.renderPortlet
    1. com.atlassian.jira.portal.portlets.MyWatchesPortlet.getIssues(MyWatchesPortlet.java:38)
    2. com.atlassian.jira.portal.portlets.AbstractVotesAndWatchesPortlet.getVelocityParams(AbstractVotesAndWatchesPortlet.java:48)
    3. com.atlassian.jira.portal.PortletImpl.getViewHtml(PortletImpl.java:68)
    4. com.atlassian.jira.web.portlet.bean.PortletRenderer.getNormalHtml(PortletRenderer.java:83)
    5. com.atlassian.jira.web.portlet.bean.PortletRenderer.renderPortlet(PortletRenderer.java:61)
    5 frames
  4. org.apache.jsp
    dashboard_jsp._jspService
    1. org.apache.jsp.secure.views.dashboard_jsp._jspService(dashboard_jsp.java:1271)
    1 frame
  5. GWT dev
    HttpJspBase.service
    1. org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
    1 frame
  6. JavaServlet
    HttpServlet.service
    1. javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
    1 frame
  7. GWT dev
    JspServlet.service
    1. org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:334)
    2. org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
    3. org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
    3 frames
  8. JavaServlet
    HttpServlet.service
    1. javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
    1 frame
  9. Glassfish Core
    ApplicationDispatcher.forward
    1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
    2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
    3. org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:672)
    4. org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:463)
    5. org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:398)
    6. org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:301)
    6 frames
  10. com.atlassian.jira
    JiraServletDispatcher.service
    1. com.atlassian.jira.web.dispatcher.JiraServletDispatcher.service(JiraServletDispatcher.java:279)
    1 frame
  11. JavaServlet
    HttpServlet.service
    1. javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
    1 frame