diff --git a/Plan/common/src/main/java/com/djrapitops/plan/storage/database/transactions/events/StoreRequestTransaction.java b/Plan/common/src/main/java/com/djrapitops/plan/storage/database/transactions/events/StoreRequestTransaction.java index 63dc7516f..0f042d110 100644 --- a/Plan/common/src/main/java/com/djrapitops/plan/storage/database/transactions/events/StoreRequestTransaction.java +++ b/Plan/common/src/main/java/com/djrapitops/plan/storage/database/transactions/events/StoreRequestTransaction.java @@ -61,6 +61,9 @@ public class StoreRequestTransaction extends Transaction { private String getTruncatedURI() { String uri = request != null ? request.getPath().asString() + request.getQuery().asString() : internalRequest.getRequestedURIString(); + if (uri == null) { + uri = "non-HTTP request, missing URI"; + } return StringUtils.truncate(uri, 65000); } }