Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TypeError: Cannot read properties of null (reading 'length') #108

Open
amcintyre98 opened this issue Oct 17, 2024 · 1 comment
Open

TypeError: Cannot read properties of null (reading 'length') #108

amcintyre98 opened this issue Oct 17, 2024 · 1 comment

Comments

@amcintyre98
Copy link

amcintyre98 commented Oct 17, 2024

Running your latest release 2.0.12 with node v20.16 on z/OS.

This code has been working fine with only this single issue (one time failed). Ran a 2nd time and worked so sounds performance related.

memb = await za.downloadDataset(dsn + '(' + ent.name + ')')
mems = memb.toString()
mcnt = mems.match(/\n/g).length

One time got this error. Rerunning with same input works fine.
mcnt = mems.match(/\n/g).length
¬
TypeError: Cannot read properties of null (reading 'length')
at main (/XSYS/u/z1234567/genxlsx.js:230:31)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)

thanks,
Andrew

@amcintyre98
Copy link
Author

failed for the 2nd time today with same issue, usually runs 3 or 4 times a week so very intermittent

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant