Fehlermeldung: XML kann nicht geparst werden: no more data available – expected end tags

Hallo ich erhalte folgende Fehlermeldung beim starten von Portfolio Performance, weiß jemand eine Lösung?

vielen dank im voraus

Hast du die gleichen Probleme wenn du mit den Backup Dateien arbeitest?

Ja das funktioniert nicht mehr bei meinem depot mit vielen Werten, hab noch n depot mit zwei werten, da funktioniert das

Schick mal alle drei Dateien (also die “backup” und auch die “backup-after-open” an portfolio dot performance dot help at gmail dot com und ich schaue was man noch reparieren kann.

Servus,
ich glaube ich habe das gleiche Problem, nur lässt sich keine Datei mehr öffnen. Weder die Originale noch die Backups…
Der Fehler trat beim Hochladen einer CSV-Datei auf, bei dem das Programm wahrscheinlich abgestützt ist. Jedenfalls habe ich dieses selbst nach einiger Zeit beendet.

Hier der Fehlercode:

Mon Dec 02 19:15:17 CET 2019
XML kann nicht geparst werden:  : no more data available - expected end tags </prices></security></securities></client> to close start tag <prices> from line 15589 and start tag <security> from line 15582 and start tag <securities> from line 4 and start tag <client> from line 1, parser stopped on END_TAG seen ...009-12-28" v="211010"/>\n        <price t="2009-12-29" v="209800"/>... @15615:43 :  : no more data available - expected end tags </prices></security></securities></client> to close start tag <prices> from line 15589 and start tag <security> from line 15582 and start tag <securities> from line 4 and start tag <client> from line 1, parser stopped on END_TAG seen ...009-12-28" v="211010"/>\n        <price t="2009-12-29" v="209800"/>... @15615:43
---- Debugging information ----
message             :  : no more data available - expected end tags </prices></security></securities></client> to close start tag <prices> from line 15589 and start tag <security> from line 15582 and start tag <securities> from line 4 and start tag <client> from line 1, parser stopped on END_TAG seen ...009-12-28" v="211010"/>\n        <price t="2009-12-29" v="209800"/>... @15615:43
cause-exception     : com.thoughtworks.xstream.io.StreamException
cause-message       :  : no more data available - expected end tags </prices></security></securities></client> to close start tag <prices> from line 15589 and start tag <security> from line 15582 and start tag <securities> from line 4 and start tag <client> from line 1, parser stopped on END_TAG seen ...009-12-28" v="211010"/>\n        <price t="2009-12-29" v="209800"/>... @15615:43
class               : java.util.ArrayList
required-type       : java.util.ArrayList
converter-type      : com.thoughtworks.xstream.converters.collections.CollectionConverter
path                : /client/securities/security[8]/prices
line number         : 15615
class[1]            : name.abuchen.portfolio.model.Security
converter-type[1]   : com.thoughtworks.xstream.converters.reflection.ReflectionConverter
class[2]            : name.abuchen.portfolio.model.Client
version             : not available
-------------------------------

java.io.IOException: XML kann nicht geparst werden:  : no more data available - expected end tags </prices></security></securities></client> to close start tag <prices> from line 15589 and start tag <security> from line 15582 and start tag <securities> from line 4 and start tag <client> from line 1, parser stopped on END_TAG seen ...009-12-28" v="211010"/>\n        <price t="2009-12-29" v="209800"/>... @15615:43 :  : no more data available - expected end tags </prices></security></securities></client> to close start tag <prices> from line 15589 and start tag <security> from line 15582 and start tag <securities> from line 4 and start tag <client> from line 1, parser stopped on END_TAG seen ...009-12-28" v="211010"/>\n        <price t="2009-12-29" v="209800"/>... @15615:43
---- Debugging information ----
message             :  : no more data available - expected end tags </prices></security></securities></client> to close start tag <prices> from line 15589 and start tag <security> from line 15582 and start tag <securities> from line 4 and start tag <client> from line 1, parser stopped on END_TAG seen ...009-12-28" v="211010"/>\n        <price t="2009-12-29" v="209800"/>... @15615:43
cause-exception     : com.thoughtworks.xstream.io.StreamException
cause-message       :  : no more data available - expected end tags </prices></security></securities></client> to close start tag <prices> from line 15589 and start tag <security> from line 15582 and start tag <securities> from line 4 and start tag <client> from line 1, parser stopped on END_TAG seen ...009-12-28" v="211010"/>\n        <price t="2009-12-29" v="209800"/>... @15615:43
class               : java.util.ArrayList
required-type       : java.util.ArrayList
converter-type      : com.thoughtworks.xstream.converters.collections.CollectionConverter
path                : /client/securities/security[8]/prices
line number         : 15615
class[1]            : name.abuchen.portfolio.model.Security
converter-type[1]   : com.thoughtworks.xstream.converters.reflection.ReflectionConverter
class[2]            : name.abuchen.portfolio.model.Client
version             : not available
-------------------------------

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

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

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

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

Caused by: com.thoughtworks.xstream.converters.ConversionException:  : no more data available - expected end tags </prices></security></securities></client> to close start tag <prices> from line 15589 and start tag <security> from line 15582 and start tag <securities> from line 4 and start tag <client> from line 1, parser stopped on END_TAG seen ...009-12-28" v="211010"/>\n        <price t="2009-12-29" v="209800"/>... @15615:43 :  : no more data available - expected end tags </prices></security></securities></client> to close start tag <prices> from line 15589 and start tag <security> from line 15582 and start tag <securities> from line 4 and start tag <client> from line 1, parser stopped on END_TAG seen ...009-12-28" v="211010"/>\n        <price t="2009-12-29" v="209800"/>... @15615:43
---- Debugging information ----
message             :  : no more data available - expected end tags </prices></security></securities></client> to close start tag <prices> from line 15589 and start tag <security> from line 15582 and start tag <securities> from line 4 and start tag <client> from line 1, parser stopped on END_TAG seen ...009-12-28" v="211010"/>\n        <price t="2009-12-29" v="209800"/>... @15615:43
cause-exception     : com.thoughtworks.xstream.io.StreamException
cause-message       :  : no more data available - expected end tags </prices></security></securities></client> to close start tag <prices> from line 15589 and start tag <security> from line 15582 and start tag <securities> from line 4 and start tag <client> from line 1, parser stopped on END_TAG seen ...009-12-28" v="211010"/>\n        <price t="2009-12-29" v="209800"/>... @15615:43
class               : java.util.ArrayList
required-type       : java.util.ArrayList
converter-type      : com.thoughtworks.xstream.converters.collections.CollectionConverter
path                : /client/securities/security[8]/prices
line number         : 15615
class[1]            : name.abuchen.portfolio.model.Security
converter-type[1]   : com.thoughtworks.xstream.converters.reflection.ReflectionConverter
class[2]            : 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.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:98)

	... 3 more

