nicho92 / MtgDesktopCompanion

Cards manager for magic the gathering
Apache License 2.0
165 stars 35 forks source link

XMLExport export but can't reimport #264

Closed nicho92 closed 9 months ago

nicho92 commented 9 months ago

Configuration

Describe the bug Export deck to XML. Import It. Error.

Screenshots


2024-02-18 15:50:59 [ERROR] org.magic.gui.components.deck.ConstructPanel$7 47 - error export with XML
com.thoughtworks.xstream.converters.ConversionException: No converter available
---- Debugging information ----
message             : No converter available
type                : com.google.gson.internal.LinkedTreeMap
converter           : com.thoughtworks.xstream.converters.reflection.SerializableConverter
message[1]          : Unable to make field transient java.util.Set java.util.AbstractMap.keySet accessible: module java.base does not "opens java.util" to unnamed module @7193666c
converter[1]        : com.thoughtworks.xstream.converters.reflection.ReflectionConverter
class               : org.magic.api.beans.MTGEdition
required-type       : org.magic.api.beans.MTGEdition
converter-type      : com.thoughtworks.xstream.converters.reflection.ReflectionConverter
path                : /deck/mapDeck/entry/card/editions/set/translations
line number         : 1
class[1]            : java.util.ArrayList
required-type[1]    : java.util.ArrayList
converter-type[1]   : com.thoughtworks.xstream.converters.collections.CollectionConverter
class[2]            : org.magic.api.beans.MTGCard
required-type[2]    : org.magic.api.beans.MTGCard
class[3]            : java.util.HashMap
required-type[3]    : java.util.HashMap
converter-type[2]   : com.thoughtworks.xstream.converters.extended.NamedMapConverter
class[4]            : org.magic.api.beans.MTGDeck
required-type[4]    : org.magic.api.beans.MTGDeck
version             : 1.4.20
-------------------------------