You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@uima.apache.org by "Peter Klügl (JIRA)" <de...@uima.apache.org> on 2013/02/05 20:50:15 UTC
[jira] [Commented] (UIMA-2639) Validate produce undefine feature
errors for every feature
[ https://issues.apache.org/jira/browse/UIMA-2639?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13571665#comment-13571665 ]
Peter Klügl commented on UIMA-2639:
-----------------------------------
Thanks for bringing this up. I also observe this problem sometimes, but never could reproduce it when I actually tried to debug it. My best guess is that it is caused by a unfortunate order of builders. Normally, the error disappears if I change the script file and save it, thus starting the builders again. I will try to create an appropriate example and to fix it for good.
> Validate produce undefine feature errors for every feature
> ----------------------------------------------------------
>
> Key: UIMA-2639
> URL: https://issues.apache.org/jira/browse/UIMA-2639
> Project: UIMA
> Issue Type: Bug
> Components: TextMarker
> Reporter: Pablo Duboue (KeaText)
> Priority: Minor
>
> All features under 'CREATE' action are marked as undefined (and generating an error) even when correct (and defined in the same file).
> I traced that error to:
> textmarker-ep-ide/src/main/java/org/apache/uima/textmarker/ide/validator/TextMarkerVarRefChecker.java:309
> 306 private boolean findFeature(String structure, String feat) {
> 307 boolean featureFound = false;
> 308 if (description == null || structure == null) {
> 309 return featureFound;
> 310 }
> if the structure is null, it makes no sense to return false. I changed to 'return true') and now it works (but it doesn't detect actual undefined features, though).
> I'll be glad to help fix this issue for good if you have any guidance.
> (this error is for trunk at rev. 1442700)
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira