java.util.IllegalFormatConversionException: d != java.lang.Double

JIRA | Arno Candel | 11 months ago
  1. 0

    {code} INFO: Method: POST , URI: /3/Parse, route: /3/Parse, parms: {number_columns=9, source_frames=["nfs://home3/jenkins/slave_dir_from_mr-0xb1/workspace/h2o_master_DEV_pyunit_small_J6/smalldata/junit/cars_20mpg.csv"], single_quotes=False, column_types=["Enum","Numeric","Numeric","Numeric","Numeric","Numeric","Numeric","Numeric","Numeric"], parse_type=CSV, destination_frame=cars_20mpg.hex, delete_on_done=True, column_names=["name","economy","cylinders","displacement","power","weight","acceleration","year","economy_20mpg"], check_header=1, separator=44, blocking=False, chunk_size=4194304} 01-24 15:34:10.462 172.16.2.180:56793 26601 #26081-17 INFO: Method: POST , URI: /99/Rapids, route: /99/Rapids, parms: {ast=(tmp= py_1 (:= cars_20mpg.hex (as.factor (cols_py cars_20mpg.hex "cylinders")) 2 [])), session_id=_sid_a5c4} 01-24 15:34:10.470 172.16.2.180:56793 26601 #26081-15 INFO: Method: POST , URI: /3/ModelBuilders/drf, route: /3/ModelBuilders/drf, parms: {seed=1234, training_frame=py_1, response_column=cylinders, ignored_columns=["economy_20mpg","name","economy"], fold_assignment=Modulo, nfolds=5} {code} Fails with {code} 01-24 15:34:19.929 172.16.2.180:56793 26601 FJ-2-7 INFO: 2016-01-24 15:34:19 0.007 sec 0 NaN NaN NaN 1.00000 34.53878 0.75342 onExCompletion for hex.tree.SharedTree$ScoreBuildOneTree@69123787 java.util.IllegalFormatConversionException: d != java.lang.Double at java.util.Formatter$FormatSpecifier.failConversion(Formatter.java:3999) at java.util.Formatter$FormatSpecifier.printInteger(Formatter.java:2709) at java.util.Formatter$FormatSpecifier.print(Formatter.java:2661) at java.util.Formatter.format(Formatter.java:2433) at java.util.Formatter.format(Formatter.java:2367) at java.lang.String.format(String.java:2769) at hex.tree.DHistogram.toString(DHistogram.java:226) at java.lang.String.valueOf(String.java:2826) at java.lang.StringBuilder.append(StringBuilder.java:115) at hex.tree.DHistogram.bin(DHistogram.java:122) at hex.tree.ScoreBuildHistogram.overAllRows(ScoreBuildHistogram.java:267) at hex.tree.ScoreBuildHistogram.accum_all(ScoreBuildHistogram.java:233) at hex.tree.ScoreBuildHistogram.map(ScoreBuildHistogram.java:108) at water.MRTask.compute2(MRTask.java:613) at water.H2O$H2OCountedCompleter.compute1(H2O.java:1084) at hex.tree.ScoreBuildHistogram$Icer.compute1(ScoreBuildHistogram$Icer.java) at water.H2O$H2OCountedCompleter.compute(H2O.java:1080) at jsr166y.CountedCompleter.exec(CountedCompleter.java:468) at jsr166y.ForkJoinTask.doExec(ForkJoinTask.java:263) at jsr166y.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:974) at jsr166y.ForkJoinPool.runWorker(ForkJoinPool.java:1477) at jsr166y.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:104) {code} So 2 errors at once: out-of-bounds in histogram building that fails to print because of some type mismatch.

    JIRA | 11 months ago | Arno Candel
    java.util.IllegalFormatConversionException: d != java.lang.Double
  2. 0

    {code} INFO: Method: POST , URI: /3/Parse, route: /3/Parse, parms: {number_columns=9, source_frames=["nfs://home3/jenkins/slave_dir_from_mr-0xb1/workspace/h2o_master_DEV_pyunit_small_J6/smalldata/junit/cars_20mpg.csv"], single_quotes=False, column_types=["Enum","Numeric","Numeric","Numeric","Numeric","Numeric","Numeric","Numeric","Numeric"], parse_type=CSV, destination_frame=cars_20mpg.hex, delete_on_done=True, column_names=["name","economy","cylinders","displacement","power","weight","acceleration","year","economy_20mpg"], check_header=1, separator=44, blocking=False, chunk_size=4194304} 01-24 15:34:10.462 172.16.2.180:56793 26601 #26081-17 INFO: Method: POST , URI: /99/Rapids, route: /99/Rapids, parms: {ast=(tmp= py_1 (:= cars_20mpg.hex (as.factor (cols_py cars_20mpg.hex "cylinders")) 2 [])), session_id=_sid_a5c4} 01-24 15:34:10.470 172.16.2.180:56793 26601 #26081-15 INFO: Method: POST , URI: /3/ModelBuilders/drf, route: /3/ModelBuilders/drf, parms: {seed=1234, training_frame=py_1, response_column=cylinders, ignored_columns=["economy_20mpg","name","economy"], fold_assignment=Modulo, nfolds=5} {code} Fails with {code} 01-24 15:34:19.929 172.16.2.180:56793 26601 FJ-2-7 INFO: 2016-01-24 15:34:19 0.007 sec 0 NaN NaN NaN 1.00000 34.53878 0.75342 onExCompletion for hex.tree.SharedTree$ScoreBuildOneTree@69123787 java.util.IllegalFormatConversionException: d != java.lang.Double at java.util.Formatter$FormatSpecifier.failConversion(Formatter.java:3999) at java.util.Formatter$FormatSpecifier.printInteger(Formatter.java:2709) at java.util.Formatter$FormatSpecifier.print(Formatter.java:2661) at java.util.Formatter.format(Formatter.java:2433) at java.util.Formatter.format(Formatter.java:2367) at java.lang.String.format(String.java:2769) at hex.tree.DHistogram.toString(DHistogram.java:226) at java.lang.String.valueOf(String.java:2826) at java.lang.StringBuilder.append(StringBuilder.java:115) at hex.tree.DHistogram.bin(DHistogram.java:122) at hex.tree.ScoreBuildHistogram.overAllRows(ScoreBuildHistogram.java:267) at hex.tree.ScoreBuildHistogram.accum_all(ScoreBuildHistogram.java:233) at hex.tree.ScoreBuildHistogram.map(ScoreBuildHistogram.java:108) at water.MRTask.compute2(MRTask.java:613) at water.H2O$H2OCountedCompleter.compute1(H2O.java:1084) at hex.tree.ScoreBuildHistogram$Icer.compute1(ScoreBuildHistogram$Icer.java) at water.H2O$H2OCountedCompleter.compute(H2O.java:1080) at jsr166y.CountedCompleter.exec(CountedCompleter.java:468) at jsr166y.ForkJoinTask.doExec(ForkJoinTask.java:263) at jsr166y.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:974) at jsr166y.ForkJoinPool.runWorker(ForkJoinPool.java:1477) at jsr166y.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:104) {code} So 2 errors at once: out-of-bounds in histogram building that fails to print because of some type mismatch.

    JIRA | 11 months ago | Arno Candel
    java.util.IllegalFormatConversionException: d != java.lang.Double
  3. 0

    Java: String Formatting

    Stack Overflow | 3 years ago | user102817
    java.util.IllegalFormatConversionException: d != java.lang.Double
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    IllegalFormatConversionException[d != java.lang.Double]

    Google Groups | 2 years ago | Germain
    java.util.IllegalFormatConversionException: d != java.lang.Double
  6. 0

    Error after clicking Fleets tab in Colony Info screen.

    GitHub | 2 years ago | GoogleCodeExporter
    java.util.IllegalFormatConversionException: d != java.lang.Double

  1. bmacedo 3 times, last 1 week ago
  2. iridic 3 times, last 1 month ago
  3. Ranjana Dangol 8 times, last 5 months ago
  4. Diogo Jaym 6 times, last 6 months ago
  5. silex 2 times, last 8 months ago
