java.lang.NumberFormatException: Invalid int: "44A. M."

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Samebug tips

,

You try to parse a String that contains non-numeric characters to an int. The string must contain decimal characters only, optionally beginning with a + or - sign.

,

Can occur when you try to convert a String to a numeric value but the String is not well formatted for the conversion.

Solutions on the web

via Stack Overflow by Unknown author, 2 years ago
Invalid int: "null"
via Stack Overflow by Unknown author, 2 years ago
via Stack Overflow by xiahou
, 2 years ago
via Stack Overflow by seetha
, 2 years ago
java.lang.NumberFormatException: Invalid int: "44A. M."
at java.lang.Integer.invalidInt(Integer.java:138)
at java.lang.Integer.parse(Integer.java:410)
at java.lang.Integer.parseInt(Integer.java:367)
at java.lang.Integer.parseInt(Integer.java:334)
at org.opentripplanner.util.DateUtils.secondsPastMidnight(DateUtils.java:179)
at org.opentripplanner.util.DateUtils.secPastMid(DateUtils.java:129)
at org.opentripplanner.util.DateUtils.toDate(DateUtils.java:45)
at org.opentripplanner.api.ws.Request.setDateTime(Request.java:263)
at org.onebusaway.android.directions.util.TripRequestBuilder.execute(TripRequestBuilder.java:237)
at org.onebusaway.android.ui.TripPlanActivity.route(TripPlanActivity.java:253)
at org.onebusaway.android.ui.TripPlanFragment.checkRequestAndSubmit(TripPlanFragment.java:222)
at org.onebusaway.android.ui.TripPlanFragment.access$200(TripPlanFragment.java:71)
at org.onebusaway.android.ui.TripPlanFragment$6.onClick(TripPlanFragment.java:200)
at android.view.View.performClick(View.java:5280)
at android.view.View$PerformClick.run(View.java:21239)
at android.os.Handler.handleCallback(Handler.java:739)
at android.os.Handler.dispatchMessage(Handler.java:95)
at android.os.Looper.loop(Looper.java:224)
at android.app.ActivityThread.main(ActivityThread.java:5526)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:726)

Users with the same issue

Once, 1 month ago
Once, 3 months ago
852 times, 3 months ago
23 times, 4 months ago
3 times, 4 months ago

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.