With 3.1.6, when trying to align properties files with the --mode=console-align a NullPointerException is thrown.
This is due to the fact that the Core.FilterMaster is not initialized correctly because the project is not fully loaded in this console mode. When forcing the project loading, the alignment is done correctly but OmegaT doesn't quit at the end.
For instance:
56354: Info: Console alignment mode Initialisation Chargement du projet 56354: Info: Source tokenizer: org.omegat.tokenizer.LuceneEnglishTokenizer (LUCENE_CURRENT) 56354: Info: Target tokenizer: org.omegat.tokenizer.LuceneFrenchTokenizer (LUCENE_CURRENT) Aligner le projet par rapport à C:\Users\briac\Desktop\Omegat\align 56354: Erreur: java.lang.NullPointerException 56354: Erreur: at org.omegat.core.data.RealProject.align(RealProject.java:400) 56354: Erreur: at org.omegat.Main.runConsoleAlign(Main.java:436) 56354: Erreur: at org.omegat.Main.main(Main.java:199) Une erreur sest produite en essayant dexÚcuter un processus console : java.lang.NullPointerException
OK, it's fixed in trunk 6667 -- I forgot to close the project properly, that's why it was hanging at the end.
(btw, is there a way to close my tickets?)
Fixed in SVN (/trunk).
Didier
Unless it's bug happening only in development code (not in a released version), we only close when a version with the fix is released.
Didier
Fixed in the released version 3.1.7 of OmegaT.
Didier