Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-53987

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

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Blocker Blocker
    • None
    • Jenkins ver. 2.111

      Tests pass, failure on creating report.  

      please let me know if you need more info 

       

       ........
      Using CFPropertyList 3.0.0
      Using concurrent-ruby 1.0.5
      Using i18n 0.9.5
      Using multi_json 1.13.1
      Using activesupport 3.2.22.5
      Using public_suffix 3.0.2
      Using addressable 2.5.2
      Using awesome_print 1.8.0
      Using json 2.1.0
      Using mini_portile2 2.3.0
      Using nokogiri 1.8.2
      Using ffi 1.9.23
      Using childprocess 0.9.0
      Using rubyzip 1.2.1
      Using selenium-webdriver 3.11.0
      Using tomlrb 1.2.6
      Using appium_lib 9.7.1
      Using builder 3.2.3
      Using bundler 1.16.0
      Using mini_mime 1.0.0
      Using rack 2.0.4
      Using rack-test 1.0.0
      Using xpath 3.0.0
      Using capybara 2.18.0
      Using chunky_png 1.3.6
      Using cliver 0.3.2
      Using diff-lcs 1.3
      Using gherkin 2.12.2
      Using multi_test 0.1.2
      Using cucumber 1.3.20
      Using unf_ext 0.0.7.5
      Using unf 0.1.4
      Using domain_name 0.5.20170404
      Using multipart-post 2.0.0
      Using faraday 0.14.0
      Using oily_png 1.2.0
      Using oj 2.18.2
      Using websocket-extensions 0.1.3
      Using websocket-driver 0.7.0
      Using poltergeist 1.17.0
      Using eyes_selenium 2.39.0
      Using git 1.3.0
      Using highline 1.7.10
      Using http-cookie 1.0.3
      Using multi_xml 0.6.0
      Using httparty 0.11.0
      Using ios-deploy 1.5.0
      Using mime-types-data 3.2016.0521
      Using mime-types 3.1
      Using naturally 2.1.0
      Using net-ssh 4.2.0
      Using net-scp 1.2.1
      Using net-sftp 2.1.2
      Using netrc 0.11.0
      Using rest-client 2.0.2
      Using rspec-support 3.7.1
      Using rspec-core 3.7.1
      Using rspec-expectations 3.7.0
      Using rspec-mocks 3.7.0
      Using rspec 3.7.0
      Using simctl 1.6.3
      Using testrail 0.0.3
      ....................
       

      11 scenarios (11 passed)

      147 steps (147 passed)

      47m46.176s

      [AS1_Android_Client_Tests_Release_Candidate] $ /bin/bash /var/folders/jy/nvtds44j51997l5n0dc_cnp80000gp/T/jenkins1679286573190577668.sh

      1.5.20[RC]

      531

      [EnvInject] - Injecting environment variables from a build step.

      [EnvInject] - Injecting as environment variables the properties file path 'propsfile'

      [EnvInject] - Variables injected successfully.

      [AS1_Android_Client_Tests_Release_Candidate] $ /bin/bash -l /var/folders/jy/nvtds44j51997l5n0dc_cnp80000gp/T/jenkins5375350845591340827.sh

      *no build info added*

       

      TestRun Id used:

      TestCaseId: 179162

      TestCaseId: 264293

      TestCaseId: 179163

      TestCaseId: 264296

      TestCaseId: 179272

      TestCaseId: 179271

      TestCaseId:

      TestCaseId: 179161

      TestCaseId:

      TestCaseId: 264299

      TestCaseId: 264297

      [description-setter] Description set: MODULE= APP_VERSION=1.5.20[RC] ANDROID_BUILD_NUMBER=531 DEVICE_NAME=Pixel2-9-QA DEVICE_VERSION=9.0

      Archiving artifacts

      [Cucumber Tests] Parsing results.

      [Cucumber Tests] parsing features_report.json

      ERROR: Build step failed with exception

      Also:   hudson.remoting.Channel$CallSiteStackTrace: Remote call to mac_mini_10.10.0.213

      at hudson.remoting.Channel.attachCallSiteStackTrace(Channel.java:1737)

      at hudson.remoting.UserResponse.retrieve(UserRequest.java:313)

      at hudson.remoting.Channel.call(Channel.java:952)

      at hudson.FilePath.act(FilePath.java:998)

      at hudson.FilePath.act(FilePath.java:987)

      at org.jenkinsci.plugins.cucumber.jsontestsupport.DefaultTestResultParserImpl.parseResult(DefaultTestResultParserImpl.java:100)

      at org.jenkinsci.plugins.cucumber.jsontestsupport.CucumberJSONParser.parseResult(CucumberJSONParser.java:101)

      at org.jenkinsci.plugins.cucumber.jsontestsupport.CucumberTestResultArchiver.publishReport(CucumberTestResultArchiver.java:134)

      at org.jenkinsci.plugins.cucumber.jsontestsupport.CucumberTestResultArchiver.perform(CucumberTestResultArchiver.java:113)

      at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20)

      at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:744)

      at hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:690)

      at hudson.model.Build$BuildExecution.post2(Build.java:186)

      at hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:635)

      at hudson.model.Run.execute(Run.java:1752)

      at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)

      at hudson.model.ResourceController.execute(ResourceController.java:97)

      at hudson.model.Executor.run(Executor.java:429)

      java.lang.ClassCastException: java.lang.Boolean 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:78)

      at org.jenkinsci.plugins.cucumber.jsontestsupport.CucumberJSONParser.parse(CucumberJSONParser.java:44)

      at org.jenkinsci.plugins.cucumber.jsontestsupport.DefaultTestResultParserImpl$ParseResultCallable.invoke(DefaultTestResultParserImpl.java:160)

      at org.jenkinsci.plugins.cucumber.jsontestsupport.DefaultTestResultParserImpl$ParseResultCallable.invoke(DefaultTestResultParserImpl.java:106)

      at hudson.FilePath$FileCallableWrapper.call(FilePath.java:2816)

      at hudson.remoting.UserRequest.perform(UserRequest.java:210)

      at hudson.remoting.UserRequest.perform(UserRequest.java:53)

      at hudson.remoting.Request$2.run(Request.java:364)

      at hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:72)

      at java.util.concurrent.FutureTask.run(FutureTask.java:266)

      at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)

      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)

      at java.lang.Thread.run(Thread.java:748)

      Build step 'Publish Cucumber test result report' marked build as failure

      [INFO] HipChat notification sent to the following rooms: Test Club

      Finished: FAILURE

            dszczepanik Damian Szczepanik
            trjones87 Tyler Jones
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: