Fehler beim Laden der Portfolio-Datei: Unexpected end of ZLIB input stream

Hallo liebe PP Community,

ich bekomme seit heute Abend beim Öffnen meiner Portfolio-Datei leider folgende Fehler angezeigt (Fehlerprotokolle aufklappbar):

Unexpected end of ZLIB stream

Thu Jul 31 21:47:17 CEST 2025
Unexpected end of ZLIB input stream

java.io.EOFException: Unexpected end of ZLIB input stream

at java.base/java.util.zip.InflaterInputStream.fill(Unknown Source)

at java.base/java.util.zip.InflaterInputStream.read(Unknown Source)

at java.base/java.util.zip.ZipInputStream.read(Unknown Source)

at com.google.protobuf.CodedInputStream$StreamDecoder.read(CodedInputStream.java:2038)

at com.google.protobuf.CodedInputStream$StreamDecoder.tryRefillBuffer(CodedInputStream.java:2782)

at com.google.protobuf.CodedInputStream$StreamDecoder.isAtEnd(CodedInputStream.java:2705)

at com.google.protobuf.CodedInputStream$StreamDecoder.readTag(CodedInputStream.java:2065)

at name.abuchen.portfolio.model.proto.v1.PHistoricalPrice$Builder.mergeFrom(PHistoricalPrice.java:351)

at name.abuchen.portfolio.model.proto.v1.PHistoricalPrice$1.parsePartialFrom(PHistoricalPrice.java:493)

at name.abuchen.portfolio.model.proto.v1.PHistoricalPrice$1.parsePartialFrom(PHistoricalPrice.java:1)

at com.google.protobuf.CodedInputStream$StreamDecoder.readMessage(CodedInputStream.java:2349)

at name.abuchen.portfolio.model.proto.v1.PSecurity$Builder.mergeFrom(PSecurity.java:1895)

at name.abuchen.portfolio.model.proto.v1.PSecurity$1.parsePartialFrom(PSecurity.java:4347)

at name.abuchen.portfolio.model.proto.v1.PSecurity$1.parsePartialFrom(PSecurity.java:1)

at com.google.protobuf.CodedInputStream$StreamDecoder.readMessage(CodedInputStream.java:2349)

at name.abuchen.portfolio.model.proto.v1.PClient$Builder.mergeFrom(PClient.java:1365)

at name.abuchen.portfolio.model.proto.v1.PClient$1.parsePartialFrom(PClient.java:3809)

at name.abuchen.portfolio.model.proto.v1.PClient$1.parsePartialFrom(PClient.java:1)

at com.google.protobuf.AbstractParser.parsePartialFrom(AbstractParser.java:192)

at com.google.protobuf.AbstractParser.parseFrom(AbstractParser.java:209)

at com.google.protobuf.AbstractParser.parseFrom(AbstractParser.java:214)

at com.google.protobuf.AbstractParser.parseFrom(AbstractParser.java:25)

at com.google.protobuf.GeneratedMessage.parseWithIOException(GeneratedMessage.java:324)

at name.abuchen.portfolio.model.proto.v1.PClient.parseFrom(PClient.java:797)

at name.abuchen.portfolio.model.ProtobufWriter.load(ProtobufWriter.java:107)

at name.abuchen.portfolio.model.ClientFactory$PlainWriterZIP.load(ClientFactory.java:233)

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

at name.abuchen.portfolio.ui.editor.LoadClientThread.run(LoadClientThread.java:34)
While parsing a protocol message, the input stream ended unexpectfully in the middle of a field

Thu Jul 31 21:58:17 CEST 2025
While parsing a protocol message, the input ended unexpectedly in the middle of a field. This could mean either that the input has been truncated or that an embedded message misreported its own length.

com.google.protobuf.InvalidProtocolBufferException: While parsing a protocol message, the input ended unexpectedly in the middle of a field. This could mean either that the input has been truncated or that an embedded message misreported its own length.

at com.google.protobuf.InvalidProtocolBufferException.truncatedMessage(InvalidProtocolBufferException.java:92)

at com.google.protobuf.CodedInputStream$StreamDecoder.refillBuffer(CodedInputStream.java:2734)

