From b49ff9a5693fbb79b8e5b58226d44409fb669639 Mon Sep 17 00:00:00 2001 From: JeremyStarTM Date: Sat, 7 Sep 2024 16:51:55 +0200 Subject: [PATCH] Fix crash reporter exception (yes really) --- .../implementation/placeholder/crashhandler/StacktraceAll.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/base/src/main/java/de/staropensource/sosengine/base/internal/implementation/placeholder/crashhandler/StacktraceAll.java b/base/src/main/java/de/staropensource/sosengine/base/internal/implementation/placeholder/crashhandler/StacktraceAll.java index d897ae8..c8bbfa2 100644 --- a/base/src/main/java/de/staropensource/sosengine/base/internal/implementation/placeholder/crashhandler/StacktraceAll.java +++ b/base/src/main/java/de/staropensource/sosengine/base/internal/implementation/placeholder/crashhandler/StacktraceAll.java @@ -56,7 +56,7 @@ public final class StacktraceAll implements Placeholder { .append(" priority=") .append(thread.getPriority()) .append(" group=") - .append(thread.getThreadGroup().getName()) + .append(thread.getThreadGroup() == null ? "" : thread.getThreadGroup().getName()) .append(" state=") .append(thread.getState().name()) .append(" daemon=")