java.lang.RuntimeException: java.lang.NumberFormatException: For input string: "ag"

GitHub | damithc | 3 months ago
  1. 0

    Exception thrown trying to retrieve CourseStudent

    GitHub | 3 months ago | damithc
    java.lang.RuntimeException: java.lang.NumberFormatException: For input string: "ag"
  2. 0

    Truffle - Regex Parsing Error

    GitHub | 2 years ago | bjfish
    java.lang.NumberFormatException: For input string: "0-"
  3. 0

    Robolectric can't create views in layout.

    GitHub | 4 years ago | dadamssg
    java.lang.RuntimeException: Failed to create a android.widget.EditText
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Can't create views when testing with Robolectric 2.0

    GitHub | 4 years ago | dadamssg
    java.lang.RuntimeException: Failed to create a android.widget.EditText
  6. 0

    NumberFormatException when trying to convert JTextField to int

    Stack Overflow | 3 years ago | maxpesa
    java.lang.NumberFormatException: For input string: "javax.swing.JTextField[,62,11,302x28,layout=javax.swing.plaf.basic.BasicTextUI$UpdateHandler,alignmentX=0.0,alignmentY=0.0,border=javax.swing.plaf.synth.SynthBorder@9577f8b,flags=288,maximumSize=,minimumSize=,preferredSize=,caretColor=,disabledTextColor=DerivedColor(color=142,143,145 parent=nimbusDisabledText offsets=0.0,0.0,0.0,0 pColor=142,143,145,editable=true,margin=javax.swing.plaf.InsetsUIResource[top=0,left=0,bottom=0,right=0],selectedTextColor=DerivedColor(color=255,255,255 parent=nimbusSelectedText offsets=0.0,0.0,0.0,0 pColor=255,255,255,selectionColor=DerivedColor(color=57,105,138 parent=nimbusSelectionBackground offsets=0.0,0.0,0.0,0 pColor=57,105,138,columns=0,columnWidth=0,command=,horizontalAlignment=LEADING]"
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: "ag"

    at java.lang.NumberFormatException.forInputString()
  2. Java RT
    Integer.parseInt
    1. java.lang.NumberFormatException.forInputString(NumberFormatException.java:65)
    2. java.lang.Integer.parseInt(Integer.java:492)
    2 frames
  3. teammates.common.util
    StringHelper.decrypt
    1. teammates.common.util.StringHelper.hexStringToByteArray(StringHelper.java:326)
    2. teammates.common.util.StringHelper.decrypt(StringHelper.java:144)
    2 frames
  4. teammates.storage.api
    StudentsDb.getStudentForRegistrationKey
    1. teammates.storage.api.StudentsDb.getStudentForRegistrationKey(StudentsDb.java:189)
    1 frame
  5. teammates.logic.core
    StudentsLogic.getStudentForRegistrationKey
    1. teammates.logic.core.StudentsLogic.getStudentForRegistrationKey(StudentsLogic.java:100)
    1 frame
  6. teammates.logic.api
    Logic.getStudentForRegistrationKey
    1. teammates.logic.api.Logic.getStudentForRegistrationKey(Logic.java:908)
    1 frame
  7. teammates.ui.controller
    ControllerServlet.doGet
    1. teammates.ui.controller.Action.authenticateNotLoggedInUser(Action.java:175)
    2. teammates.ui.controller.Action.authenticateAndGetActualUser(Action.java:119)
    3. teammates.ui.controller.Action.authenticateUser(Action.java:100)
    4. teammates.ui.controller.Action.init(Action.java:83)
    5. teammates.ui.controller.ActionFactory.getAction(ActionFactory.java:148)
    6. teammates.ui.controller.ControllerServlet.doPost(ControllerServlet.java:62)
    7. teammates.ui.controller.ControllerServlet.doGet(ControllerServlet.java:43)
    7 frames
  8. JavaServlet
    HttpServlet.service
    1. javax.servlet.http.HttpServlet.service(HttpServlet.java:617)
    2. javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
    2 frames
  9. Jetty Server
    ServletHandler$CachedChain.doFilter
    1. org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:511)
    2. org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1166)
    2 frames
  10. teammates.storage.datastore
    DatastoreFilter.doFilter
    1. teammates.storage.datastore.DatastoreFilter.doFilter(DatastoreFilter.java:29)
    1 frame
  11. Jetty Server
    ServletHandler$CachedChain.doFilter
    1. org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1157)
    1 frame
  12. Google AppEngine
    ParseBlobUploadFilter.doFilter
    1. com.google.apphosting.utils.servlet.ParseBlobUploadFilter.doFilter(ParseBlobUploadFilter.java:125)
    1 frame
  13. Jetty Server
    ServletHandler$CachedChain.doFilter
    1. org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1157)
    1 frame
  14. com.google.apphosting
    SaveSessionFilter.doFilter
    1. com.google.apphosting.runtime.jetty.SaveSessionFilter.doFilter(SaveSessionFilter.java:37)
    1 frame
  15. Jetty Server
    ServletHandler$CachedChain.doFilter
    1. org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1157)
    1 frame
  16. Google AppEngine
    JdbcMySqlConnectionCleanupFilter.doFilter
    1. com.google.apphosting.utils.servlet.JdbcMySqlConnectionCleanupFilter.doFilter(JdbcMySqlConnectionCleanupFilter.java:60)
    1 frame
  17. Jetty Server
    ServletHandler$CachedChain.doFilter
    1. org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1157)
    1 frame
  18. Google AppEngine
    TransactionCleanupFilter.doFilter
    1. com.google.apphosting.utils.servlet.TransactionCleanupFilter.doFilter(TransactionCleanupFilter.java:50)
    1 frame
  19. Jetty Server
    WebAppContext.handle
    1. org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1157)
    2. org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:388)
    3. org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216)
    4. org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:182)
    5. org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:765)
    6. org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:418)
    6 frames
  20. com.google.apphosting
    AppVersionHandlerMap.handle
    1. com.google.apphosting.runtime.jetty.AppVersionHandlerMap.handle(AppVersionHandlerMap.java:260)
    1 frame
  21. Jetty Server
    HttpConnection$RequestHandler.headerComplete
    1. org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)
    2. org.mortbay.jetty.Server.handle(Server.java:326)
    3. org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:542)
    4. org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:923)
    4 frames
  22. com.google.apphosting
    RpcRequestParser.parseAvailable
    1. com.google.apphosting.runtime.jetty.RpcRequestParser.parseAvailable(RpcRequestParser.java:78)
    1 frame
  23. Jetty Server
    HttpConnection.handle
    1. org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:404)
    1 frame
  24. com.google.apphosting
    JettyServletEngineAdapter.serviceRequest
    1. com.google.apphosting.runtime.jetty.JettyServletEngineAdapter.serviceRequest(JettyServletEngineAdapter.java:148)
    1 frame
  25. appengine-managed-runtime
    JavaRuntime$RequestRunnable.run
    1. com.google.apphosting.runtime.JavaRuntime$RequestRunnable.run(JavaRuntime.java:504)
    1 frame
  26. Google tracing
    TraceContext$TraceContextRunnable.run
    1. com.google.tracing.TraceContext$TraceContextRunnable.runInContext(TraceContext.java:446)
    2. com.google.tracing.TraceContext$TraceContextRunnable$1.run(TraceContext.java:453)
    3. com.google.tracing.CurrentContext.runInContext(CurrentContext.java:276)
    4. com.google.tracing.TraceContext$AbstractTraceContextCallback.runInInheritedContextNoUnref(TraceContext.java:312)
    5. com.google.tracing.TraceContext$AbstractTraceContextCallback.runInInheritedContext(TraceContext.java:304)
    6. com.google.tracing.TraceContext$TraceContextRunnable.run(TraceContext.java:450)
    6 frames
  27. appengine-managed-runtime
    ThreadGroupPool$PoolEntry.run
    1. com.google.apphosting.runtime.ThreadGroupPool$PoolEntry.run(ThreadGroupPool.java:235)
    1 frame
  28. Java RT
    Thread.run
    1. java.lang.Thread.run(Thread.java:745)
    1 frame