Caused by: com.thoughtworks.xstream.io.StreamException:  : no more data available - expected end tags </prices></security></securities></client> to close start tag <prices> from line 15589 and start tag <security> from line 15582 and start tag <securities> from line 4 and start tag <client> from line 1, parser stopped on END_TAG seen ...009-12-28" v="211010"/>\n        <price t="2009-12-29" v="209800"/>... @15615:43

	at com.thoughtworks.xstream.io.xml.XppReader.pullNextEvent(XppReader.java:126)

	at com.thoughtworks.xstream.io.xml.AbstractPullReader.readRealEvent(AbstractPullReader.java:148)

	at com.thoughtworks.xstream.io.xml.AbstractPullReader.readEvent(AbstractPullReader.java:135)

	at com.thoughtworks.xstream.io.xml.AbstractPullReader.hasMoreChildren(AbstractPullReader.java:87)

	at com.thoughtworks.xstream.io.ReaderWrapper.hasMoreChildren(ReaderWrapper.java:32)

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

	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)

	... 33 more

Caused by: java.io.EOFException: no more data available - expected end tags </prices></security></securities></client> to close start tag <prices> from line 15589 and start tag <security> from line 15582 and start tag <securities> from line 4 and start tag <client> from line 1, parser stopped on END_TAG seen ...009-12-28" v="211010"/>\n        <price t="2009-12-29" v="209800"/>... @15615:43

	at org.xmlpull.mxp1.MXParser.fillBuf(MXParser.java:3035)

	at org.xmlpull.mxp1.MXParser.more(MXParser.java:3046)

	at org.xmlpull.mxp1.MXParser.nextImpl(MXParser.java:1144)

	at org.xmlpull.mxp1.MXParser.next(MXParser.java:1093)

	at com.thoughtworks.xstream.io.xml.XppReader.pullNextEvent(XppReader.java:109)

	... 41 more

