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

QueueManager.ts出现空指针错误 #11

Open
semmy2010 opened this issue Oct 17, 2019 · 1 comment
Open

QueueManager.ts出现空指针错误 #11

semmy2010 opened this issue Oct 17, 2019 · 1 comment

Comments

@semmy2010
Copy link

忘记怎么操作了,启动的时候会出现以下空指针错误


2019-10-17 21:18:13.582 warn QueueManager.<anonymous> (e:\github\ppspider_example\node_modules\ppspider\src\spider\manager\QueueManager.ts:362:20) TypeError: Cannot read property 'successNum' of undefined
    at QueueManager.<anonymous> (e:\github\ppspider_example\node_modules\ppspider\src\spider\manager\QueueManager.ts:312:52)
    at Generator.next (<anonymous>)
    at fulfilled (e:\github\ppspider_example\node_modules\ppspider\lib\spider\manager\QueueManager.js:13:58)
    at process._tickCallback (internal/process/next_tick.js:68:7)
@xiyuan-fengyu
Copy link
Owner

这个是重启时运行状态的cache文件解析失败了,无法恢复之前保存的运行状态,最好能提供一下代码,如果能重现就更好

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

2 participants