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 2020/02/12 02:02:14 UTC

[GitHub] [skywalking] dengliming opened a new issue #4351: Byte-buddy occurs exception when match type.

dengliming opened a new issue #4351:  Byte-buddy occurs exception when match type. 
URL: https://github.com/apache/skywalking/issues/4351
 
 
   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?
   6.6.0
   
   - Which company or project?
   
   - What happen?
   WARN 2020-02-12 09:56:27:497 main ProtectiveShieldMatcher : Byte-buddy occurs exception when match type. 
   java.lang.NoClassDefFoundError: org/apache/commons/csv/CSVFormat
   	at java.lang.Class.getDeclaredConstructors0(Native Method)
   	at java.lang.Class.privateGetDeclaredConstructors(Class.java:2671)
   	at java.lang.Class.getDeclaredConstructors(Class.java:2020)
   	at org.apache.skywalking.apm.dependencies.net.bytebuddy.description.method.MethodList$ForLoadedMethods.<init>(MethodList.java:109)
   	at org.apache.skywalking.apm.dependencies.net.bytebuddy.description.type.TypeDescription$ForLoadedType.getDeclaredMethods(TypeDescription.java:8433)
   	at org.apache.skywalking.apm.dependencies.net.bytebuddy.matcher.DeclaringMethodMatcher.matches(DeclaringMethodMatcher.java:49)
   	at org.apache.skywalking.apm.dependencies.net.bytebuddy.matcher.DeclaringMethodMatcher.matches(DeclaringMethodMatcher.java:28)
   	at org.apache.skywalking.apm.dependencies.net.bytebuddy.matcher.ElementMatcher$Junction$Conjunction.matches(ElementMatcher.java:122)
   	at org.apache.skywalking.apm.dependencies.net.bytebuddy.matcher.ElementMatcher$Junction$Disjunction.matches(ElementMatcher.java:160)
   	at org.apache.skywalking.apm.dependencies.net.bytebuddy.matcher.ElementMatcher$Junction$Disjunction.matches(ElementMatcher.java:160)
   	at org.apache.skywalking.apm.agent.core.plugin.match.ProtectiveShieldMatcher.matches(ProtectiveShieldMatcher.java:47)
   	at org.apache.skywalking.apm.dependencies.net.bytebuddy.agent.builder.AgentBuilder$RawMatcher$ForElementMatchers.matches(AgentBuilder.java:1275)
   	at org.apache.skywalking.apm.dependencies.net.bytebuddy.agent.builder.AgentBuilder$Default$Transformation$Simple.matches(AgentBuilder.java:9974)
   	at org.apache.skywalking.apm.dependencies.net.bytebuddy.agent.builder.AgentBuilder$Default$Transformation$Compound.matches(AgentBuilder.java:10176)
   	at org.apache.skywalking.apm.dependencies.net.bytebuddy.agent.builder.AgentBuilder$RedefinitionStrategy$Collector.consider(AgentBuilder.java:6943)
   	at org.apache.skywalking.apm.dependencies.net.bytebuddy.agent.builder.AgentBuilder$RedefinitionStrategy.apply(AgentBuilder.java:4826)
   	at org.apache.skywalking.apm.dependencies.net.bytebuddy.agent.builder.AgentBuilder$Default.installOn(AgentBuilder.java:9350)
   	at org.apache.skywalking.apm.dependencies.net.bytebuddy.agent.builder.AgentBuilder$Default.installOn(AgentBuilder.java:9320)
   	at org.apache.skywalking.apm.agent.SkyWalkingAgent.premain(SkyWalkingAgent.java:121)
   	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
   	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
   	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
   	at java.lang.reflect.Method.invoke(Method.java:498)
   	at sun.instrument.InstrumentationImpl.loadClassAndStartAgent(InstrumentationImpl.java:386)
   	at sun.instrument.InstrumentationImpl.loadClassAndCallPremain(InstrumentationImpl.java:401)
   Caused by: java.lang.ClassNotFoundException: org.apache.commons.csv.CSVFormat
   	at java.net.URLClassLoader.findClass(URLClassLoader.java:382)
   	at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
   	at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:349)
   	at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
   	... 25 more
   ___
   ### 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 to 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

[GitHub] [skywalking] wu-sheng closed issue #4351: Byte-buddy occurs exception when match type.

Posted by GitBox <gi...@apache.org>.
wu-sheng closed issue #4351:  Byte-buddy occurs exception when match type. 
URL: https://github.com/apache/skywalking/issues/4351
 
 
   

----------------------------------------------------------------
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:
users@infra.apache.org


With regards,
Apache Git Services

[GitHub] [skywalking] wu-sheng commented on issue #4351: Byte-buddy occurs exception when match type.

Posted by GitBox <gi...@apache.org>.
wu-sheng commented on issue #4351:  Byte-buddy occurs exception when match type. 
URL: https://github.com/apache/skywalking/issues/4351#issuecomment-584993480
 
 
   If `org.apache.commons.csv.CSVFormat` can't be found by ByteBuddy in the classpath, then this error shows up. But basically, this is a warning. Unless you want to instrument this type, this is not an issue.

----------------------------------------------------------------
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:
users@infra.apache.org


With regards,
Apache Git Services