You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@skywalking.apache.org by "xuemingqi (via GitHub)" <gi...@apache.org> on 2025/12/10 03:45:31 UTC
[I] [Bug] skywalking agent NullPointerException [skywalking]
xuemingqi opened a new issue, #13605:
URL: https://github.com/apache/skywalking/issues/13605
### Search before asking
- [x] I had searched in the [issues](https://github.com/apache/skywalking/issues?q=is%3Aissue) and found no similar issues.
### Apache SkyWalking Component
Java Agent (apache/skywalking-java)
### What happened
openjdk version "17.0.17"
spring boot version 3.2.4
ERROR 2025-12-10 10:49:30.036 http-nio-18099-exec-6 InstMethodsInter : class[class org.apache.catalina.core.StandardHostValve] after method[invoke] intercept failure
java.lang.NullPointerException: Cannot invoke "org.apache.skywalking.apm.agent.core.context.AbstractTracerContext.activeSpan()" because the return value of "org.apache.skywalking.apm.agent.core.context.ContextManager.get()" is null
at org.apache.skywalking.apm.agent.core.context.ContextManager.activeSpan(ContextManager.java:193)
at org.apache.skywalking.apm.plugin.tomcat10x.TomcatInvokeInterceptor.afterMethod(TomcatInvokeInterceptor.java:77)
at org.apache.skywalking.apm.agent.core.plugin.interceptor.enhance.InstMethodsInter.intercept(InstMethodsInter.java:110)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:93)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:74)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:344)
at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:391)
at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:63)
at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:896)
at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1744)
at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:52)
at org.apache.tomcat.util.threads.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1191)
at org.apache.tomcat.util.threads.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:659)
at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:63)
at java.base/java.lang.Thread.run(Thread.java:840)
### What you expected to happen
I think the issue is caused by a plugin conflict.
### How to reproduce
I think the issue is caused by a plugin conflict.
### Anything else
apm-pulsar-2.2-2.7-plugin-9.5.0.jar
apm-pulsar-2.8.x-plugin-9.5.0.jar
apm-activemq-5.x-plugin-9.5.0.jar apm-pulsar-common-9.5.0.jar
apm-activemq-artemis-jakarta-client-2.x-plugin-9.5.0.jar apm-quasar-plugin-9.5.0.jar
apm-aerospike-plugin-9.5.0.jar apm-rabbitmq-plugin-9.5.0.jar
apm-armeria-0.84.x-plugin-9.5.0.jar apm-redisson-3.x-plugin-9.5.0.jar
apm-armeria-0.85.x-plugin-9.5.0.jar apm-resttemplate-3.x-plugin-9.5.0.jar
apm-armeria-1.0.x-plugin-9.5.0.jar apm-resttemplate-4.3.x-plugin-9.5.0.jar
apm-asynchttpclient-2.x-plugin-9.5.0.jar apm-resttemplate-6.x-plugin-9.5.0.jar
apm-avro-plugin-9.5.0.jar apm-rocketmq-3.x-plugin-9.5.0.jar
apm-c3p0-0.9.x-plugin-9.5.0.jar apm-rocketmq-4.x-plugin-9.5.0.jar
apm-canal-1.x-plugin-9.5.0.jar apm-rocketMQ-5.x-plugin-9.5.0.jar
apm-cassandra-java-driver-3.x-plugin-9.5.0.jar apm-rocketmq-client-java-5.x-plugin-9.5.0.jar
apm-clickhouse-0.3.1-plugin-9.5.0.jar apm-servicecomb-java-chassis-2.x-plugin-9.5.0.jar
apm-clickhouse-0.3.2.x-plugin-9.5.0.jar apm-sharding-sphere-3.x-plugin-9.5.0.jar
apm-cxf-3.x-plugin-9.5.0.jar apm-shardingsphere-4.0.x-plugin-9.5.0.jar
apm-dubbo-2.7.x-plugin-9.5.0.jar apm-sharding-sphere-4.1.0-plugin-9.5.0.jar
apm-dubbo-3.x-plugin-9.5.0.jar apm-shardingsphere-5.0.0-plugin-9.5.0.jar
apm-dubbo-plugin-9.5.0.jar apm-solrj-7.x-plugin-9.5.0.jar
apm-elastic-job-2.x-plugin-9.5.0.jar apm-spring-async-annotation-plugin-9.5.0.jar
apm-elasticjob-3.x-plugin-9.5.0.jar apm-spring-cloud-feign-1.x-plugin-9.5.0.jar
apm-elasticsearch-5.x-plugin-9.5.0.jar apm-spring-cloud-feign-2.x-plugin-9.5.0.jar
apm-elasticsearch-6.x-plugin-9.5.0.jar apm-spring-concurrent-util-4.x-plugin-9.5.0.jar
apm-elasticsearch-7.x-plugin-9.5.0.jar apm-spring-core-patch-9.5.0.jar
apm-feign-default-http-9.x-plugin-9.5.0.jar apm-spring-kafka-1.x-plugin-9.5.0.jar
apm-finagle-6.25.x-plugin-9.5.0.jar apm-spring-kafka-2.x-plugin-9.5.0.jar
apm-grpc-1.x-plugin-9.5.0.jar apm-springmvc-annotation-6.x-plugin-9.5.0.jar
apm-guava-eventbus-plugin-9.5.0.jar apm-springmvc-annotation-commons-9.5.0.jar
apm-h2-1.x-plugin-9.5.0.jar apm-spring-scheduled-annotation-plugin-9.5.0.jar
apm-hbase-1.x-2.x-plugin-9.5.0.jar apm-spring-tx-plugin-9.5.0.jar
apm-hikaricp-3.x-4.x-plugin-9.5.0.jar apm-spymemcached-2.x-plugin-9.5.0.jar
apm-httpasyncclient-4.x-plugin-9.5.0.jar apm-struts2-2.x-plugin-9.5.0.jar
apm-httpclient-3.x-plugin-9.5.0.jar apm-tomcat-thread-pool-plugin-9.5.0.jar
apm-httpClient-4.x-plugin-9.5.0.jar apm-trace-ignore-plugin-9.5.0.jar
apm-httpclient-5.x-plugin-9.5.0.jar apm-vertx-core-3.x-plugin-9.5.0.jar
apm-httpclient-commons-9.5.0.jar apm-vertx-core-4.x-plugin-9.5.0.jar
apm-hutool-http-5.x-plugin-9.5.0.jar apm-xmemcached-2.x-plugin-9.5.0.jar
apm-hystrix-1.x-plugin-9.5.0.jar apm-xxl-job-2.x-plugin-9.5.0.jar
apm-influxdb-2.x-plugin-9.5.0.jar baidu-brpc-3.x-plugin-9.5.0.jar
apm-jdbc-commons-9.5.0.jar baidu-brpc-plugin-9.5.0.jar
apm-jersey-2.x-plugin-9.5.0.jar dbcp-2.x-plugin-9.5.0.jar
apm-jersey-3.x-plugin-9.5.0.jar druid-1.x-plugin-9.5.0.jar
apm-kafka-commons-9.5.0.jar dubbo-2.7.x-conflict-patch-9.5.0.jar
apm-kafka-plugin-9.5.0.jar dubbo-3.x-conflict-patch-9.5.0.jar
apm-kylin-jdbc-2.6.x-3.x-4.x-plugin-9.5.0.jar dubbo-conflict-patch-9.5.0.jar
apm-lettuce-5.x-6.4.x-plugin-9.5.0.jar elasticsearch-common-9.5.0.jar
apm-lettuce-6.5.x-plugin-9.5.0.jar graphql-12.x-15.x-plugin-9.5.0.jar
apm-lettuce-common-9.5.0.jar graphql-16plus-plugin-9.5.0.jar
apm-light4j-plugin-9.5.0.jar graphql-8.x-plugin-9.5.0.jar
apm-mariadb-2.x-plugin-9.5.0.jar graphql-9.x-plugin-9.5.0.jar
apm-mongodb-2.x-plugin-9.5.0.jar jedis-2.x-3.x-plugin-9.5.0.jar
apm-mongodb-3.x-plugin-9.5.0.jar jedis-4.x-plugin-9.5.0.jar
apm-mongodb-4.x-plugin-9.5.0.jar jsonrpc4j-1.x-plugin-9.5.0.jar
apm-mssql-commons-9.5.0.jar micronaut-http-client-plugin-9.5.0.jar
apm-mssql-jdbc-plugin-9.5.0.jar micronaut-http-server-plugin-9.5.0.jar
apm-mssql-jtds-1.x-plugin-9.5.0.jar motan-plugin-9.5.0.jar
apm-mysql-5.x-plugin-9.5.0.jar nats-2.14.x-2.16.5-plugin-9.5.0.jar
apm-mysql-6.x-plugin-9.5.0.jar okhttp-2.x-plugin-9.5.0.jar
apm-mysql-8.x-plugin-9.5.0.jar resteasy-server-3.x-plugin-9.5.0.jar
apm-mysql-commons-9.5.0.jar resteasy-server-4.x-plugin-9.5.0.jar
apm-nacos-client-2.x-plugin-9.5.0.jar resteasy-server-6.x-plugin-9.5.0.jar
apm-neo4j-4.x-plugin-9.5.0.jar resttemplate-commons-9.5.0.jar
apm-nutz-http-1.x-plugin-9.5.0.jar sofa-rpc-plugin-9.5.0.jar
apm-nutz-mvc-annotation-1.x-plugin-9.5.0.jar solon-2.x-plugin-9.5.0.jar
apm-okhttp-3.x-plugin-9.5.0.jar spring-commons-9.5.0.jar
apm-okhttp-4.x-plugin-9.5.0.jar spring-webflux-6.x-webclient-plugin-9.5.0.jar
apm-okhttp-common-9.5.0.jar thrift-plugin-9.5.0.jar
apm-play-2.x-plugin-9.5.0.jar tomcat-10x-plugin-9.5.0.jar
apm-postgresql-8.x-plugin-9.5.0.jar websphere-liberty-23.x-plugin-9.5.0.jar
### Are you willing to submit a pull request to fix on your own?
- [x] Yes I am willing to submit a pull request on my own!
### Code of Conduct
- [x] I agree to follow this project's [Code of Conduct](https://www.apache.org/foundation/policies/conduct)
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@skywalking.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] [Bug] skywalking agent NullPointerException [skywalking]
Posted by "wu-sheng (via GitHub)" <gi...@apache.org>.
wu-sheng closed issue #13605: [Bug] skywalking agent NullPointerException
URL: https://github.com/apache/skywalking/issues/13605
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@skywalking.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org