Uploaded image for project: 'PhenoTips'
  1. PT-1434

Ugly stacktrace logged if the GeneNames service is unavailable

    Details

    • Type: Task
    • Status: Closed
    • Priority: Medium
    • Resolution: Fixed
    • Affects versions: None
    • Fix versions: 1.1-rc-1
    • Components: None
    • Sprint:
    • External issue ID:
      1434

      Description

      `
      net.sf.json.JSONException: Invalid JSON String
      at net.sf.json.JSONSerializer.toJSON(JSONSerializer.java:143) ~[json-lib-2.4-jdk15.jar:na]
      at net.sf.json.JSONSerializer.toJSON(JSONSerializer.java:103) ~[json-lib-2.4-jdk15.jar:na]
      at net.sf.json.JSONSerializer.toJSON(JSONSerializer.java:84) ~[json-lib-2.4-jdk15.jar:na]
      at org.phenotips.ontology.internal.GeneNomenclature.getInfo(GeneNomenclature.java:306) ~[ontology-hgnc-access-api-1.0.jar:na]
      at org.phenotips.ontology.internal.GeneNomenclature.getVersion(GeneNomenclature.java:292) ~[ontology-hgnc-access-api-1.0.jar:na]
      at org.phenotips.ontology.listeners.PatientOntologyVersionRecorder.getOntologiesVersions(PatientOntologyVersionRecorder.java:128) ~[ontology-access-api-1.0.jar:na]
      ....

        Attachments

          Activity

            People

            • Assignee:
              mjshepherd Matthew Shepherd
              Reporter:
              sdumitriu Sergiu Dumitriu
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: