Rupert Westenthaler created STANBOL-975:
-------------------------------------------

             Summary: ServiceTrackerCustomizer for LabelTokenizers of the 
EntityhubLinkingEngine may throw Exceptions
                 Key: STANBOL-975
                 URL: https://issues.apache.org/jira/browse/STANBOL-975
             Project: Stanbol
          Issue Type: Bug
          Components: Engine - Entityhub Linking
    Affects Versions: enhancement-engines-0.10.0
            Reporter: Rupert Westenthaler
            Assignee: Rupert Westenthaler
            Priority: Minor


The current implementation has two  possibilities to result in an runtime 
exception

(1) SortedSet#last() Method throws NoSuchElementException if the set is empty.
(2) as the ServiceTracker field for the labelTokenizer is set to NULL in the 
deactivate Method access to this field in the add/remoge/modifyService methods 
must consider NULL values

(1) affects only the add- and modifyService methods wile (2) may affect all 
three of them.


--
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

Reply via email to