You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: iotdb-core/datanode/src/main/java/org/apache/iotdb/db/queryengine/plan/statement/crud/InsertTabletStatement.java
Copy file name to clipboardExpand all lines: iotdb-core/node-commons/src/main/java/org/apache/iotdb/commons/pipe/receiver/PipeReceiverStatusHandler.java
+4-2Lines changed: 4 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -35,6 +35,8 @@
35
35
importorg.slf4j.Logger;
36
36
importorg.slf4j.LoggerFactory;
37
37
38
+
importjavax.annotation.Nullable;
39
+
38
40
importjava.util.Arrays;
39
41
importjava.util.Collections;
40
42
importjava.util.List;
@@ -106,7 +108,7 @@ public void handle(
106
108
*/
107
109
publicvoidhandle(
108
110
finalTSStatusstatus,
109
-
finalStringexceptionMessage,
111
+
final@NullableStringexceptionMessage,
110
112
finalStringrecordMessage,
111
113
finalbooleanlog4NoPrivileges) {
112
114
@@ -206,7 +208,7 @@ public void handle(
206
208
break;
207
209
default:
208
210
// Some auth error may be wrapped in other codes
209
-
if (exceptionMessage.contains(NO_PERMISSION_STR)) {
211
+
if (Objects.nonNull(exceptionMessage) && exceptionMessage.contains(NO_PERMISSION_STR)) {
0 commit comments