java.lang.RuntimeException: java.lang.Double cannot be cast to java.lang.String

hive-user | Steven Wong | 6 years ago
  1. 0

    RE: java.lang.RuntimeException: java.lang.Double cannot be cast to java.lang.String

    apache.org | 11 months ago
    java.lang.RuntimeException: java.lang.Double cannot be cast to java.lang.String
  2. 0

    Re: java.lang.RuntimeException: java.lang.Double cannot be cast to java.lang.String

    hadoop-hive-user | 6 years ago | Hock Zoltán
    java.lang.RuntimeException: java.lang.Double cannot be cast to java.lang.String
  3. 0

    RE: java.lang.RuntimeException: java.lang.Double cannot be cast to java.lang.String

    hadoop-hive-user | 6 years ago | Steven Wong
    java.lang.RuntimeException: java.lang.Double cannot be cast to java.lang.String
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    RE: java.lang.RuntimeException: java.lang.Double cannot be cast to java.lang.String

    hive-user | 6 years ago | Steven Wong
    java.lang.RuntimeException: java.lang.Double cannot be cast to java.lang.String
  6. 0

    This is the error i got in the console for the job when it tried to parse the attached json file. {code} [Cucumber Tests] Parsing results. [Cucumber Tests] parsing cucumber.json ERROR: Build step failed with exception java.lang.ClassCastException: java.lang.Double cannot be cast to java.lang.String at gherkin.JSONParser.step(JSONParser.java:131) at gherkin.JSONParser.parse(JSONParser.java:51) at org.jenkinsci.plugins.cucumber.jsontestsupport.CucumberJSONParser.parse(CucumberJSONParser.java:94) at org.jenkinsci.plugins.cucumber.jsontestsupport.CucumberJSONParser.parse(CucumberJSONParser.java:44) at org.jenkinsci.plugins.cucumber.jsontestsupport.DefaultTestResultParserImpl$ParseResultCallable.invoke(DefaultTestResultParserImpl.java:161) at org.jenkinsci.plugins.cucumber.jsontestsupport.DefaultTestResultParserImpl$ParseResultCallable.invoke(DefaultTestResultParserImpl.java:107) at hudson.FilePath.act(FilePath.java:989) at hudson.FilePath.act(FilePath.java:967) at org.jenkinsci.plugins.cucumber.jsontestsupport.DefaultTestResultParserImpl.parse(DefaultTestResultParserImpl.java:101) at org.jenkinsci.plugins.cucumber.jsontestsupport.CucumberJSONParser.parse(CucumberJSONParser.java:116) at org.jenkinsci.plugins.cucumber.jsontestsupport.CucumberTestResultArchiver.perform(CucumberTestResultArchiver.java:93) at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20) at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:761) at hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:721) at hudson.model.Build$BuildExecution.post2(Build.java:183) at hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:670) at hudson.model.Run.execute(Run.java:1766) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43) at hudson.model.ResourceController.execute(ResourceController.java:98) at hudson.model.Executor.run(Executor.java:374) Build step 'Publish Cucumber test result report' marked build as failure {code}

    Jenkins JIRA | 2 years ago | olivier destrebecq
    java.lang.ClassCastException: java.lang.Double cannot be cast to java.lang.String

    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.ClassCastException

      java.lang.Double cannot be cast to java.lang.String

      at org.apache.hadoop.hive.serde2.objectinspector.primitive.JavaStringObjectInspector.getPrimitiveWritableObject()
    2. Hive Serde
      BinarySortableSerDe.serialize
      1. org.apache.hadoop.hive.serde2.objectinspector.primitive.JavaStringObjectInspector.getPrimitiveWritableObject(JavaStringObjectInspector.java:35)
      2. org.apache.hadoop.hive.serde2.binarysortable.BinarySortableSerDe.serialize(BinarySortableSerDe.java:506)
      3. org.apache.hadoop.hive.serde2.binarysortable.BinarySortableSerDe.serialize(BinarySortableSerDe.java:399)
      3 frames
    3. Hive Query Language
      ExecMapper.map
      1. org.apache.hadoop.hive.ql.exec.ReduceSinkOperator.processOp(ReduceSinkOperator.java:162)
      2. org.apache.hadoop.hive.ql.exec.Operator.process(Operator.java:386)
      3. org.apache.hadoop.hive.ql.exec.Operator.forward(Operator.java:598)
      4. org.apache.hadoop.hive.ql.exec.SelectOperator.processOp(SelectOperator.java:81)
      5. org.apache.hadoop.hive.ql.exec.Operator.process(Operator.java:386)
      6. org.apache.hadoop.hive.ql.exec.Operator.forward(Operator.java:598)
      7. org.apache.hadoop.hive.ql.exec.FilterOperator.processOp(FilterOperator.java:73)
      8. org.apache.hadoop.hive.ql.exec.Operator.process(Operator.java:386)
      9. org.apache.hadoop.hive.ql.exec.Operator.forward(Operator.java:598)
      10. org.apache.hadoop.hive.ql.exec.FilterOperator.processOp(FilterOperator.java:73)
      11. org.apache.hadoop.hive.ql.exec.Operator.process(Operator.java:386)
      12. org.apache.hadoop.hive.ql.exec.Operator.forward(Operator.java:598)
      13. org.apache.hadoop.hive.ql.exec.TableScanOperator.processOp(TableScanOperator.java:43)
      14. org.apache.hadoop.hive.ql.exec.Operator.process(Operator.java:386)
      15. org.apache.hadoop.hive.ql.exec.Operator.forward(Operator.java:598)
      16. org.apache.hadoop.hive.ql.exec.MapOperator.process(MapOperator.java:350)
      17. org.apache.hadoop.hive.ql.exec.ExecMapper.map(ExecMapper.java:171)
      17 frames
    4. Hadoop
      Child.main
      1. org.apache.hadoop.mapred.MapRunner.run(MapRunner.java:50)
      2. org.apache.hadoop.mapred.MapTask.runOldMapper(MapTask.java:358)
      3. org.apache.hadoop.mapred.MapTask.run(MapTask.java:307)
      4. org.apache.hadoop.mapred.Child.main(Child.java:170)
      4 frames