Bug #3182
Annotations, error (to identify, seems related with some self-closing tags)
Statut: | New | Début: | 17/11/2021 | ||
---|---|---|---|---|---|
Priorité: | Normal | Echéance: | |||
Assigné à: | - | % réalisé: | 20% |
||
Catégorie: | Annotation | Temps passé: | - | ||
Version cible: | TXM 0.8.4 |
Description
CQP Annotations, error (to identify, seems related with some self-closing/milestone tags).
Impossible to annotate the file in attachment. Seems related with the milestone "<anchor/>".
Same behavior with "<anch/>".
But works with "<lb/>".
Error log:
Recherche de TypedValue avec id = test Affectation de la valeur test à la propriété span pour 1 occurrences. 001 .Octet reçu du serveur CQi : 4. Octet reçu du serveur CQi : 4. org.txm.searchengine.cqp.serverException.CqiClErrorCorpusAccess: at org.txm.searchengine.cqp.MemCqiClient.throwExceptionFromCqi(MemCqiClient.java:159) at org.txm.searchengine.cqp.MemCqiClient.throwExceptionFromCqi(MemCqiClient.java:67) at org.txm.searchengine.cqp.MemCqiClient.attributeSize(MemCqiClient.java:219) at org.txm.annotation.kr.core.CQPAnnotationManager.getAnnotations(CQPAnnotationManager.java:133) at org.txm.annotation.kr.core.AnnotationManager.createAnnotations(AnnotationManager.java:278) at org.txm.annotation.kr.rcp.concordance.SimpleKRAnnotation.affectAnnotationValues(SimpleKRAnnotation.java:612) at org.txm.annotation.kr.rcp.concordance.SimpleKRAnnotation$7.run(SimpleKRAnnotation.java:431) at org.eclipse.core.internal.jobs.Worker.run(Worker.java:56) Error during annotation creation: org.txm.searchengine.cqp.serverException.CqiClErrorCorpusAccess: ** Erreur pendant laffectation de lannotation java.lang.IllegalStateException: Exception Description: No transaction is currently active java.lang.IllegalStateException: Exception Description: No transaction is currently active at org.eclipse.persistence.internal.jpa.transaction.EntityTransactionImpl.commit(EntityTransactionImpl.java:123) at org.txm.annotation.kr.core.AnnotationManager.createAnnotations(AnnotationManager.java:344) at org.txm.annotation.kr.rcp.concordance.SimpleKRAnnotation.affectAnnotationValues(SimpleKRAnnotation.java:612) at org.txm.annotation.kr.rcp.concordance.SimpleKRAnnotation$7.run(SimpleKRAnnotation.java:431) at org.eclipse.core.internal.jobs.Worker.run(Worker.java:56)
to reproduce:¶
- import the attached file
- do a concordance of "Les"
- try to annotate the line with category "test"
Historique
#1 Mis à jour par Serge Heiden il y a presque 4 ans
- Description mis à jour (diff)
#2 Mis à jour par Matthieu Decorde il y a presque 4 ans
- % réalisé changé de 0 à 70
MD: seems fixed with last TXM 0.8.2beta update
#3 Mis à jour par Sebastien Jacquot il y a presque 4 ans
- % réalisé changé de 70 à 80
After more tests:
1) I made a mistake, the attached file contains a <lb/> instead of <anchor/>.
2) The problem doesn't seem to be present using XTZ import but only using XML/w import
#4 Mis à jour par Sebastien Jacquot il y a presque 4 ans
- % réalisé changé de 80 à 70
#5 Mis à jour par Sebastien Jacquot il y a presque 4 ans
- Fichier
test.xmlsupprimé
#6 Mis à jour par Sebastien Jacquot il y a presque 4 ans
- Fichier test.xml
ajouté
#7 Mis à jour par Sebastien Jacquot il y a presque 4 ans
New test.xml file that leads to the bug.
#8 Mis à jour par Matthieu Decorde il y a presque 4 ans
- % réalisé changé de 70 à 20
MD: I could not reproduced the bug on Ubuntu and TXM 0.8.2 dev
#9 Mis à jour par Matthieu Decorde il y a plus de 3 ans
- Description mis à jour (diff)
#10 Mis à jour par Matthieu Decorde il y a presque 3 ans
- Version cible changé de TXM 0.8.2 à TXM 0.8.4