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

Samebug tips0

There are no available Samebug tips for this exception. If you know how to solve this issue, help other users by writing a short tip.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web19437

  • via Jenkins JIRA by François Benaiteau, 11 months ago cannot be cast to java.lang.String
  • via Google Groups by (JIRA), 1 year ago cannot be cast to java.lang.String
  • via Jenkins JIRA by François Benaiteau, 1 year ago cannot be cast to java.lang.String
  • Stack trace

    • java.lang.ClassCastException: cannot be cast to java.lang.String at gherkin.JSONParser.getString( at gherkin.JSONParser.location( at gherkin.JSONParser.step( at gherkin.JSONParser.parse( at org.jenkinsci.plugins.cucumber.jsontestsupport.CucumberJSONParser.parse( at org.jenkinsci.plugins.cucumber.jsontestsupport.CucumberJSONParser.parse( at org.jenkinsci.plugins.cucumber.jsontestsupport.DefaultTestResultParserImpl$ParseResultCallable.invoke( at org.jenkinsci.plugins.cucumber.jsontestsupport.DefaultTestResultParserImpl$ParseResultCallable.invoke( at hudson.FilePath.act( at hudson.FilePath.act( at org.jenkinsci.plugins.cucumber.jsontestsupport.DefaultTestResultParserImpl.parse( at org.jenkinsci.plugins.cucumber.jsontestsupport.CucumberJSONParser.parse( at org.jenkinsci.plugins.cucumber.jsontestsupport.CucumberTestResultArchiver.perform( at hudson.tasks.BuildStepMonitor$1.perform( at hudson.model.AbstractBuild$AbstractBuildExecution.perform( at hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps( at hudson.model.Build$BuildExecution.post2( at hudson.model.AbstractBuild$ at hudson.model.Run.execute( at at hudson.model.ResourceController.execute( at

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    You’re the first here who have seen this exception.