I want to ask for help, since currently I have a problem with the curation of some of the annotated files due to an error (longer version of the error at the end of the e-mail):
"Error: Cannot invoke "org.apache.uima.cas.Feature.getRange()" because "f" is null"
The files can be opened without any problem by the annotators (no warnings or errors are shown). In the curation mode the files are also listed, however I get the error while I am trying to open them for curation; the color changes to blue (seen) though. In the exported version the files are missing in the curation folder.
The reannotation of the files seems to help (same values for the same features). I checked the xmi-Files before and after the reannotation, and do not see any changes except for xmi:ids.
I suppose, the problem is caused by me somehow (changes to annotation scheme? However, the inspected problematic files are annotated with features and values, that never changed.) And it is strange to me, that the problem occurs only in the cuarion view. I also cannot see from the error which feature of the layer causes the problem.
Maybe someone has any idea, if there is a solution to my problem. I have many files, which I cannot curate due to the error.
Thanks in advance,
Aleks
-----
ERROR:
ConstraintsServiceImpl - Read constraints set [barriere_constraints_projekt2 (1).txt] in project [Barriere_NO_Dupl_Part2](22)
2021-06-22 17:38:22 ERROR [aleksandra] CurationPage - Error: Cannot invoke "org.apache.uima.cas.Feature.getRange()" because "f" is null
java.lang.NullPointerException: Cannot invoke "org.apache.uima.cas.Feature.getRange()" because "f" is null
at de.tudarmstadt.ukp.clarin.webanno.api.annotation.adapter.TypeAdapter_ImplBase.getValue(TypeAdapter_ImplBase.java:139) ~[inception-api-annotation-0.19.7.jar!/:?]
at de.tudarmstadt.ukp.clarin.webanno.api.annotation.adapter.TypeAdapter_ImplBase.setFeatureValue(TypeAdapter_ImplBase.java:121) ~[inception-api-annotation-0.19.7.jar!/:?]
at de.tudarmstadt.ukp.clarin.webanno.curation.casmerge.CasMerge.copyFeatures(CasMerge.java:456) ~[inception-curation-legacy-0.19.7.jar!/:?]
at de.tudarmstadt.ukp.clarin.webanno.curation.casmerge.CasMerge.mergeSpanAnnotation(CasMerge.java:505) ~[inception-curation-legacy-0.19.7.jar!/:?]
at de.tudarmstadt.ukp.clarin.webanno.curation.casmerge.CasMerge.reMergeCas(CasMerge.java:264) ~[inception-curation-legacy-0.19.7.jar!/:?]
at de.tudarmstadt.ukp.clarin.webanno.ui.curation.page.CurationPage.initializeEditorCas(CurationPage.java:832) ~[inception-ui-curation-0.19.7.jar!/:?]
at de.tudarmstadt.ukp.clarin.webanno.ui.curation.page.CurationPage.readCurationCas(CurationPage.java:795) ~[inception-ui-curation-0.19.7.jar!/:?]
at de.tudarmstadt.ukp.clarin.webanno.ui.curation.page.CurationPage.readOrCreateMergeCas(CurationPage.java:561) ~[inception-ui-curation-0.19.7.jar!/:?]
at de.tudarmstadt.ukp.clarin.webanno.ui.curation.page.CurationPage.actionLoadDocument(CurationPage.java:503) ~[inception-ui-curation-0.19.7.jar!/:?]
at de.tudarmstadt.ukp.clarin.webanno.ui.curation.page.CurationPage.actionLoadDocument(CurationPage.java:468) ~[inception-ui-curation-0.19.7.jar!/:?]
at de.tudarmstadt.ukp.clarin.webanno.api.annotation.actionbar.docnav.DocumentNavigator.actionShowNextDocument(DocumentNavigator.java:100) ~[inception-api-annotation-0.19.7.jar!/:?]
at de.tudarmstadt.ukp.clarin.webanno.api.annotation.actionbar.docnav.DocumentNavigator.lambda$new$9689a5c8$2(DocumentNavigator.java:60) ~[inception-api-annotation-0.19.7.jar!/:?]
at de.tudarmstadt.ukp.clarin.webanno.support.lambda.LambdaAjaxLink.onClick(LambdaAjaxLink.java:67) [inception-support-0.19.7.jar!/:?]