tornaia / karma-sonarqube-unit-reporter

A Karma plugin. Unit tests execution report for SonarQube/Generic Coverage Plugin
MIT License
33 stars 28 forks source link

Cannot read property 'children' of undefined at SonarQubeUnitReporter.specSuccess.specSkipped.specFailure at karma-sonar-qube-repoter #53

Closed karthik2294 closed 4 years ago

karthik2294 commented 4 years ago

Angular (Angular 9) Testing is running successfully in local, but it is failing in jenkins server, it happens randomly sometime when i rebuild it get passed, but most of the time, it is failing, this is my packages { "jasmine-core": "~2.6.2", "jasmine-spec-reporter": "~4.1.0", "karma": "^1.7.0", "karma-chrome-launcher": "^2.1.1", "karma-cli": "~1.0.1", "karma-jasmine": "~1.1.0", "karma-jasmine-html-reporter": "^0.2.2", "karma-sonarqube-unit-reporter": "0.0.18", "karma-coverage-istanbul-reporter": "^2.1.1", "karma-spec-reporter": "0.0.32", }

Karma.Config

image

Error image

please let me know if i need to update something, this is irritating for the past 2 days

miguelduarte commented 3 years ago

Hi @karthik2294 ,

How did you solve this problem? I'm running into the same issue and getting the same error

seppi91 commented 3 years ago

Facing the same issue in our CI Server would be interested in your solution @karthik2294

lanfeng commented 1 year ago

@seppi91 @miguelduarte @seppi91 we met the same issue recently. can you please share your solution to fix the issue? thanks

rajeshkumar9605 commented 1 year ago

Hi @karthik2294 ,

i also getting the same error. could you please help me to solve this?

jizzaki commented 1 year ago

We are also getting the same error, would love to know what you did to solve.

sebastianteres commented 1 year ago

I opened another issue (#72) since it's not clear how to resolve this.

jignesh3094 commented 9 months ago

Hello what is the solution of this error?