View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0006119 | SymmetricDS Pro | Bug | public | 2023-11-22 00:43 | 2023-11-22 01:00 |
Reporter | elong | Assigned To | elong | ||
Priority | normal | ||||
Status | closed | Resolution | fixed | ||
Product Version | 3.14.0 | ||||
Target Version | 3.14.11 | Fixed in Version | 3.14.11 | ||
Summary | 0006119: JsonIOException fails to deserialize log summary event | ||||
Description | The background refresher for MainWindow checks for log summary errors delivered via monitor events. It tries to deserialize the LogSummary but cannot set private methods on Throwable. In Java 17, reflection to set private properties is no longer allowed. The Throwable is not needed and can be marked as transient since LogSummary already has the stack trace in a string. com.google.gson.JsonIOException: Failed making field 'java.lang.Throwable#detailMessage' accessible; either change its visibility or write a custom TypeAdapter for its declaring type at com.google.gson.internal.reflect.ReflectionHelper.makeAccessible(ReflectionHelper.java:22) at com.google.gson.internal.bind.ReflectiveTypeAdapterFactory.getBoundFields(ReflectiveTypeAdapterFactory.java:158) at com.google.gson.internal.bind.ReflectiveTypeAdapterFactory.create(ReflectiveTypeAdapterFactory.java:101) at com.google.gson.Gson.getAdapter(Gson.java:501) at com.google.gson.internal.bind.ReflectiveTypeAdapterFactory.createBoundField(ReflectiveTypeAdapterFactory.java:116) at com.google.gson.internal.bind.ReflectiveTypeAdapterFactory.getBoundFields(ReflectiveTypeAdapterFactory.java:165) at com.google.gson.internal.bind.ReflectiveTypeAdapterFactory.create(ReflectiveTypeAdapterFactory.java:101) at com.google.gson.Gson.getAdapter(Gson.java:501) at com.google.gson.internal.bind.CollectionTypeAdapterFactory.create(CollectionTypeAdapterFactory.java:53) at com.google.gson.Gson.getAdapter(Gson.java:501) at com.google.gson.Gson.fromJson(Gson.java:990) at com.google.gson.Gson.fromJson(Gson.java:956) at com.google.gson.Gson.fromJson(Gson.java:905) at com.jumpmind.symmetric.console.ui.c.a(MainWindow.java:1325) at com.jumpmind.symmetric.console.ui.c.a(MainWindow.java:1342) at com.jumpmind.symmetric.console.ui.c.b(MainWindow.java:1072) at com.jumpmind.symmetric.console.ui.c$a.a(MainWindow.java:1567) at com.jumpmind.symmetric.console.ui.c$a.onBackgroundDataRefresh(MainWindow.java:1564) at com.jumpmind.symmetric.console.ui.b.a(BackgroundRefresherService.java:88) at com.jumpmind.symmetric.console.ui.b$1.run(BackgroundRefresherService.java:73) | ||||
Tags | No tags attached. | ||||
related to | 0005502 | closed | josh-a-hicks | SymmetricDS | Fix json deserialization issue with log summary object |
related to | 0006120 | closed | elong | SymmetricDS Pro | JsonIOException fails to deserialize log summary event |
SymmetricDS: 3.14 27f757ba 2023-11-22 00:44:34 Details Diff |
0006119: JsonIOException fails to deserialize log summary event |
Affected Issues 0006119 |
|
mod - symmetric-util/src/main/java/org/jumpmind/util/LogSummary.java | Diff File | ||
SymmetricDS: 3.15 13b8243e 2023-11-22 00:44:34 Details Diff |
0006119: JsonIOException fails to deserialize log summary event |
Affected Issues 0006119 |
|
mod - symmetric-util/src/main/java/org/jumpmind/util/LogSummary.java | Diff File |
Date Modified | Username | Field | Change |
---|---|---|---|
2023-11-22 00:43 | elong | New Issue | |
2023-11-22 00:43 | elong | Status | new => assigned |
2023-11-22 00:43 | elong | Assigned To | => elong |
2023-11-22 00:43 | elong | Relationship added | related to 0005502 |
2023-11-22 00:46 | elong | Status | assigned => resolved |
2023-11-22 00:46 | elong | Resolution | open => fixed |
2023-11-22 00:46 | elong | Fixed in Version | => 3.14.11 |
2023-11-22 00:47 | elong | Issue cloned: 0006120 | |
2023-11-22 00:47 | elong | Relationship added | related to 0006120 |
2023-11-22 01:00 | admin | Changeset attached | => SymmetricDS 3.14 27f757ba |
2023-11-22 01:00 | admin | Changeset attached | => SymmetricDS 3.15 13b8243e |
2023-12-16 01:56 | admin | Status | resolved => closed |