Skip to content

XML lässt sich nicht mehr öffnen #58

@simpsus

Description

@simpsus

In dem Consistency Check werden Lösungen vorgeschlagen. Für 2 der Buchungen habe ich einen der Vorschläge ausgewählt, danach kam bei "Performance" oder dort bei "Diagramm" lange nichts und dann eine Meldung einer NPE und dem Hinweis auf das Fehlerprotokoll. Nach einem Neustart kam folgendes:

Portfolio Performance _001

Der Stacktrace liest sich als:

com.thoughtworks.xstream.converters.ConversionException: Cannot construct name.abuchen.portfolio.model.BuySellEntry as it does not have a no-args constructor : Cannot construct name.abuchen.portfolio.model.BuySellEntry as it does not have a no-args constructor
---- Debugging information ----
message             : Cannot construct name.abuchen.portfolio.model.BuySellEntry as it does not have a no-args constructor
cause-exception     : com.thoughtworks.xstream.converters.reflection.ObjectAccessException
cause-message       : Cannot construct name.abuchen.portfolio.model.BuySellEntry as it does not have a no-args constructor
class               : name.abuchen.portfolio.model.Client
required-type       : name.abuchen.portfolio.model.BuySellEntry
path                : /client/accounts/account/transactions/account-transaction[2]/crossEntry
line number         : 10621
-------------------------------
    at com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshaller.java:89)
    at com.thoughtworks.xstream.core.AbstractReferenceUnmarshaller.convert(AbstractReferenceUnmarshaller.java:63)
    at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:76)
    at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.unmarshallField(AbstractReflectionConverter.java:246)
    at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.doUnmarshal(AbstractReflectionConverter.java:218)
    at

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions