java.lang.NumberFormatException: For input string: "02473253("

Apache's JIRA Issue Tracker | David King | 7 years 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

    When trying to boot a node: INFO 11:05:16,117 Sampling index for /cassandra/data/permacache/permacache-13662-Data.db ERROR 11:05:17,389 Exception encountered during startup. java.lang.NumberFormatException: For input string: "72392391 " at java.lang.NumberFormatException.forInputString(NumberFormatException.java:65) at java.lang.Integer.parseInt(Integer.java:481) at java.math.BigInteger.<init>(BigInteger.java:343) at java.math.BigInteger.<init>(BigInteger.java:467) at org.apache.cassandra.dht.BigIntegerToken.<init>(BigIntegerToken.java:32) at org.apache.cassandra.dht.RandomPartitioner.convertFromDiskFormat(RandomPartitioner.java:53) at org.apache.cassandra.io.SSTableReader.loadIndexFile(SSTableReader.java:261) at org.apache.cassandra.io.SSTableReader.open(SSTableReader.java:125) at org.apache.cassandra.io.SSTableReader.open(SSTableReader.java:114) at org.apache.cassandra.db.ColumnFamilyStore.<init>(ColumnFamilyStore.java:178) at org.apache.cassandra.db.ColumnFamilyStore.createColumnFamilyStore(ColumnFamilyStore.java:248) at org.apache.cassandra.db.Table.<init>(Table.java:338) at org.apache.cassandra.db.Table.open(Table.java:199) at org.apache.cassandra.thrift.CassandraDaemon.setup(CassandraDaemon.java:91) at org.apache.cassandra.thrift.CassandraDaemon.main(CassandraDaemon.java:177) Exception encountered during startup. java.lang.NumberFormatException: For input string: "72392391 " at java.lang.NumberFormatException.forInputString(NumberFormatException.java:65) at java.lang.Integer.parseInt(Integer.java:481) at java.math.BigInteger.<init>(BigInteger.java:343) at java.math.BigInteger.<init>(BigInteger.java:467) at org.apache.cassandra.dht.BigIntegerToken.<init>(BigIntegerToken.java:32) at org.apache.cassandra.dht.RandomPartitioner.convertFromDiskFormat(RandomPartitioner.java:53) at org.apache.cassandra.io.SSTableReader.loadIndexFile(SSTableReader.java:261) at org.apache.cassandra.io.SSTableReader.open(SSTableReader.java:125) at org.apache.cassandra.io.SSTableReader.open(SSTableReader.java:114) at org.apache.cassandra.db.ColumnFamilyStore.<init>(ColumnFamilyStore.java:178) at org.apache.cassandra.db.ColumnFamilyStore.createColumnFamilyStore(ColumnFamilyStore.java:248) at org.apache.cassandra.db.Table.<init>(Table.java:338) at org.apache.cassandra.db.Table.open(Table.java:199) at org.apache.cassandra.thrift.CassandraDaemon.setup(CassandraDaemon.java:91) at org.apache.cassandra.thrift.CassandraDaemon.main(CassandraDaemon.java:177) I deleted the sstable with the broken key (RF==3, so I figured I could just repair when it came back up), but now instead I get: ERROR 11:16:02,045 Exception encountered during startup. java.lang.NumberFormatException: For input string: "02473253(" at java.lang.NumberFormatException.forInputString(NumberFormatException.java:65) at java.lang.Integer.parseInt(Integer.java:481) at java.math.BigInteger.<init>(BigInteger.java:343) at java.math.BigInteger.<init>(BigInteger.java:467) at org.apache.cassandra.dht.BigIntegerToken.<init>(BigIntegerToken.java:32) at org.apache.cassandra.dht.RandomPartitioner.convertFromDiskFormat(RandomPartitioner.java:53) at org.apache.cassandra.io.SSTableReader.loadIndexFile(SSTableReader.java:261) at org.apache.cassandra.io.SSTableReader.open(SSTableReader.java:125) at org.apache.cassandra.io.SSTableReader.open(SSTableReader.java:114) at org.apache.cassandra.db.ColumnFamilyStore.<init>(ColumnFamilyStore.java:178) at org.apache.cassandra.db.ColumnFamilyStore.createColumnFamilyStore(ColumnFamilyStore.java:248) at org.apache.cassandra.db.Table.<init>(Table.java:338) at org.apache.cassandra.db.Table.open(Table.java:199) at org.apache.cassandra.thrift.CassandraDaemon.setup(CassandraDaemon.java:91) at org.apache.cassandra.thrift.CassandraDaemon.main(CassandraDaemon.java:177) Exception encountered during startup. java.lang.NumberFormatException: For input string: "02473253(" at java.lang.NumberFormatException.forInputString(NumberFormatException.java:65) at java.lang.Integer.parseInt(Integer.java:481) at java.math.BigInteger.<init>(BigInteger.java:343) at java.math.BigInteger.<init>(BigInteger.java:467) at org.apache.cassandra.dht.BigIntegerToken.<init>(BigIntegerToken.java:32) at org.apache.cassandra.dht.RandomPartitioner.convertFromDiskFormat(RandomPartitioner.java:53) at org.apache.cassandra.io.SSTableReader.loadIndexFile(SSTableReader.java:261) at org.apache.cassandra.io.SSTableReader.open(SSTableReader.java:125) at org.apache.cassandra.io.SSTableReader.open(SSTableReader.java:114) at org.apache.cassandra.db.ColumnFamilyStore.<init>(ColumnFamilyStore.java:178) at org.apache.cassandra.db.ColumnFamilyStore.createColumnFamilyStore(ColumnFamilyStore.java:248) at org.apache.cassandra.db.Table.<init>(Table.java:338) at org.apache.cassandra.db.Table.open(Table.java:199) at org.apache.cassandra.thrift.CassandraDaemon.setup(CassandraDaemon.java:91) at org.apache.cassandra.thrift.CassandraDaemon.main(CassandraDaemon.java:177)

    Apache's JIRA Issue Tracker | 7 years ago | David King
    java.lang.NumberFormatException: For input string: "02473253("
  2. 0

    Exception while converting String to BigInteger in Java

    Stack Overflow | 1 year ago | deepclue
    java.lang.NumberFormatException: Illegal embedded sign character
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0

    getting number format exception in JsonToBeanConverter when json entry is a double value

    GitHub | 2 years ago | michaelssun
    java.lang.NumberFormatException: For input string: ".5"
  5. 0

    1.4 LOAD DATA INFILE出错

    GitHub | 2 years ago | ggggggggod
    java.lang.NumberFormatException: For input string: "09 142674"

    2 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: "02473253("

      at java.lang.NumberFormatException.forInputString()
    2. Java RT
      BigInteger.<init>
      1. java.lang.NumberFormatException.forInputString(NumberFormatException.java:65)
      2. java.lang.Integer.parseInt(Integer.java:481)
      3. java.math.BigInteger.<init>(BigInteger.java:343)
      4. java.math.BigInteger.<init>(BigInteger.java:467)
      4 frames
    3. org.apache.cassandra
      SSTableExport.main
      1. org.apache.cassandra.dht.BigIntegerToken.<init>(BigIntegerToken.java:32)
      2. org.apache.cassandra.dht.RandomPartitioner.convertFromDiskFormat(RandomPartitioner.java:53)
      3. org.apache.cassandra.tools.SSTableExport.enumeratekeys(SSTableExport.java:159)
      4. org.apache.cassandra.tools.SSTableExport.main(SSTableExport.java:368)
      4 frames