2 more registered users
11 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.util.IllegalFormatConversionException

    d != java.lang.Double

    at java.util.Formatter$FormatSpecifier.failConversion()
  2. Java RT
    String.format
    1. java.util.Formatter$FormatSpecifier.failConversion(Formatter.java:3999)
    2. java.util.Formatter$FormatSpecifier.printInteger(Formatter.java:2709)
    3. java.util.Formatter$FormatSpecifier.print(Formatter.java:2661)
    4. java.util.Formatter.format(Formatter.java:2433)
    5. java.util.Formatter.format(Formatter.java:2367)
    6. java.lang.String.format(String.java:2769)
    6 frames
  3. hex.tree
    DHistogram.toString
    1. hex.tree.DHistogram.toString(DHistogram.java:226)
    1 frame
  4. Java RT
    StringBuilder.append
    1. java.lang.String.valueOf(String.java:2826)
    2. java.lang.StringBuilder.append(StringBuilder.java:115)
    2 frames
  5. hex.tree
    ScoreBuildHistogram.map
    1. hex.tree.DHistogram.bin(DHistogram.java:122)
    2. hex.tree.ScoreBuildHistogram.overAllRows(ScoreBuildHistogram.java:267)
    3. hex.tree.ScoreBuildHistogram.accum_all(ScoreBuildHistogram.java:233)
    4. hex.tree.ScoreBuildHistogram.map(ScoreBuildHistogram.java:108)
    4 frames
  6. water
    H2O$H2OCountedCompleter.compute1
    1. water.MRTask.compute2(MRTask.java:613)
    2. water.H2O$H2OCountedCompleter.compute1(H2O.java:1084)
    2 frames
  7. hex.tree
    ScoreBuildHistogram$Icer.compute1
    1. hex.tree.ScoreBuildHistogram$Icer.compute1(ScoreBuildHistogram$Icer.java)
    1 frame
  8. water
    H2O$H2OCountedCompleter.compute
    1. water.H2O$H2OCountedCompleter.compute(H2O.java:1080)
    1 frame
  9. jsr166y
    ForkJoinWorkerThread.run
    1. jsr166y.CountedCompleter.exec(CountedCompleter.java:468)
    2. jsr166y.ForkJoinTask.doExec(ForkJoinTask.java:263)
    3. jsr166y.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:974)
    4. jsr166y.ForkJoinPool.runWorker(ForkJoinPool.java:1477)
    5. jsr166y.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:104)
    5 frames