java.lang.NumberFormatException: For input string: "+-6"

Stack Overflow | Khaldoun Nd | 2 months ago
  1. 0

    Trying to multiply two operators that are in string form

    Stack Overflow | 2 months ago | Khaldoun Nd
    java.lang.NumberFormatException: For input string: "+-6"
  2. 0

    Exception in thread "main" java.lang.NumberFormatException: For input string: ""

    Stack Overflow | 3 years ago | mihir S
    java.lang.NumberFormatException: For input string: ""
  3. 0

    How do I open hex file in java?

    Stack Overflow | 4 years ago | zarcel
    java.lang.NumberFormatException: For input string: "tîxl¸?
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    How can I write this .txt file into a 2D int array and not receive a NumberFormatException?

    Stack Overflow | 4 years ago | Dusquad
    java.lang.NumberFormatException: For input string: "6 0 0 1 9 5 0 0 0"
  6. 0

    Java lang numberformatexception for input string - Java Programming Help - KnowCoding.com

    knowcoding.com | 9 months ago
    java.lang.NumberFormatException: For input string: "5.843" at java.lang.NumberFormatException.forInputString(Unk nown Source)

  1. Handemelindo 6 times, last 2 days ago
  2. bmacedo 2 times, last 3 days ago
  3. MoYapro 1 times, last 6 days 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: "+-6"

    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:580)
    3. java.lang.Integer.parseInt(Integer.java:615)
    3 frames
  3. Unknown
    test.main
    1. Polynomials.split(Polynomials.java:65)
    2. test.main(test.java:8)
    2 frames