You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@skywalking.apache.org by GitBox <gi...@apache.org> on 2018/06/04 23:18:42 UTC
[GitHub] asivanadi opened a new issue #1308: Mongo Error
asivanadi opened a new issue #1308: Mongo Error
URL: https://github.com/apache/incubator-skywalking/issues/1308
Please answer these questions before submitting your issue.
- Why do you submit this issue?
- [ ] Question or discussion
- [!] Bug
- [ ] Requirement
- [ ] Feature or performance improvement
___
### Question
- What do you want to know?
___
### Bug
- Which version of SkyWalking, OS and JRE?
- What happen?
ERROR 2018-06-04 23:17:27 InstMethodsInter : class[class com.mongodb.MongoClient] before method[execute] intercept failure
java.lang.NullPointerException
ERROR 2018-06-04 23:17:27 InstMethodsInter : class[class com.mongodb.MongoClient] after method[execute] intercept failure
java.lang.IllegalStateException: No active span.
at org.apache.skywalking.apm.agent.core.context.TracingContext.activeSpan(TracingContext.java:390)
at org.apache.skywalking.apm.agent.core.context.ContextManager.activeSpan(ContextManager.java:155)
at org.apache.skywalking.apm.agent.core.context.ContextManager.stopSpan(ContextManager.java:159)
at org.apache.skywalking.apm.plugin.mongodb.v3.MongoDBMethodInterceptor.afterMethod(MongoDBMethodInterceptor.java:189)
at org.apache.skywalking.apm.agent.core.plugin.interceptor.enhance.InstMethodsInter.intercept(InstMethodsInter.java:105)
at com.mongodb.Mongo.execute(Mongo.java)
at com.mongodb.Mongo$2.execute(Mongo.java:764)
at com.mongodb.DBCollection.executeWriteOperation(DBCollection.java:333)
at com.mongodb.DBCollection.updateImpl(DBCollection.java:495)
at com.mongodb.DBCollection.update(DBCollection.java:455)
at com.mongodb.DBCollection.update(DBCollection.java:432)
The same worked in 3.x version of incubator-skywalking
___
### Requirement or improvement
- Please describe about your requirements or improvement suggestions.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services