wu-sheng commented on a change in pull request #2931: Support bootstrap class 
enhance and fix OOM by empty stack of exception.
URL: https://github.com/apache/skywalking/pull/2931#discussion_r296427632
 
 

 ##########
 File path: 
apm-sniffer/apm-agent-core/src/main/java/org/apache/skywalking/apm/agent/core/context/util/ThrowableTransformer.java
 ##########
 @@ -43,11 +47,12 @@ public boolean overMaxLength() {
                 }
             });
 
-            if (overMaxLength) {
+            if (isLookDeeper) {
                 break;
             }
 
-            causeException = throwable.getCause();
+            causeException = causeException.getCause();
 
 Review comment:
   The other one triggers #2926

----------------------------------------------------------------
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