Ich habe das Problem seit heute. Sobald ich in der geöffneten Portfolio Performance die Datei versuche zu öffnen, erhalte ich eine Fehlermeldung. Gestern Abend habe ich die Datei noch ordnungsgemäß beendet. Es sind alle drei Dateien nicht zu öffnen, weder das Original, das Backup noch die after-open-Kopie. Ich habe sowohl versucht die Software neu zu installieren als auch einen anderen Laptop verwendet, beides MacBooks. Sehr bedauerlich, wenn es dauerhaft wäre, ich habe an der Datei seit 4 Jahren gearbeitet… Kommt in Kürze ein Software-Update, um auszuschließen, dass es von dieser kommen könnte?

Kurios :astonished:

Obwohl ich es auf verschiedenen Geräten und auch mit Kopien der Dateien versucht habe und diese auch heute noch nicht liefen, wurde die Originaldatei in meine Cloud über Nacht geladen. Nun habe ich sie runtergeladen und es ging auf einmal wieder - die lokalen Dateien sind immer noch kaputt - sehr strange :face_with_monocle:

Hauptsache es geht wieder :grinning:

Leider kommt diese Fehlermeldung, beim öffnen meines Depots…
Könnte mir jemand einen Tipp geben?
DANKE !!

Hast du es schon mit den Backup Dateien probiert?

hm…
naiv wie ich bin, habe ich kein „Backup“ gemacht…
habe das Depot immer nur gesichert und dann das Programm beendet…

Wird ein automatisches Backup erzeugt?
das wäre dann vermutlich dann die Rettung…

Habe die Backup Datei gefunden und umbenannt !

Jetzt läuft der Laden wieder !!!

Vielen Dank !!!

Hallo,
nach dem heutigen Update auf die Version 0.67.0 wird meine Portfolio-Datei nicht mehr geladen. Anbei das Fehlerprotokoll:

!SESSION 2023-12-31 14:05:25.497 -----------------------------------------------
eclipse.buildId=0.67.0.
java.version=17.0.5
java.vendor=Azul Systems, Inc.
BootLoader constants: OS=win32, ARCH=x86_64, WS=win32, NL=de_DE
Command-line arguments: -os win32 -ws win32 -arch x86_64

<b>!ENTRY name.abuchen.portfolio.ui 4 0 2023-12-31 14:06:11.675
!MESSAGE XML kann nicht geparst werden:
---- Debugging information ----
cause-exception : com.thoughtworks.xstream.io.StreamException
cause-message :
class : java.util.ArrayList
required-type : java.util.ArrayList
converter-type : com.thoughtworks.xstream.converters.collections.CollectionConverter
path : /client/securities/security[109]/prices
line number : 339490
class[1] : name.abuchen.portfolio.model.Security
required-type[1] : name.abuchen.portfolio.model.Security
converter-type[1] : com.thoughtworks.xstream.converters.reflection.ReflectionConverter
class[2] : name.abuchen.portfolio.model.Client
required-type[2] : name.abuchen.portfolio.model.Client
version : not available</b>

