java.lang.NumberFormatException

tip

Java does not handle IPv6 nameservers before 1.8.0_60. Upgrade to the latest JVM.


rprp
tip

This is a bug in Wise, updating to v4.10 seems to solve the problem.

You have a different solution? A short tip here would help you and many other users who saw this issue last week.

  • 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)
    via by Mario Giacomino [Atlassian],
  • 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)
    via by Mario Giacomino [Atlassian],
  • Integer overflow issue
    via by Dan Checkoway,
  • Number Format Exception
    via by Joe L,
  • twitpocalypse, again?
    via by hansamann,
  • Entel - Teléfonos - Comparador
    via by Unknown author,
    • 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(MyWatchesPortlet.java:38) at com.atlassian.jira.portal.portlets.AbstractVotesAndWatchesPortlet.getVelocityParams(AbstractVotesAndWatchesPortlet.java:48) at com.atlassian.jira.portal.PortletImpl.getViewHtml(PortletImpl.java:68) at com.atlassian.jira.web.portlet.bean.PortletRenderer.getNormalHtml(PortletRenderer.java:83) at com.atlassian.jira.web.portlet.bean.PortletRenderer.renderPortlet(PortletRenderer.java:61) at org.apache.jsp.secure.views.dashboard_jsp._jspService(dashboard_jsp.java: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:314) 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(ApplicationFilterChain.java:252) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:672) at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:463) at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:398) at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:301) at com.atlassian.jira.web.dispatcher.JiraServletDispatcher.service(JiraServletDispatcher.java:279) at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)

    Users with the same issue

    MattyMatty
    4 times, last one,
    aidoanaidoan
    4 times, last one,
    Unknown UserUnknown User
    67 times, last one,
    tvrmsmithtvrmsmith
    10 times, last one,
    kimihanifkimihanif
    1 times, last one,
    201 more bugmates