swoft-cloud / swoft

🚀 PHP Microservice Full Coroutine Framework
https://swoft.org
Apache License 2.0
5.58k stars 788 forks source link

User process fail(/home/www/server/vendor/swoft/framework/src/Context/Context.php context information has been lost of the coID: -1 50)! #1347

Open JoyYin-99 opened 4 years ago

JoyYin-99 commented 4 years ago

[ERROR] User process fail(/home/www/server/vendor/swoft/framework/src/Context/Context.php context information has been lost of the coID: -1 50)!

Fatal error: Uncaught TypeError: Return value of Swoft\Event\Manager\EventManager::trigger() must implement interface Swoft\Event\EventInterface, null returned in /home/www/server/vendor/swoft/event/src/Manager/EventManager.php:315 Stack trace:

0 /home/www/server/vendor/swoft/framework/src/Swoft.php(178): Swoft\Event\Manager\EventManager->trigger('swoft.process.u...', NULL, Array)

1 /home/www/server/vendor/swoft/process/src/Listener/AddProcessListener.php(81): Swoft::trigger('swoft.process.u...')

2 {main}

thrown in /home/www/server/vendor/swoft/event/src/Manager/EventManager.php on line 315

JoyYin-99 commented 4 years ago

每隔一段时间,就会报一次这个错误,但是还没定位到是怎么触发的,求助一下

inhere commented 4 years ago

swoft,swoole 版本呢

JoyYin-99 commented 4 years ago

Version: 2.0.9