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

Stack Overflow | O. Martinez | 5 months ago
  1. 0

    Error with types in JTable

    Stack Overflow | 5 months ago | O. Martinez
    java.lang.ClassCastException: java.lang.String cannot be cast to java.lang.Double
  2. 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
  3. 0

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

    GitHub | 2 years ago | paramaggarwal
    java.lang.ClassCastException: 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

    Scala asInstanceOf generic type does not fail in Try

    Stack Overflow | 2 years ago | Xzer
    java.lang.ClassCastException: java.lang.String cannot be cast to java.lang.Double
  6. 0

    Players with numbers for names are not handled correctly.

    GitHub | 5 years ago | robnar
    org.bukkit.command.CommandException: Unhandled exception executing command 'pex' in plugin PermissionsEx v1.15

    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.String cannot be cast to java.lang.Double

      at project.Graph.jButton5ActionPerformed()
    2. project
      Graph.jButton5ActionPerformed
      1. project.Graph.jButton5ActionPerformed(Graph.java:286)
      1 frame