at com.google.protobuf.CodedInputStream$StreamDecoder.readRawLittleEndian64(CodedInputStream.java:2627)

at com.google.protobuf.CodedInputStream$StreamDecoder.readFixed64(CodedInputStream.java:2223)

at com.google.protobuf.UnknownFieldSet$Builder.mergeFieldFrom(UnknownFieldSet.java:522)

at com.google.protobuf.MessageReflection.mergeFieldFrom(MessageReflection.java:1167)

at com.google.protobuf.GeneratedMessage$ExtendableBuilder.parseUnknownField(GeneratedMessage.java:1630)

at name.abuchen.portfolio.model.proto.v1.PHistoricalPrice$Builder.mergeFrom(PHistoricalPrice.java:367)

at name.abuchen.portfolio.model.proto.v1.PHistoricalPrice$1.parsePartialFrom(PHistoricalPrice.java:493)

at name.abuchen.portfolio.model.proto.v1.PHistoricalPrice$1.parsePartialFrom(PHistoricalPrice.java:1)

at com.google.protobuf.CodedInputStream$StreamDecoder.readMessage(CodedInputStream.java:2349)

at name.abuchen.portfolio.model.proto.v1.PSecurity$Builder.mergeFrom(PSecurity.java:1895)

at name.abuchen.portfolio.model.proto.v1.PSecurity$1.parsePartialFrom(PSecurity.java:4347)

at name.abuchen.portfolio.model.proto.v1.PSecurity$1.parsePartialFrom(PSecurity.java:1)

at com.google.protobuf.CodedInputStream$StreamDecoder.readMessage(CodedInputStream.java:2349)

at name.abuchen.portfolio.model.proto.v1.PClient$Builder.mergeFrom(PClient.java:1365)

at name.abuchen.portfolio.model.proto.v1.PClient$1.parsePartialFrom(PClient.java:3809)

at name.abuchen.portfolio.model.proto.v1.PClient$1.parsePartialFrom(PClient.java:1)

at com.google.protobuf.AbstractParser.parsePartialFrom(AbstractParser.java:192)

at com.google.protobuf.AbstractParser.parseFrom(AbstractParser.java:209)

at com.google.protobuf.AbstractParser.parseFrom(AbstractParser.java:214)

at com.google.protobuf.AbstractParser.parseFrom(AbstractParser.java:25)

at com.google.protobuf.GeneratedMessage.parseWithIOException(GeneratedMessage.java:324)

at name.abuchen.portfolio.model.proto.v1.PClient.parseFrom(PClient.java:797)

at name.abuchen.portfolio.model.ProtobufWriter.load(ProtobufWriter.java:107)

at name.abuchen.portfolio.model.ClientFactory$PlainWriterZIP.load(ClientFactory.java:233)

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

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

Die Fehler treten nur im Windows-Programm auf. In der Mobile App klappt das Öffnen und aktualisieren der Datei ganz normal. Gestern Abend ging auch noch alles ganz normal. Auch kein der von PP automatisch angelegten Backup-Dateien funktioniert.

Ich habe meine PP-Datei auf einem Google Drive abgelegt im Binary-Format (also mit Endung “.portfolio”; nicht “.xml”).

Im Forum hatte ich bereits etwas von “zu großer Datei” o.ä. gelesen. Bei dem anderen User waren es jedoch ca 35 MB, meine Datei ist da nur 1,4 MB groß.

Ist meine PP-Datei bzw. sind meine Daten noch zu retten und, wenn ja, was kann ich tun? :grimacing:
Da steckt ne Meeeenge Arbeit drin und ich würde heulen, wenn das nun alles im Arsch wäre… :cry:

Ich hoffe sehr auf eure Hilfe.

Danke vorab und hoffnungsvolle Grüße
Matze

Datei ist kaputt. Nutz das Backup, falls das nicht geht, lass dir von OneDrive eine vorherige Dateiversion herstellen.

1 Like

Danke für die schnelle Hilfe! :raising_hands: :folded_hands:
Wusste gar nicht, dass Google Drive automatisch historische Versionen der Dateien speichert und vorhält - wieder was gelernt. Mit der Vorversion scheint es nun wieder zu funktionieren :ok_hand: