Bug #3182

Mis à jour par Serge Heiden il y a presque 4 ans

CQP Annotations, error (to identify, seems related with some self-closing/milestone self-closing tags).


Impossible to annotate the file in attachment. Seems related with the milestone self-closing tag "<anchor/>".
Same behavior with "<anch/>".
But works with "<lb/>".

Error log:

<pre>
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)
</pre>

Steps to reproduce:
- import the attached file
- do a concordance of "Les"
- try to ton annotate the line with category "test"

Retour