java.lang.NumberFormatException: For input string: "0 7525600" 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)

Apache's JIRA Issue Tracker | David King | 7 years ago
  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: "0 7525600" 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)
  2. 0

    how should I insert decimal values via cqlsh (DecimalSerializer.deserialize erorr when attempting)?

    Stack Overflow | 3 years ago
    java.lang.NumberFormatException: Zero length BigInteger at java.math.BigInteger.&lt;init&gt;(BigInteger.java:190)
  3. 0

    FULL PRODUCT VERSION : java version "9-ea" Java(TM) SE Runtime Environment (build 9-ea+114) Java HotSpot(TM) 64-Bit Server VM (build 9-ea+114, mixed mode) ADDITIONAL OS VERSION INFORMATION : Microsoft Windows [Version 6.1.7601] A DESCRIPTION OF THE PROBLEM : ImageIO.getImageReadersByFormatName("JPEG"); fails, but only if jai_imageio.jar (version 1.1, file size 1140632) is in the class path. REGRESSION. Last worked in version 8u91 ADDITIONAL REGRESSION INFORMATION: java version "1.8.0_91" Java(TM) SE Runtime Environment (build 1.8.0_91-b14) Java HotSpot(TM) 64-Bit Server VM (build 25.91-b14, mixed mode) STEPS TO FOLLOW TO REPRODUCE THE PROBLEM : compile the code on jdk8, then run it on jdk9: "C:\Program Files\Java\jre-9\bin\java" -cp "XXXX\JDK9Test\dist\JDK9Test.jar;XXXX\lib\*" jdk9test.JDK9Test and have jai_imageio.jar in the lib directory EXPECTED VERSUS ACTUAL BEHAVIOR : EXPECTED - normal end ACTUAL - a stack trace ERROR MESSAGES/STACK TRACES THAT OCCUR : Exception in thread "main" java.lang.ExceptionInInitializerError at jdk9test.JDK9Test.main(JDK9Test.java:11) Caused by: java.lang.NumberFormatException: For input string: "" at java.lang.NumberFormatException.forInputString(java.base@9-ea/NumberFormatException.java:65) at java.lang.Integer.parseInt(java.base@9-ea/Integer.java:705) at java.lang.Integer.parseInt(java.base@9-ea/Integer.java:813) at com.sun.media.imageioimpl.common.ImageUtil.processOnRegistration(ImageUtil.java:1408) at com.sun.media.imageioimpl.plugins.wbmp.WBMPImageReaderSpi.onRegistration(WBMPImageReaderSpi.java:95) at javax.imageio.spi.SubRegistry.registerServiceProvider(java.desktop@9-ea/ServiceRegistry.java:773) at javax.imageio.spi.ServiceRegistry.registerServiceProvider(java.desktop@9-ea/ServiceRegistry.java:328) at javax.imageio.spi.IIORegistry.registerApplicationClasspathSpis(java.desktop@9-ea/IIORegistry.java:214) at javax.imageio.spi.IIORegistry.<init>(java.desktop@9-ea/IIORegistry.java:138) at javax.imageio.spi.IIORegistry.getDefaultInstance(java.desktop@9-ea/IIORegistry.java:159) at javax.imageio.ImageIO.<clinit>(java.desktop@9-ea/ImageIO.java:66) ... 1 more REPRODUCIBILITY : This bug can be reproduced always. ---------- BEGIN SOURCE ---------- package jdk9test; import java.util.Iterator; import javax.imageio.ImageIO; import javax.imageio.ImageReader; public class JDK9Test { public static void main(String[] args) { ImageIO.getImageReadersByFormatName("JPEG"); } } ---------- END SOURCE ----------

    JDK Bug System | 8 months ago | Webbug Group
    java.lang.NumberFormatException: For input string: "" at java.lang.NumberFormatException.forInputString(java.base/NumberFormatException.java:65) at java.lang.Integer.parseInt(java.base/Integer.java:705) at java.lang.Integer.parseInt(java.base/Integer.java:813)
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Java blackjack program beginer

    Stack Overflow | 1 year ago | user3862586
    java.lang.NumberFormatException: For input string: "King" at java.lang.NumberFormatException.forInputString(NumberFormatException.java:65) at java.lang.Integer.parseInt(Integer.java:580)
  6. 0

    I am getting a Radix out of range exception on performing decryption

    Stack Overflow | 3 years ago | user3672391
    java.lang.NumberFormatException: Radix out of range at java.math.BigInteger.&lt;init&gt;(BigInteger.java:294)

    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: "0 7525600" 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()
    2. org.apache.cassandra
      StreamCompletionHandler.onStreamCompletion
      1. org.apache.cassandra.io.SSTableReader.open(SSTableReader.java:114)
      2. org.apache.cassandra.io.SSTableWriter.renameAndOpen(SSTableWriter.java:166)
      3. org.apache.cassandra.streaming.StreamCompletionHandler.onStreamCompletion(StreamCompletionHandler.java:61)
      3 frames