Bug #1166

RCP: 0.7.7, corpus backup failed

Added by Matthieu Decorde almost 5 years ago. Updated almost 5 years ago.

Status:In Progress Start date:12/09/2014
Priority:Normal Due date:
Assignee:- % Done:

80%

Category:Démarrage Spent time: -
Target version:TXM 0.7.7

Description

Mac OS X

Nettoyage de l'ancien dossier de sauvegarde des corpus /Users/Travail/TXM/corpus-backup-old
java.lang.NullPointerException
at org.txm.utils.DeleteDir.deleteDirectory(DeleteDir.java:78)
at org.txm.utils.DeleteDir.deleteDirectory(DeleteDir.java:80)
at org.txm.utils.DeleteDir.deleteDirectory(DeleteDir.java:80)
at org.txm.rcpapplication.ApplicationWorkbenchAdvisor.checkTXMHOME(ApplicationWorkbenchAdvisor.java:791)
at org.txm.rcpapplication.ApplicationWorkbenchAdvisor.access$1(ApplicationWorkbenchAdvisor.java:732)
at org.txm.rcpapplication.ApplicationWorkbenchAdvisor$2.run(ApplicationWorkbenchAdvisor.java:476)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
  • Impossible de sauvegarder les corpus existants : java.lang.NullPointerExcepti

Solution

fix the NullPointer when a directory contains no file in DeleteDir.java

History

#1 Updated by Matthieu Decorde almost 5 years ago

  • Description updated (diff)
  • Status changed from New to In Progress
  • % Done changed from 0 to 80

Also available in: Atom PDF