mirror of
https://github.com/wahyd4/pinpoint.git
synced 2026-08-18 01:06:03 +10:00
[유치수] [NOBTS] bugfix NPE
git-svn-id: http://svn.bds.nhncorp.com/pe/hippo-web/trunk@1133 84d0f5b1-2673-498c-a247-62c4ff18d310
This commit is contained in:
@@ -32,7 +32,7 @@ public class SpanAligner2 {
|
||||
rootSpanId = -1L;
|
||||
spanMap.put(-1L, span);
|
||||
continue;
|
||||
} else if (rootSpanId != -1 && span.getStartTime() < rootSpanStartTime) {
|
||||
} else if ((rootSpanId == null || rootSpanId != -1) && span.getStartTime() < rootSpanStartTime) {
|
||||
rootSpanId = (span.getParentSpanId() == -1) ? -1L : span.getSpanId();
|
||||
rootSpanStartTime = span.getStartTime();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user