XML kann nicht geparst werden: java.time.format.DateTimeParseException


#1

Hallo zusammen,

seit einer Woche kann ich meine Portfolio-Dateien nicht mehr öffnen und erhalte untenstehende Fehlermeldung (aus Fehlerprotokoll kopiert). Hat jemand schon einmal so ein Problem? Ich kann den Fehlercode leider nicht selbst “lesen” und ableiten, was das Problem ist.

Dies betrifft alle meine Daten aus dem Jahr 2018 inklusive Backup und “backup-after-open”. Ich habe bereits PP neu heruntergeladen, dass hat aber auch nicht geholfen.
Ich nutze PP auf einem MacBook und auch Java auf Updates geprüft.

Weiß jemand wie man die Daten wieder zum laufen bekommt?

Beste Grüße
Schimi

Wed Jun 13 21:20:11 CEST 2018
XML kann nicht geparst werden: java.time.format.DateTimeParseException: Text '2017-01-20T00:00' could not be parsed, unparsed text found at index 10 : java.time.format.DateTimeParseException: Text '2017-01-20T00:00' could not be parsed, unparsed text found at index 10
---- Debugging information ----
message             : java.time.format.DateTimeParseException: Text '2017-01-20T00:00' could not be parsed, unparsed text found at index 10
cause-exception     : java.lang.UnsupportedOperationException
cause-message       : java.time.format.DateTimeParseException: Text '2017-01-20T00:00' could not be parsed, unparsed text found at index 10
class               : java.time.LocalDate
required-type       : java.time.LocalDate
converter-type      : com.thoughtworks.xstream.converters.SingleValueConverterWrapper
wrapped-converter   : name.abuchen.portfolio.util.XStreamLocalDateConverter
path                : /client/accounts/account/transactions/account-transaction/date
line number         : 47706
class[1]            : name.abuchen.portfolio.model.AccountTransaction
converter-type[1]   : com.thoughtworks.xstream.converters.reflection.ReflectionConverter
class[2]            : java.util.ArrayList
converter-type[2]   : com.thoughtworks.xstream.converters.collections.CollectionConverter
class[3]            : name.abuchen.portfolio.model.Account
class[4]            : name.abuchen.portfolio.model.Client
version             : not available
-------------------------------

java.io.IOException: XML kann nicht geparst werden: java.time.format.DateTimeParseException: Text '2017-01-20T00:00' could not be parsed, unparsed text found at index 10 : java.time.format.DateTimeParseException: Text '2017-01-20T00:00' could not be parsed, unparsed text found at index 10
---- Debugging information ----
message             : java.time.format.DateTimeParseException: Text '2017-01-20T00:00' could not be parsed, unparsed text found at index 10
cause-exception     : java.lang.UnsupportedOperationException
cause-message       : java.time.format.DateTimeParseException: Text '2017-01-20T00:00' could not be parsed, unparsed text found at index 10
class               : java.time.LocalDate
required-type       : java.time.LocalDate
converter-type      : com.thoughtworks.xstream.converters.SingleValueConverterWrapper
wrapped-converter   : name.abuchen.portfolio.util.XStreamLocalDateConverter
path                : /client/accounts/account/transactions/account-transaction/date
line number         : 47706
class[1]            : name.abuchen.portfolio.model.AccountTransaction
converter-type[1]   : com.thoughtworks.xstream.converters.reflection.ReflectionConverter
class[2]            : java.util.ArrayList
converter-type[2]   : com.thoughtworks.xstream.converters.collections.CollectionConverter
class[3]            : name.abuchen.portfolio.model.Account
class[4]            : name.abuchen.portfolio.model.Client
version             : not available
-------------------------------
	at name.abuchen.portfolio.model.ClientFactory$XmlSerialization.load(ClientFactory.java:105)
	at name.abuchen.portfolio.model.ClientFactory$PlainWriter.load(ClientFactory.java:131)
	at name.abuchen.portfolio.model.ClientFactory.load(ClientFactory.java:345)
	at name.abuchen.portfolio.ui.LoadClientThread.run(LoadClientThread.java:37)
