java.lang.NumberFormatException: For input string: "3 (Normal)"

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 Oracle Community by Juw, 1 year ago
via Coderanch by Mohamed Sanaulla, 1 year ago
For input string: "-0.07114248241288923"
via GitHub by spoenemann
, 5 months ago
For input string: " 1"
via GitHub by mackaiver
, 1 year ago
For input string: "2348810360"
via java2s.com by Unknown author, 10 months ago
java.lang.NumberFormatException: For input string: "3 (Normal)"
at java.lang.NumberFormatException.forInputString(NumberFormatException.java:48)
at java.lang.Integer.parseInt(Integer.java:458)
at java.lang.Integer.parseInt(Integer.java:499)
at oracle.sdpinternal.messaging.driver.email.EmailResourceAdapter$Worker.setMessagePriority(EmailResourceAdapter.java:1607)
at oracle.sdpinternal.messaging.driver.email.EmailResourceAdapter$Worker.onMessage(EmailResourceAdapter.java:1405)
at oracle.sdpinternal.messaging.driver.email.EmailResourceAdapter$Worker.onMessage(EmailResourceAdapter.java:1232)
at oracle.sdpinternal.messaging.driver.email.EmailResourceAdapter$Worker.getNewMailFromStore(EmailResourceAdapter.java:1198)
at oracle.sdpinternal.messaging.driver.email.EmailResourceAdapter$Worker.run(EmailResourceAdapter.java:1157)
at weblogic.connector.security.layer.WorkImpl.runIt(WorkImpl.java:108)
at weblogic.connector.security.layer.WorkImpl.run(WorkImpl.java:44)
at weblogic.connector.work.WorkRequest.run(WorkRequest.java:95)
at weblogic.connector.work.LongRunningWorkRequest.run(LongRunningWorkRequest.java:29)
at java.lang.Thread.run(Thread.java:662)

Users with the same issue

4 times, 5 days ago
16 times, 6 days ago
6 times, 1 week ago
30 times, 1 week ago
2 times, 2 weeks ago

Write tip

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