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

Stack Overflow | mona | 10 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Landsize value is not validated

    GitHub | 6 years ago | sorklin
    org.bukkit.command.CommandException: Unhandled exception executing command 'mv' in plugin Multiverse-Core v2.0-b271
  2. 0

    Windows : stack in getTerminalWidth

    GitHub | 5 years ago | nanocom
    java.lang.NumberFormatException: For input string: "200x300 (200x80)"
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0

    Pathways are no longer loaded

    GitHub | 4 years ago | cpartl
    java.lang.NumberFormatException: For input string: "5578+mmu:18750"
  5. 0

    NumberFormatException

    GitHub | 3 years ago | puredevotion
    java.lang.NumberFormatException: For input string: "2229639275"
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: "PTHP"

    at java.lang.NumberFormatException.forInputString()
  2. Java RT
    Integer.valueOf
    1. java.lang.NumberFormatException.forInputString(Unknown Source)
    2. java.lang.Integer.parseInt(Unknown Source)
    3. java.lang.Integer.valueOf(Unknown Source)
    3 frames
  3. com.microsoft.sqlserver
    SQLServerResultSet.getInt
    1. com.microsoft.sqlserver.jdbc.DDC.convertStringToObject(DDC.java:291)
    2. com.microsoft.sqlserver.jdbc.DDC.convertStreamToObject(DDC.java:419)
    3. com.microsoft.sqlserver.jdbc.ServerDTVImpl.getValue(dtv.java:2007)
    4. com.microsoft.sqlserver.jdbc.DTV.getValue(dtv.java:175)
    5. com.microsoft.sqlserver.jdbc.Column.getValue(Column.java:113)
    6. com.microsoft.sqlserver.jdbc.SQLServerResultSet.getValue(SQLServerResultSet.java:1982)
    7. com.microsoft.sqlserver.jdbc.SQLServerResultSet.getValue(SQLServerResultSet.java:1967)
    8. com.microsoft.sqlserver.jdbc.SQLServerResultSet.getInt(SQLServerResultSet.java:2219)
    8 frames
  4. Commons DBCP
    DelegatingResultSet.getInt
    1. org.apache.commons.dbcp.DelegatingResultSet.getInt(DelegatingResultSet.java:220)
    1 frame
  5. Java RT
    Method.invoke
    1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    2. sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    3. sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    4. java.lang.reflect.Method.invoke(Unknown Source)
    4 frames
  6. org.hibernate.engine
    AbstractProxyHandler.invoke
    1. org.hibernate.engine.jdbc.internal.proxy.AbstractResultSetProxyHandler.continueInvocation(AbstractResultSetProxyHandler.java:104)
    2. org.hibernate.engine.jdbc.internal.proxy.AbstractProxyHandler.invoke(AbstractProxyHandler.java:81)
    2 frames
  7. com.sun.proxy
    $Proxy44.getInt
    1. com.sun.proxy.$Proxy44.getInt(Unknown Source)
    1 frame
  8. Hibernate
    SQLQueryImpl.list
    1. org.hibernate.type.descriptor.sql.IntegerTypeDescriptor$2.doExtract(IntegerTypeDescriptor.java:66)
    2. org.hibernate.type.descriptor.sql.BasicExtractor.extract(BasicExtractor.java:65)
    3. org.hibernate.type.AbstractStandardBasicType.nullSafeGet(AbstractStandardBasicType.java:269)
    4. org.hibernate.type.AbstractStandardBasicType.nullSafeGet(AbstractStandardBasicType.java:265)
    5. org.hibernate.type.AbstractStandardBasicType.nullSafeGet(AbstractStandardBasicType.java:238)
    6. org.hibernate.type.ManyToOneType.hydrate(ManyToOneType.java:157)
    7. org.hibernate.persister.entity.AbstractEntityPersister.hydrate(AbstractEntityPersister.java:2807)
    8. org.hibernate.loader.Loader.loadFromResultSet(Loader.java:1545)
    9. org.hibernate.loader.Loader.instanceNotYetLoaded(Loader.java:1477)
    10. org.hibernate.loader.Loader.getRow(Loader.java:1377)
    11. org.hibernate.loader.Loader.getRowFromResultSet(Loader.java:644)
    12. org.hibernate.loader.Loader.doQuery(Loader.java:854)
    13. org.hibernate.loader.Loader.doQueryAndInitializeNonLazyCollections(Loader.java:293)
    14. org.hibernate.loader.Loader.doList(Loader.java:2382)
    15. org.hibernate.loader.Loader.doList(Loader.java:2368)
    16. org.hibernate.loader.Loader.listIgnoreQueryCache(Loader.java:2198)
    17. org.hibernate.loader.Loader.list(Loader.java:2193)
    18. org.hibernate.loader.custom.CustomLoader.list(CustomLoader.java:331)
    19. org.hibernate.internal.SessionImpl.listCustomQuery(SessionImpl.java:1780)
    20. org.hibernate.internal.AbstractSessionImpl.list(AbstractSessionImpl.java:229)
    21. org.hibernate.internal.SQLQueryImpl.list(SQLQueryImpl.java:156)
    21 frames
  9. com.kendoui.spring
    CapacityContraintDaoImpl.getList
    1. com.kendoui.spring.models.CapacityContraintDaoImpl.getList(CapacityContraintDaoImpl.java:25)
    1 frame
  10. Java RT
    Method.invoke
    1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    2. sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    3. sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    4. java.lang.reflect.Method.invoke(Unknown Source)
    4 frames
  11. Spring AOP
    ReflectiveMethodInvocation.proceed
    1. org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:318)
    2. org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183)
    3. org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150)
    3 frames
  12. Spring Tx
    TransactionInterceptor.invoke
    1. org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:110)
    1 frame
  13. Spring AOP
    JdkDynamicAopProxy.invoke
    1. org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
    2. org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202)
    2 frames
  14. com.sun.proxy
    $Proxy28.getList
    1. com.sun.proxy.$Proxy28.getList(Unknown Source)
    1 frame
  15. com.kendoui.spring
    CapacityContraintController.read
    1. com.kendoui.spring.controllers.CapacityContraintController.read(CapacityContraintController.java:51)
    1 frame
  16. Java RT
    Method.invoke
    1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    2. sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    3. sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    4. java.lang.reflect.Method.invoke(Unknown Source)
    4 frames
  17. Spring
    InvocableHandlerMethod.invokeForRequest
    1. org.springframework.web.method.support.InvocableHandlerMethod.invoke(InvocableHandlerMethod.java:212)
    2. org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:126)
    2 frames
  18. Spring MVC
    FrameworkServlet.doPost
    1. org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:96)
    2. org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandlerMethod(RequestMappingHandlerAdapter.java:617)
    3. org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:578)
    4. org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:80)
    5. org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:900)
    6. org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:827)
    7. org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:882)
    8. org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:789)
    8 frames
  19. JavaServlet
    HttpServlet.service
    1. javax.servlet.http.HttpServlet.service(HttpServlet.java:650)
    2. javax.servlet.http.HttpServlet.service(HttpServlet.java:731)
    2 frames
  20. Glassfish Core
    ApplicationFilterChain.doFilter
    1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303)
    2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
    2 frames
  21. Tomcat WS
    WsFilter.doFilter
    1. org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
    1 frame
  22. Glassfish Core
    CoyoteAdapter.service
    1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
    2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
    3. org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:220)
    4. org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:122)
    5. org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:505)
    6. org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:170)
    7. org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103)
    8. org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:956)
    9. org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116)
    10. org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:423)
    10 frames
  23. Grizzly HTTP
    JIoEndpoint$SocketProcessor.run
    1. org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1079)
    2. org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:625)
    3. org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:316)
    3 frames
  24. Java RT
    ThreadPoolExecutor$Worker.run
    1. java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
    2. java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
    2 frames
  25. Tomcat Util
    TaskThread$WrappingRunnable.run
    1. org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
    1 frame
  26. Java RT
    Thread.run
    1. java.lang.Thread.run(Unknown Source)
    1 frame