Skip to content

Instantly share code, notes, and snippets.

View leothekim's full-sized avatar

Leo Kim leothekim

View GitHub Profile
@leothekim
leothekim / fake_haproxy_access.log
Created August 21, 2026 15:28
fake_haproxy_access.log
This file has been truncated, but you can view the full file.
28.32.2.49 [18/Jun/2025:10:31:41.644] https-in static-backend/server4 50/23/99/100/922 201 34004 - - RILI 49/24/31/11/2 6/5 "GET / HTTP/1.1"
13.193.10.230 [05/Jul/2025:13:15:07.917] http-in api-backend/server4 96/57/58/185/339 204 35091 - - RISD 17/27/9/29/3 6/10 "GET /home HTTP/1.1"
162.13.88.53 [28/Jun/2025:12:09:18.728] https-in app-backend/server2 9/0/48/90/113 502 25885 - - BIPI 45/20/40/31/3 3/1 "POST /api/v1/orders HTTP/1.1"
114.14.75.4 [28/Jun/2025:01:20:32.045] http-in static-backend/server2 63/41/192/163/868 503 46664 - - FIBI 10/47/39/1/4 3/8 "HEAD /api/v1/orders HTTP/1.1"
79.240.3.220 [19/Jun/2025:06:36:26.914] https-in static-backend/server1 38/87/191/181/445 404 21363 - - CD-- 24/10/34/50/0 9/9 "POST /cart HTTP/1.1"
92.123.122.219 [25/Jun/2025:04:00:16.530] http-in api-backend/server1 68/98/124/110/223 503 68546 - - --CD 4/43/18/16/0 8/2 "DELETE /home HTTP/1.1"
169.169.253.133 [03/Jul/2025:03:43:18.128] http-in static-backend/server2 93/87/200/114/325 502 94004 - - --CD 23/28/11/29/4 3/1 "POST /
<html>
<head>
<title>Spirits Of Sparta</title>
<script>
var mousePos = {x: 0, y: 0};
var currency = 0;
function getMousePos(canvas, evt) {
var rect = canvas.getBoundingClientRect();
diff --git a/src/main/java/com/stripe/model/EventDataDeserializer.java b/src/main/java/com/stripe/model/EventDataDeserializer.java
index 9489b98..f4106f4 100644
--- a/src/main/java/com/stripe/model/EventDataDeserializer.java
+++ b/src/main/java/com/stripe/model/EventDataDeserializer.java
@@ -99,7 +99,9 @@ public class EventDataDeserializer implements JsonDeserializer<EventData> {
JsonElement element = entry.getValue();
if("previous_attributes".equals(key)) {
Map<String, Object> previousAttributes = new HashMap<String, Object>();
- populateMapFromJSONObject(previousAttributes, element.getAsJsonObject());
+ if (element.getAsJsonObject() != null) {