Caused by: com.thoughtworks.xstream.converters.ConversionException: java.time.format.DateTimeParseException: Text '2017-01-20T00:00' could not be parsed, unparsed text found at index 10 : java.time.format.DateTimeParseException: Text '2017-01-20T00:00' could not be parsed, unparsed text found at index 10
---- Debugging information ----
message             : java.time.format.DateTimeParseException: Text '2017-01-20T00:00' could not be parsed, unparsed text found at index 10
cause-exception     : java.lang.UnsupportedOperationException
cause-message       : java.time.format.DateTimeParseException: Text '2017-01-20T00:00' could not be parsed, unparsed text found at index 10
class               : java.time.LocalDate
required-type       : java.time.LocalDate
converter-type      : com.thoughtworks.xstream.converters.SingleValueConverterWrapper
wrapped-converter   : name.abuchen.portfolio.util.XStreamLocalDateConverter
path                : /client/accounts/account/transactions/account-transaction/date
line number         : 47706
class[1]            : name.abuchen.portfolio.model.AccountTransaction
converter-type[1]   : com.thoughtworks.xstream.converters.reflection.ReflectionConverter
class[2]            : java.util.ArrayList
converter-type[2]   : com.thoughtworks.xstream.converters.collections.CollectionConverter
class[3]            : name.abuchen.portfolio.model.Account
class[4]            : name.abuchen.portfolio.model.Client
version             : not available
-------------------------------
	at com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshaller.java:79)
	at com.thoughtworks.xstream.core.AbstractReferenceUnmarshaller.convert(AbstractReferenceUnmarshaller.java:65)
	at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:66)
	at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.unmarshallField(AbstractReflectionConverter.java:480)
	at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.doUnmarshal(AbstractReflectionConverter.java:412)
	at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.unmarshal(AbstractReflectionConverter.java:263)
	at com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshaller.java:72)
	at com.thoughtworks.xstream.core.AbstractReferenceUnmarshaller.convert(AbstractReferenceUnmarshaller.java:65)
	at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:66)
	at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:50)
	at com.thoughtworks.xstream.converters.collections.AbstractCollectionConverter.readItem(AbstractCollectionConverter.java:71)
	at com.thoughtworks.xstream.converters.collections.CollectionConverter.addCurrentElementToCollection(CollectionConverter.java:98)
	at com.thoughtworks.xstream.converters.collections.CollectionConverter.populateCollection(CollectionConverter.java:91)
	at com.thoughtworks.xstream.converters.collections.CollectionConverter.populateCollection(CollectionConverter.java:85)
	at com.thoughtworks.xstream.converters.collections.CollectionConverter.unmarshal(CollectionConverter.java:80)
	at com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshaller.java:72)
	at com.thoughtworks.xstream.core.AbstractReferenceUnmarshaller.convert(AbstractReferenceUnmarshaller.java:65)
	at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:66)
	at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.unmarshallField(AbstractReflectionConverter.java:480)
	at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.doUnmarshal(AbstractReflectionConverter.java:412)
	at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.unmarshal(AbstractReflectionConverter.java:263)
	at com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshaller.java:72)
	at com.thoughtworks.xstream.core.AbstractReferenceUnmarshaller.convert(AbstractReferenceUnmarshaller.java:65)
	at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:66)
	at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:50)
	at com.thoughtworks.xstream.converters.collections.AbstractCollectionConverter.readItem(AbstractCollectionConverter.java:71)
	at com.thoughtworks.xstream.converters.collections.CollectionConverter.addCurrentElementToCollection(CollectionConverter.java:98)
	at com.thoughtworks.xstream.converters.collections.CollectionConverter.populateCollection(CollectionConverter.java:91)
	at com.thoughtworks.xstream.converters.collections.CollectionConverter.populateCollection(CollectionConverter.java:85)
	at com.thoughtworks.xstream.converters.collections.CollectionConverter.unmarshal(CollectionConverter.java:80)
	at com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshaller.java:72)
	at com.thoughtworks.xstream.core.AbstractReferenceUnmarshaller.convert(AbstractReferenceUnmarshaller.java:65)
	at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:66)
	at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.unmarshallField(AbstractReflectionConverter.java:480)
	at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.doUnmarshal(AbstractReflectionConverter.java:412)
	at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.unmarshal(AbstractReflectionConverter.java:263)
	at com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshaller.java:72)
	at com.thoughtworks.xstream.core.AbstractReferenceUnmarshaller.convert(AbstractReferenceUnmarshaller.java:65)
	at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:66)
	at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:50)
	at com.thoughtworks.xstream.core.TreeUnmarshaller.start(TreeUnmarshaller.java:134)
	at com.thoughtworks.xstream.core.AbstractTreeMarshallingStrategy.unmarshal(AbstractTreeMarshallingStrategy.java:32)
	at com.thoughtworks.xstream.XStream.unmarshal(XStream.java:1206)
	at com.thoughtworks.xstream.XStream.unmarshal(XStream.java:1190)
	at com.thoughtworks.xstream.XStream.fromXML(XStream.java:1061)
	at name.abuchen.portfolio.model.ClientFactory$XmlSerialization.load(ClientFactory.java:93)
	... 3 more
