java.util.concurrent.ExecutionException: java.lang.NumberFormatException: For input string: "955)10530"

Apache's JIRA Issue Tracker | David King | 7 years ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded 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.util.concurrent.ExecutionException: java.lang.NumberFormatException: For input string: "955)10530"
  2. 0

    Exception while converting String to BigInteger in Java

    Stack Overflow | 2 years 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"

  1. musketyr 1 times, last 2 months ago
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: "955)10530"

    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
    SSTableScanner.next
    1. org.apache.cassandra.dht.BigIntegerToken.<init>(BigIntegerToken.java:32)
    2. org.apache.cassandra.dht.RandomPartitioner.convertFromDiskFormat(RandomPartitioner.java:53)
    3. org.apache.cassandra.io.IteratingRow.<init>(IteratingRow.java:48)
    4. org.apache.cassandra.io.SSTableScanner$KeyScanningIterator.next(SSTableScanner.java:136)
    5. org.apache.cassandra.io.SSTableScanner$KeyScanningIterator.next(SSTableScanner.java:113)
    6. org.apache.cassandra.io.SSTableScanner.next(SSTableScanner.java:105)
    7. org.apache.cassandra.io.SSTableScanner.next(SSTableScanner.java:34)
    7 frames
  4. Commons Collections
    CollatingIterator.next
    1. org.apache.commons.collections.iterators.FilterIterator.setNextObject(FilterIterator.java:184)
    2. org.apache.commons.collections.iterators.FilterIterator.hasNext(FilterIterator.java:94)
    3. org.apache.commons.collections.iterators.CollatingIterator.set(CollatingIterator.java:283)
    4. org.apache.commons.collections.iterators.CollatingIterator.least(CollatingIterator.java:326)
    5. org.apache.commons.collections.iterators.CollatingIterator.next(CollatingIterator.java:230)
    5 frames
  5. Apache Cassandra
    ReducingIterator.computeNext
    1. org.apache.cassandra.utils.ReducingIterator.computeNext(ReducingIterator.java:68)
    1 frame
  6. Guava
    AbstractIterator.hasNext
    1. com.google.common.collect.AbstractIterator.tryToComputeNext(AbstractIterator.java:135)
    2. com.google.common.collect.AbstractIterator.hasNext(AbstractIterator.java:130)
    2 frames
  7. Commons Collections
    FilterIterator.hasNext
    1. org.apache.commons.collections.iterators.FilterIterator.setNextObject(FilterIterator.java:183)
    2. org.apache.commons.collections.iterators.FilterIterator.hasNext(FilterIterator.java:94)
    2 frames
  8. org.apache.cassandra
    CompactionManager$2.call
    1. org.apache.cassandra.db.CompactionManager.doAntiCompaction(CompactionManager.java:368)
    2. org.apache.cassandra.db.CompactionManager.doCleanupCompaction(CompactionManager.java:411)
    3. org.apache.cassandra.db.CompactionManager.access$400(CompactionManager.java:49)
    4. org.apache.cassandra.db.CompactionManager$2.call(CompactionManager.java:130)
    4 frames
  9. Java RT
    Thread.run
    1. java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
    2. java.util.concurrent.FutureTask.run(FutureTask.java:166)
    3. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
    4. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
    5. java.lang.Thread.run(Thread.java:636)
    5 frames