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

Apereo Issues | Robert Oschwald | 9 years ago
  1. 0

    If client comes from a IPv6 Address, the Adapter throws a NumberFormatException because the ip is a non-octet address. 2008-03-31 13:38:00,459 [TP-Processor5] [] ERROR org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/cas].[cas] - Servlet.service() for servlet cas threw exception java.lang.NumberFormatException: For input string: "::1" at java.lang.NumberFormatException.forInputString(NumberFormatException.java:48) at java.lang.Integer.parseInt(Integer.java:447) at java.lang.Integer.parseInt(Integer.java:497) at de.goethe.cas.web.support.ThrottledSubmissionByIpAddressHandlerInterceptorAdapter.postHandle(ThrottledSubmissionByIpAddressHandlerInterceptorAdapter.java:98) at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:886) at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:809) at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:476) at org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:441) at javax.servlet.http.HttpServlet.service(HttpServlet.java:710) at javax.servlet.http.HttpServlet.service(HttpServlet.java:803) at org.jasig.cas.web.init.SafeDispatcherServlet.service(SafeDispatcherServlet.java:115) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188) at org.inspektr.common.web.ClientInfoThreadLocalFilter.doFilterInternal(ClientInfoThreadLocalFilter.java:48) at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:75) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:210) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:174) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:108) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:151) at org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:200) at org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:283) at org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:773) at org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:703) at org.apache.jk.common.ChannelSocket$SocketConnection.runIt(ChannelSocket.java:895) at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:685) at java.lang.Thread.run(Thread.java:613)

    Apereo Issues | 9 years ago | Robert Oschwald
    java.lang.NumberFormatException: For input string: "::1"
  2. 0

    If client comes from a IPv6 Address, the Adapter throws a NumberFormatException because the ip is a non-octet address. 2008-03-31 13:38:00,459 [TP-Processor5] [] ERROR org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/cas].[cas] - Servlet.service() for servlet cas threw exception java.lang.NumberFormatException: For input string: "::1" at java.lang.NumberFormatException.forInputString(NumberFormatException.java:48) at java.lang.Integer.parseInt(Integer.java:447) at java.lang.Integer.parseInt(Integer.java:497) at de.goethe.cas.web.support.ThrottledSubmissionByIpAddressHandlerInterceptorAdapter.postHandle(ThrottledSubmissionByIpAddressHandlerInterceptorAdapter.java:98) at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:886) at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:809) at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:476) at org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:441) at javax.servlet.http.HttpServlet.service(HttpServlet.java:710) at javax.servlet.http.HttpServlet.service(HttpServlet.java:803) at org.jasig.cas.web.init.SafeDispatcherServlet.service(SafeDispatcherServlet.java:115) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188) at org.inspektr.common.web.ClientInfoThreadLocalFilter.doFilterInternal(ClientInfoThreadLocalFilter.java:48) at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:75) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:210) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:174) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:108) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:151) at org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:200) at org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:283) at org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:773) at org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:703) at org.apache.jk.common.ChannelSocket$SocketConnection.runIt(ChannelSocket.java:895) at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:685) at java.lang.Thread.run(Thread.java:613)

    Apereo Issues | 9 years ago | Robert Oschwald
    java.lang.NumberFormatException: For input string: "::1"
  3. 0

    StringTokenizer not making tokens with new lines

    Stack Overflow | 4 years ago | kullalok
    java.lang.NumberFormatException: For input string: "3monkeys"
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Thrown an error when I try to convert String to Integer

    Stack Overflow | 2 years ago | kavi
    java.lang.NumberFormatException: For input string: " 1060528128"
  6. 0

    NumberFormatException in a jsp with a list

    Stack Overflow | 5 years ago | Collin O'Connor
    java.lang.NumberFormatException: For input string: "id"

  1. Handemelindo 6 times, last 2 days ago
  2. bmacedo 2 times, last 4 days ago
  3. MoYapro 1 times, last 1 week ago
  4. filpgame 4 times, last 3 weeks ago
  5. silex 6 times, last 1 month ago
32 more registered users
63 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: "::1"

    at java.lang.NumberFormatException.forInputString()
  2. Java RT
    Integer.parseInt
    1. java.lang.NumberFormatException.forInputString(NumberFormatException.java:48)
    2. java.lang.Integer.parseInt(Integer.java:447)
    3. java.lang.Integer.parseInt(Integer.java:497)
    3 frames
  3. de.goethe.cas
    ThrottledSubmissionByIpAddressHandlerInterceptorAdapter.postHandle
    1. de.goethe.cas.web.support.ThrottledSubmissionByIpAddressHandlerInterceptorAdapter.postHandle(ThrottledSubmissionByIpAddressHandlerInterceptorAdapter.java:98)
    1 frame
  4. Spring MVC
    FrameworkServlet.doPost
    1. org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:886)
    2. org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:809)
    3. org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:476)
    4. org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:441)
    4 frames
  5. JavaServlet
    HttpServlet.service
    1. javax.servlet.http.HttpServlet.service(HttpServlet.java:710)
    2. javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
    2 frames
  6. Jasig CAS Core
    SafeDispatcherServlet.service
    1. org.jasig.cas.web.init.SafeDispatcherServlet.service(SafeDispatcherServlet.java:115)
    1 frame
  7. Glassfish Core
    ApplicationFilterChain.doFilter
    1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269)
    2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
    2 frames
  8. org.inspektr.common
    ClientInfoThreadLocalFilter.doFilterInternal
    1. org.inspektr.common.web.ClientInfoThreadLocalFilter.doFilterInternal(ClientInfoThreadLocalFilter.java:48)
    1 frame
  9. Spring
    OncePerRequestFilter.doFilter
    1. org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:75)
    1 frame
  10. Glassfish Core
    CoyoteAdapter.service
    1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)
    2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
    3. org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:210)
    4. org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:174)
    5. org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
    6. org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)
    7. org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:108)
    8. org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:151)
    8 frames
  11. Embedded GlassFish Web
    ChannelSocket$SocketConnection.runIt
    1. org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:200)
    2. org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:283)
    3. org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:773)
    4. org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:703)
    5. org.apache.jk.common.ChannelSocket$SocketConnection.runIt(ChannelSocket.java:895)
    5 frames
  12. Tomcat Util
    ThreadPool$ControlRunnable.run
    1. org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:685)
    1 frame
  13. Java RT
    Thread.run
    1. java.lang.Thread.run(Thread.java:613)
    1 frame