Bonsoir à tous
j'ai fais ce code pour manipuler un fichier et l'utiliser dans l'API Gate
ce code génère une exception:Exception in thread "main" java.lang.NullPointerException
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5 File file=null; final FileInputStream input = new FileInputStream(file); String fileAbsolutePath = file.getAbsolutePath(); Corpus corpus = createCorpus(fileAbsolutePath);
S'il vous plaît aidez moi à détecter l'erreur
Je vous attends
Partager