Bug #1108

Mis à jour par Matthieu Decorde il y a plus de 10 ans

h3. Step to reproduce

* create a concordance, index, lexical table, etc.
* export data from menus or buttons

Log:

<pre>
at org.txm.rcpapplication.commands.OpenFile.openfile(OpenFile.java:143)
at org.txm.rcpapplication.commands.OpenFile.openfile(OpenFile.java:160)
at org.txm.rcpapplication.commands.function.ExportResult$1.run(ExportResult.java:183)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
</pre>

I think it's a context/UI thread problem. The bug comes from window.getActivePage() in org.txm.rcpapplication.commands.OpenFile.openfile(File). window is null.

h3. Validation test

* set the "show export result in editor" preference
* Create a concordance
* Export the concordance from the corpora view
* Export the concordance from the toolbar menu

MD : **OK**

Retour