begrow opened a new issue, #12225:
URL: https://github.com/apache/skywalking/issues/12225

   ### 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
   
   I am using skywalking9.7.0 and agent9.2.0,  but I found no trace produce for 
my java program which start with skywalking agent. the error log was produced 
in skywalking-api.log. I seems the redision enhance fail.  my java project is 
using org.redision:3.26.0, and the redisson plugin is 
apm-redisson-3.x-plugin-9.2.0.jar under the director skywalking agent. 
   
   `ERROR 2024-05-15 09:35:29.422 main InstMethodsInter : class[class 
org.redisson.connection.Single
   ConnectionManager] after method[createClient] intercept failure 
   java.lang.NoSuchMethodError: 'org.redisson.config.Config 
org.redisson.connection.ConnectionManager.getCfg()'
           at 
org.apache.skywalking.apm.plugin.redisson.v3.ConnectionManagerInterceptor.afterMethod(ConnectionManagerInterceptor.java:49)
           at 
org.apache.skywalking.apm.agent.core.plugin.interceptor.enhance.InstMethodsInter.intercept(InstMethodsInter.java:97)
           at 
org.redisson.connection.MasterSlaveConnectionManager.createClient(MasterSlaveConnectionManager.java)
           at 
org.redisson.connection.MasterSlaveConnectionManager.$sw$original$createClient$4h97ri3(MasterSlaveConnectionManager.java:323)
           at 
org.redisson.connection.MasterSlaveConnectionManager.$sw$original$createClient$4h97ri3$accessor$$sw$t83ld71(MasterSlaveConnectionManager.java)
           at 
org.redisson.connection.MasterSlaveConnectionManager$$sw$auxiliary$fqo1r32.call(Unknown
 Source)
           at 
org.apache.skywalking.apm.agent.core.plugin.interceptor.enhance.InstMethodsInter.intercept(InstMethodsInter.java:86)
           at 
org.redisson.connection.MasterSlaveConnectionManager.createClient(MasterSlaveConnectionManager.java)
           at 
org.redisson.connection.MasterSlaveEntry.setupMasterEntry(MasterSlaveEntry.java:117)
           at 
org.redisson.connection.MasterSlaveConnectionManager.doConnect(MasterSlaveConnectionManager.java:223)
           at 
org.redisson.connection.MasterSlaveConnectionManager.connect(MasterSlaveConnectionManager.java:196)
           at 
org.redisson.config.ConfigSupport.createConnectionManager(ConfigSupport.java:220)
           at org.redisson.Redisson.<init>(Redisson.java:71)
           at org.redisson.Redisson.create(Redisson.java:116)
           at 
org.redisson.spring.starter.RedissonAutoConfiguration.redisson(RedissonAutoConfiguration.java:330)
           at 
java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
   :`
   
   ### What you expected to happen
   
   .  my java project is using org.redision:3.26.0, and the redisson plugin is 
apm-redisson-3.x-plugin-9.2.0.jar. It seems thea are the matched version for 
redision lib and redision agent plugins.  but why the enhance error occur?
   
   ### How to reproduce
   
   just use org.redision:3.26.0, and start with skywalking java agent
   
   ### Anything else
   
   nothing
   
   ### Are you willing to submit a pull request to fix on your own?
   
   - [ ] 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-unsubscr...@skywalking.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to