Hacktoberfest 2026 : les issues que les mainteneurs ont marquées pour octobre, ouvertes et accessibles aux débutants. Parcourir les issues Hacktoberfest

[Bug] Recovery from corrupt conversation_index.xml

Ouverte
#476 0 commentaires 0 réactions 0 personnes assignées Voir sur GitHub

Les mainteneurs répondent en général sous 1 jour

Personne n'a encore pris cette issue.

Évaluation

Difficulté
4/5
Temps estimé
3-5 jours
Accessibilité débutants
48/100
Type d'issue
Bug
Clarté
Plutôt claire
Activité
Active
Stack technique
java
Domaine
desktop

Piste de recherche

The issue identifies conversation_index.xml and individual conversation files but names no source files or tests. Start by locating where the Eclipse plugin reads and writes the conversation index, then inspect how it handles malformed XML and existing conversation files. Done means a truncated index no longer prevents existing conversations from appearing or new chats from being saved; recovery behavior still needs to be chosen.

Rédigé par le modèle d'indexation à partir du texte de l'issue.

Description

bug

Environment

  • OS: Windows 11
  • Eclipse Version: 4.38.0.v20251201-0920
  • Plugin Version: 0.21.0.202609221612_nightly

Describe the bug
Somehow my conversation_index.xml got truncated. There didn't appear to be any connection to an Eclipse crash or particular activity. After this happened none of the existing conversations showed in the chat history panel but also new conversations failed to be added too. It was necessary to delete the existing conversation_index.xml file for chat history to function again with new conversations.

To Reproduce
Steps to reproduce the behavior:

  1. Edit the conversation_index.xml file and delete the file from midway through a conversation element to the end.
  2. Start Eclipse.
  3. Start a new chat.
  4. Start another chat or restart Eclipse.
  5. See that the first chat is not present in the history.

Expected behavior
Recovery from the corrupted file. This could be from a backup file that is guaranteed to validate or ideally recreating it from the individual conversation files.

Langage dominant
Java
Étoiles
125
Forks
63
Merge moyen
1 j 14 h
PR mergées (30 j)
3

Préparer son environnement

Par où commencer

  1. Lisez l'issue en entier, puis le guide de contribution du projet.
  2. Signalez en commentaire que vous la prenez — cela évite que deux personnes fassent le même travail.
  3. Forkez le dépôt et travaillez sur une branche.
  4. Ouvrez une pull request qui référence le numéro de l'issue.

Autres issues de microsoft/copilot-for-eclipse

Toutes les issues de microsoft/copilot-for-eclipse

Issues similaires

Plus d'issues Java

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.