<b>!STACK 0
java.io.IOException: XML kann nicht geparst werden:
---- Debugging information ----
cause-exception : com.thoughtworks.xstream.io.StreamException
cause-message :
class : java.util.ArrayList
required-type : java.util.ArrayList
converter-type : com.thoughtworks.xstream.converters.collections.CollectionConverter
path : /client/securities/security[109]/prices
line number : 339490
class[1] : name.abuchen.portfolio.model.Security
required-type[1] : name.abuchen.portfolio.model.Security
converter-type[1] : com.thoughtworks.xstream.converters.reflection.ReflectionConverter
class[2] : name.abuchen.portfolio.model.Client
required-type[2] : name.abuchen.portfolio.model.Client
version : not available</b>

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)

<b>Caused by: com.thoughtworks.xstream.converters.ConversionException:
---- Debugging information ----
cause-exception : com.thoughtworks.xstream.io.StreamException
cause-message :
class : java.util.ArrayList
required-type : java.util.ArrayList
converter-type : com.thoughtworks.xstream.converters.collections.CollectionConverter
path : /client/securities/security[109]/prices
line number : 339490
class[1] : name.abuchen.portfolio.model.Security
required-type[1] : name.abuchen.portfolio.model.Security
converter-type[1] : com.thoughtworks.xstream.converters.reflection.ReflectionConverter
class[2] : name.abuchen.portfolio.model.Client
required-type[2] : name.abuchen.portfolio.model.Client
version : not available</b>

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

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.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:1464)

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

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

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

... 3 more

Caused by: com.thoughtworks.xstream.io.StreamException:
at com.thoughtworks.xstream.io.xml.XppReader.pullNextEvent(XppReader.java:126)
at com.thoughtworks.xstream.io.xml.AbstractPullReader.readRealEvent(AbstractPullReader.java:148)
at com.thoughtworks.xstream.io.xml.AbstractPullReader.readEvent(AbstractPullReader.java:135)
at com.thoughtworks.xstream.io.xml.AbstractPullReader.hasMoreChildren(AbstractPullReader.java:87)
at com.thoughtworks.xstream.io.ReaderWrapper.hasMoreChildren(ReaderWrapper.java:32)
at com.thoughtworks.xstream.converters.collections.CollectionConverter.populateCollection(CollectionConverter.java:90)
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)
… 34 more
Caused by: java.io.EOFException: no more data available - expected end tags to close start tag from line 339490 and start tag from line 338034 and start tag from line 338026 and start tag from line 4 and start tag from line 1, parser stopped on TEXT seen …\n <price t="2023-12-… @339490:27
at org.xmlpull.mxp1.MXParser.fillBuf(MXParser.java:3035)
at org.xmlpull.mxp1.MXParser.more(MXParser.java:3046)
at org.xmlpull.mxp1.MXParser.parseAttribute(MXParser.java:2026)
at org.xmlpull.mxp1.MXParser.parseStartTag(MXParser.java:1799)
at org.xmlpull.mxp1.MXParser.nextImpl(MXParser.java:1127)
at org.xmlpull.mxp1.MXParser.next(MXParser.java:1093)
at com.thoughtworks.xstream.io.xml.XppReader.pullNextEvent(XppReader.java:109)
… 42 more

Hat jemand eine Idee, wie ich wieder zu einer lauffähigen Datei komme?

Grüße Jürgen

Das Problem ist nicht das Update, sondern das die Datei beschädigt bzw. unvollständig ist. Backup? Ggf. die, die PP selbst beim öffnen anlegt?

2 Likes

Hallo,
die Datei … backup-after-open.xml lies sich öffnen. Es fehlen halt einige Daten, die ich nachtragen muss.
Besten Dank für den Tip.
Leider bleibt doch eine Unsicherheit zurück, wann das Problem wieder auftritt. Beendet wurde ie üblich ohne jegliche Auffälligkeit.
Grüße Jürgen

Meistens passiert es, wenn auf Netzlaufwerken gespeichert wird.

Und du solltest immer Backups von allem haben.

2 Likes