SummerOfServenteen opened a new pull request #3337: Update 
ControllerConstructorInterceptor.java
URL: https://github.com/apache/skywalking/pull/3337
 
 
   catch NoSuchMethodError
   
   Please answer these questions before submitting pull request
   
   - Why submit this pull request?
   - [ ] Bug fix
   
   
   - Related issues
   #2659
   ___
   ### Bug fix
   - Bug description.
   when we useing springVersion='4.1.6.RELEASE',there is no SuchMethod of 
RequestMapping.path().
   in this case,it will throw NoSuchMethodError ,then  faild to  
setSkyWalkingDynamicField.
   so in then method of 
org.apache.skywalking.apm.plugin.spring.mvc.commons.interceptor.AbstractMethodInterceptor#beforeMethod
 ,it will throw NullPointerException.
   
   
![image](https://user-images.githubusercontent.com/31895647/63697134-db137300-c84e-11e9-9b2c-1637b5720822.png)
   
![image](https://user-images.githubusercontent.com/31895647/63697911-5f1a2a80-c850-11e9-9696-b0056da49189.png)
   
   
![image](https://user-images.githubusercontent.com/31895647/63697735-0cd90980-c850-11e9-94f0-2d13a5505184.png)
   
   - How to fix?
   to catch NoSuchMethodError
   ___
   ### New feature or improvement
   - Describe the details and related test reports.
   

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to