ERROR TypeError: 无法读取 null 的属性(读取 ‘pendingTaskDonePromise’)

huangapple go评论54阅读模式
英文:

ERROR TypeError: Cannot read properties of null (reading 'pendingTaskDonePromise')

问题

我正在使用Jenkins来运行一些测试。在更新到testcafe的最新版本后,我们似乎遇到了一些错误。

12:13:30 错误 TypeError: 无法读取 null 的属性(读取 'pendingTaskDonePromise'12:13:30     在 /var/lib/jenkins/workspace/uptests_testcafeeII/node_modules/testcafe/src/runner/index.js:183:75
12:13:30     在 Array.map (<anonymous>)
12:13:30     在 Runner._getTaskResult (/var/lib/jenkins/workspace/uptests_testcafeeII/node_modules/testcafe/src/runner/index.js:183:41)

有人知道这可能是什么问题,以及我们如何修复吗?
这发生在我们开始测试后立即发生,每天会发生几次。下一次运行将会像应该的那样正常工作。

英文:

I am using Jenkins to run some tests. We seem to get some errors after updating to the latest version of testcafe.

12:13:30 ERROR TypeError: Cannot read properties of null (reading &#39;pendingTaskDonePromise&#39;)
12:13:30     at /var/lib/jenkins/workspace/uptests_testcafeeII/node_modules/testcafe/src/runner/index.js:183:75
12:13:30     at Array.map (&lt;anonymous&gt;)
12:13:30     at Runner._getTaskResult (/var/lib/jenkins/workspace/uptests_testcafeeII/node_modules/testcafe/src/runner/index.js:183:41)

Does anyone have an idea what this could be and how we could fix this?
This happens immediatly after we start the test, occurs a couple of times per day. The next run will just work again as it should.

答案1

得分: 1

TestCafe团队将乐意协助您解决此问题。因此,请使用以下链接在官方TestCafe存储库中创建一个单独的线程:https://github.com/DevExpress/testcafe/issues/new?assignees=&labels=TYPE%3A+bug&projects=&template=bug_report.yaml

在提交问题之前,请参考以下帮助主题:https://testcafe.io/documentation/402636/faq/general-info#how-to-create-a-minimal-working-example-when-you-submit-an-issue

英文:

The TestCafe team will be happy to assist you with this issue. So, please create a separate thread in the official TestCafe repository using the following link: https://github.com/DevExpress/testcafe/issues/new?assignees=&labels=TYPE%3A+bug&projects=&template=bug_report.yaml.

Also, refer to the following help topic before submitting the issue: https://testcafe.io/documentation/402636/faq/general-info#how-to-create-a-minimal-working-example-when-you-submit-an-issue.

答案2

得分: 0

已添加以下问题 - 用于交叉链接

https://github.com/DevExpress/testcafe/issues/7805

英文:

Added the following issue - for crosslinking

https://github.com/DevExpress/testcafe/issues/7805

huangapple
  • 本文由 发表于 2023年6月12日 18:22:35
  • 转载请务必保留本文链接:https://go.coder-hub.com/76455699.html
匿名

发表评论

匿名网友

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

确定