View Issue Details

IDProjectCategoryView StatusLast Update
0006119SymmetricDS ProBugpublic2023-11-22 01:00
Reporterelong Assigned Toelong  
Prioritynormal 
Status closedResolutionfixed 
Product Version3.14.0 
Target Version3.14.11Fixed in Version3.14.11 
Summary0006119: JsonIOException fails to deserialize log summary event
DescriptionThe 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)
TagsNo tags attached.

Relationships

related to 0005502 closedjosh-a-hicks SymmetricDS Fix json deserialization issue with log summary object 
related to 0006120 closedelong SymmetricDS Pro JsonIOException fails to deserialize log summary event 

Activities

There are no notes attached to this issue.

Related Changesets

SymmetricDS: 3.14 27f757ba

2023-11-22 00:44:34

admin

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

admin

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

Issue History

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