Wiederherstellung aus Backup nicht möglich: No such field name.abuchen.portfolio.model.InvestmentPlan.taxes

Hallo Liebe Gemeinde,

ich schaffe es nicht die Backup Datei zur öffnen. Erstmals könnte das Programm die nicht finden, habe die manuell in XML umbenannt seit dem bekomme ich Fehler

Sun Jan 26 08:12:40 CET 2025
XML kann nicht geparst werden: No such field name.abuchen.portfolio.model.InvestmentPlan.taxes
---- Debugging information ----
message             : No such field name.abuchen.portfolio.model.InvestmentPlan.taxes
field               : taxes
class               : name.abuchen.portfolio.model.InvestmentPlan
required-type       : name.abuchen.portfolio.model.InvestmentPlan
converter-type      : com.thoughtworks.xstream.converters.reflection.ReflectionConverter
path                : /client/plans/investment-plan/taxes
line number         : 132139
class[1]            : java.util.ArrayList
required-type[1]    : java.util.ArrayList
converter-type[1]   : com.thoughtworks.xstream.converters.collections.CollectionConverter
class[2]            : name.abuchen.portfolio.model.Client
required-type[2]    : name.abuchen.portfolio.model.Client
version             : not available
-------------------------------

java.io.IOException: XML kann nicht geparst werden: No such field name.abuchen.portfolio.model.InvestmentPlan.taxes
---- Debugging information ----
message             : No such field name.abuchen.portfolio.model.InvestmentPlan.taxes
field               : taxes
class               : name.abuchen.portfolio.model.InvestmentPlan
required-type       : name.abuchen.portfolio.model.InvestmentPlan
converter-type      : com.thoughtworks.xstream.converters.reflection.ReflectionConverter
path                : /client/plans/investment-plan/taxes
line number         : 132139
class[1]            : java.util.ArrayList
required-type[1]    : java.util.ArrayList
converter-type[1]   : com.thoughtworks.xstream.converters.collections.CollectionConverter
class[2]            : name.abuchen.portfolio.model.Client
required-type[2]    : name.abuchen.portfolio.model.Client
version             : not available
-------------------------------

	at name.abuchen.portfolio.model.ClientFactory$XmlSerialization.load(ClientFactory.java:134)

	at name.abuchen.portfolio.model.ClientFactory$PlainWriter.load(ClientFactory.java:160)

	at name.abuchen.portfolio.model.ClientFactory.load(ClientFactory.java:537)

	at name.abuchen.portfolio.ui.editor.LoadClientThread.run(LoadClientThread.java:34)

Caused by: com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter$UnknownFieldException: No such field name.abuchen.portfolio.model.InvestmentPlan.taxes
---- Debugging information ----
message             : No such field name.abuchen.portfolio.model.InvestmentPlan.taxes
field               : taxes
class               : name.abuchen.portfolio.model.InvestmentPlan
required-type       : name.abuchen.portfolio.model.InvestmentPlan
converter-type      : com.thoughtworks.xstream.converters.reflection.ReflectionConverter
path                : /client/plans/investment-plan/taxes
line number         : 132139
class[1]            : java.util.ArrayList
required-type[1]    : java.util.ArrayList
converter-type[1]   : com.thoughtworks.xstream.converters.collections.CollectionConverter
class[2]            : name.abuchen.portfolio.model.Client
required-type[2]    : name.abuchen.portfolio.model.Client
version             : not available
-------------------------------

	at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.handleUnknownField(AbstractReflectionConverter.java:520)

	at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.doUnmarshal(AbstractReflectionConverter.java:371)

	at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.unmarshal(AbstractReflectionConverter.java:277)

	at com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshaller.java:74)

	at com.thoughtworks.xstream.core.AbstractReferenceUnmarshaller.convert(AbstractReferenceUnmarshaller.java:72)

	at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:68)

	at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:52)

	at com.thoughtworks.xstream.converters.collections.AbstractCollectionConverter.readBareItem(AbstractCollectionConverter.java:132)

	at com.thoughtworks.xstream.converters.collections.AbstractCollectionConverter.readItem(AbstractCollectionConverter.java:117)

	at com.thoughtworks.xstream.converters.collections.CollectionConverter.addCurrentElementToCollection(CollectionConverter.java:99)

	at com.thoughtworks.xstream.converters.collections.CollectionConverter.populateCollection(CollectionConverter.java:92)

	at com.thoughtworks.xstream.converters.collections.CollectionConverter.populateCollection(CollectionConverter.java:86)

	at com.thoughtworks.xstream.converters.collections.CollectionConverter.unmarshal(CollectionConverter.java:81)

	at com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshaller.java:74)

	at com.thoughtworks.xstream.core.AbstractReferenceUnmarshaller.convert(AbstractReferenceUnmarshaller.java:72)

	at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:68)

	at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.unmarshallField(AbstractReflectionConverter.java:499)

	at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.doUnmarshal(AbstractReflectionConverter.java:425)

	at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.unmarshal(AbstractReflectionConverter.java:277)

	at com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshaller.java:74)

	at com.thoughtworks.xstream.core.AbstractReferenceUnmarshaller.convert(AbstractReferenceUnmarshaller.java:72)

	at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:68)

	at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:52)

	at com.thoughtworks.xstream.core.TreeUnmarshaller.start(TreeUnmarshaller.java:136)

	at com.thoughtworks.xstream.core.AbstractTreeMarshallingStrategy.unmarshal(AbstractTreeMarshallingStrategy.java:32)

	at com.thoughtworks.xstream.XStream.unmarshal(XStream.java:1421)

	at com.thoughtworks.xstream.XStream.unmarshal(XStream.java:1399)

	at com.thoughtworks.xstream.XStream.fromXML(XStream.java:1284)

	at name.abuchen.portfolio.model.ClientFactory$XmlSerialization.load(ClientFactory.java:122)

	... 3 more

Was war es denn vor der manuellen Umbenennung?

Welche Version verwendest Du? Das Feld “taxes” ist er später hinzugefügt worden. Irgendwie passt da was nicht. Hast Du die Datei “Backup-after-open” umbenannt?

Backup-Datei. Programm will die aber nicht öffnen

Beantwortet nur nicht die Frage, welche Version von PP du verwendest.