Menu

#711 Console-mode align doesn't load the project correctly and crashes

3.1
closed-fixed
5
2014-10-21
2014-10-04
No

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

Related

Bugs: #830

Discussion

  • Briac Pilpré

    Briac Pilpré - 2014-10-04

    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?)

     
  • Didier Briel

    Didier Briel - 2014-10-07

    Fixed in SVN (/trunk).

    Didier

     
  • Didier Briel

    Didier Briel - 2014-10-07
    • status: open --> open-fixed
    • assigned_to: Briac Pilpré
     
  • Didier Briel

    Didier Briel - 2014-10-07

    btw, is there a way to close my tickets?

    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

     
  • Didier Briel

    Didier Briel - 2014-10-21
    • status: open-fixed --> closed-fixed
     
  • Didier Briel

    Didier Briel - 2014-10-21

    Fixed in the released version 3.1.7 of OmegaT.

    Didier

     

Log in to post a comment.