Closed carrypann closed 4 years ago
Check the supported-list doc for supported versions. I only found the MongoDB 3.x test cases, https://github.com/apache/skywalking/tree/master/test/plugin/scenarios/mongodb-3.x-scenario. Most likely, there is no one contributed 4.x plugins yet.
Welcome everyone to do so.
I mean, this problem may not caused by MongoDB4.0+, or how can I check the actual reason? So that I can try to contribute 4.x plugins
It could be triggered by other plugins issue. You could try to remove the MongoDB plugin, and give a try. If there is no issue, then, most likely it is the plugin issue. But, as always, debugging is always the best choice.
Thx, I've checked source code and confirm that the reason is plugin incompatibility. mongodb-4.x-plugin is needed because SpringBoot 2.3 release switches to MongoDB 4
Please answer these questions before submitting your issue.
Bug
Which version of SkyWalking, OS and JRE? SkyWalking 6.6, MacOS, JDK8
What happen? Afer upgrade mongodb-driver version to 4.0.4, I got NullPointerException in my application:
And skywalking print error log:
Is it caused by incompatibility with mongodb-driver 4.0+,or other reason?