HBASE-15639 Unguarded access to stackIndexes in Procedure#toStringDetails()
This commit is contained in:
parent
ae7e5e29f9
commit
d41a7e6310
|
@ -252,10 +252,11 @@ public abstract class Procedure<TEnvironment> implements Comparable<Procedure> {
|
|||
sb.append(" lastUpdate=");
|
||||
sb.append(getLastUpdate());
|
||||
|
||||
if (stackIndexes != null) {
|
||||
int[] stackIndices = getStackIndexes();
|
||||
if (stackIndices != null) {
|
||||
sb.append("\n");
|
||||
sb.append("stackIndexes=");
|
||||
sb.append(Arrays.toString(getStackIndexes()));
|
||||
sb.append(Arrays.toString(stackIndices));
|
||||
}
|
||||
|
||||
return sb.toString();
|
||||
|
|
Loading…
Reference in New Issue