Caused by: java.lang.UnsupportedOperationException: java.time.format.DateTimeParseException: Text '2017-01-20T00:00' could not be parsed, unparsed text found at index 10
	at name.abuchen.portfolio.util.XStreamLocalDateConverter.fromString(XStreamLocalDateConverter.java:27)
	at com.thoughtworks.xstream.converters.SingleValueConverterWrapper.fromString(SingleValueConverterWrapper.java:41)
	at com.thoughtworks.xstream.converters.SingleValueConverterWrapper.unmarshal(SingleValueConverterWrapper.java:49)
	at com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshaller.java:72)
	... 48 more
Caused by: java.time.format.DateTimeParseException: Text '2017-01-20T00:00' could not be parsed, unparsed text found at index 10
	at java.time.format.DateTimeFormatter.parseResolved0(DateTimeFormatter.java:1952)
	at java.time.format.DateTimeFormatter.parse(DateTimeFormatter.java:1851)
	at java.time.LocalDate.parse(LocalDate.java:400)
	at java.time.LocalDate.parse(LocalDate.java:385)
	at name.abuchen.portfolio.util.XStreamLocalDateConverter.fromString(XStreamLocalDateConverter.java:23)
	... 51 more

#2

Sehr komisch. Die Fehlermeldung besagt, dass Du einen PP Datei die Buchungen mit Uhrzeit unterstützt mit einer PP Version laden möchtest die das noch gar nicht kann.

“Normalerweise” könnte sowas auftreten, wenn Du z.B. die Datei auf einem anderen Rechner mit einer neueren Version von PP editiert hast. Mir ist nicht ganz klar wie es zu so einer “Regression” kommen kommt.

Ich würde mal versuchen PP komplett zu löschen und noch mal neu zu installieren.

Wenn Du sowas wie Dropbox hast, dann wäre es cool wenn Du die alte Installation zippst und mir den Dropbox Link an portfolio dot performance dot help at gmail dot com schicken könntest. Vielleicht kann ich da was entdecken…


#3

Hallo Andreas,

vielen Dank für deine Unterstützung. Es ist mir fast etwas peinlich, aber kaum hatte ich das Programm noch einmal installiert funktionierte wieder alles und ich konnte meine Dateien wieder problemlos öffnen. Da ist irgendwas durcheinander geraten mit alten und neuen Versionen.

Trotzdem vielen Dank!