question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

"TypeError: Cannot read property '0' of undefined" when test fail in jenkins

See original GitHub issue
  1. Newman Version (can be found via newman -v): newman -v 3.4.2

  2. OS details (type, version, and architecture): CentOS 6.8 and newman_alpine33 docker image

  3. Are you using Newman as a library, or via the CLI? CLI

  4. Did you encounter this recently, or has this bug always been there: when

  5. Expected behaviour:

  6. Command / script used to run Newman:

  7. Sample collection, and auxilliary files (minus the sensitive details):

  8. Screenshots (if applicable):

when newman in jenkins and if fail test, newman gets error in cell.js

image

but sucessful in CLI image

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:22 (4 by maintainers)

github_iconTop GitHub Comments

10reactions
wallyuvacommented, Nov 9, 2017

What worked for me was not using -t in the docker run command. My exact syntax was:

docker run -v $temp_folder/postman:/etc/newman \
  postman/newman_alpine33 \
  --collection="my_collection.json" \
  --environment="my_environment.json" \
  --testReportFile="/path/to/results.xml"
6reactions
filfreirecommented, Feb 19, 2019

@kunagpal what was the solution to close this issue?

Read more comments on GitHub >

github_iconTop Results From Across the Web

ERROR in Cannot read property '0' of undefined after upgrade ...
I have moved to a new (test) branch and isolated/deleted all new modules/components/files that have come from merge and after every change I ......
Read more >
Cannot read property '0' of undefined" when test fail in jenkins
"TypeError: Cannot read property '0' of undefined" when test fail in jenkins.
Read more >
Result screen not refreshing with error "Cannot read property ...
TypeError : Cannot read property 'toLowerCase' of null at ... Unhandled Rejection: TypeError: Cannot read property 'self' of undefined at ActivityService.
Read more >
TypeError: Cannot read property 'debounce' of undefined
Unit tests failing: "TypeError: Cannot read property 'debounce' of undefined". Closed, ResolvedPublicPRODUCTION ERROR.
Read more >
typeerror: cannot read properties of undefined (reading 'equal')
The function exported by the plugins file threw an error. We invoked the function exported by `C:\Jenkins\workspace\ABC\cypress\plugins\index.js`, but ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found