Uploaded image for project: 'IGB'
  1. IGB
  2. IGBF-3915

Fix the NoClassDefFoundError and BadRequest errors found while testing UCSC

    Details

    • Type: Task
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: 10.1.0
    • Labels:
      None

      Description

      When running UCSCRestSymloaderTest, getting the below error in the log, this isn't an error that fails the test case, but need to be fixed to make the log cleaner:

      java.lang.NoClassDefFoundError: org/apache/commons/lang3/StringUtils
      at org.lorainelab.igb.synonymlookup.services.impl.SynonymLookup.loadSynonyms(SynonymLookup.java:73)
      at org.lorainelab.igb.synonymlookup.services.impl.ChromosomeSynonymLookupImpl.<init>(ChromosomeSynonymLookupImpl.java:28)

      and when trying to load a chromosome that's not present for a dataset, UCSC is now throwing a Bad request error, so we have to handle this in the code:

      Sep 20, 2024 2:49:43 PM com.affymetrix.genometry.quickload.QuickLoadSymLoader logException
      SEVERE: Unexpected response status: 400
      org.apache.http.client.ClientProtocolException: Unexpected response status: 400
      at org.lorainelab.igb.ucsc.rest.api.service.utils.ApiResponseHandler.handleResponse(ApiResponseHandler.java:33)

        Attachments

          Activity

            People

            • Assignee:
              jsirigin Jaya Sravani Sirigineedi
              Reporter:
              jsirigin Jaya Sravani Sirigineedi
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: