Uploaded image for project: 'cTAKES'
  1. cTAKES
  2. CTAKES-278

UMLS user and password should be validated

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • future enhancement
    • 3.2.0
    • None

    Description

      If the umls user name and password are not set properly, now the dictionary-lookup module will throw NullPointerException, which is not very informative. isValidUMLSUser should validate input and raise an informative exception instead.

      Caused by: java.lang.NullPointerException
      at java.net.URLEncoder.encode(URLEncoder.java:188)
      at org.apache.ctakes.dictionary.lookup.ae.UmlsDictionaryLookupAnnotator.isValidUMLSUser(UmlsDictionaryLookupAnnotator.java:87)
      at org.apache.ctakes.dictionary.lookup.ae.UmlsDictionaryLookupAnnotator.initialize(UmlsDictionaryLookupAnnotator.java:70)

      Many thanks!

      Attachments

        Activity

          People

            Unassigned Unassigned
            linflyer Chen Lin
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: