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

Investigate the SLF4j error and the MissingResourceException issue for the properties file

    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 a properties file is created and used in the code to read from it, it's not working and throws an error. Below is the error:

      ERROR : bundle igb:10.1.0 (40)[com.affymetrix.igb.prefs.IgbPreferencesLoadingOrchestrator(44)] : The activate method has thrown an exception
      java.util.MissingResourceException: Can't find bundle for base name ucsc, locale en_US
      at java.base/java.util.ResourceBundle.throwMissingResourceException(ResourceBundle.java:2059)
      at java.base/java.util.ResourceBundle.getBundleImpl(ResourceBundle.java:1697)
      at java.base/java.util.ResourceBundle.getBundleImpl(ResourceBundle.java:1600)
      at java.base/java.util.ResourceBundle.getBundleImpl(ResourceBundle.java:1555)
      at java.base/java.util.ResourceBundle.getBundle(ResourceBundle.java:861)
      at org.lorainelab.igb.ucsc.rest.api.service.UCSCRestApiDataProvider.<init>(UCSCRestApiDataProvider.java:39)

      Also, observed this error log for testcases in few modules:
      SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".
      SLF4J: Defaulting to no-operation (NOP) logger implementation
      SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details.

        Attachments

          Issue Links

            Activity

            Hide
            jsirigin Jaya Sravani Sirigineedi added a comment -

            Updated the code to rename the variable to "datasetLinkoutDomainUrl" and here is the branch: https://bitbucket.org/jaya-sravani/integrated-genome-browser/branch/IGBF-3813 Please review and let me know if there are any issues.

            Show
            jsirigin Jaya Sravani Sirigineedi added a comment - Updated the code to rename the variable to "datasetLinkoutDomainUrl" and here is the branch: https://bitbucket.org/jaya-sravani/integrated-genome-browser/branch/IGBF-3813 Please review and let me know if there are any issues.
            Hide
            nfreese Nowlan Freese added a comment -

            Tested Sravani's branch on Mac.

            Linkouts were working correctly, and as far as I could find all of the code was renamed.

            Ready for pull request.

            Show
            nfreese Nowlan Freese added a comment - Tested Sravani's branch on Mac. Linkouts were working correctly, and as far as I could find all of the code was renamed. Ready for pull request.
            Show
            jsirigin Jaya Sravani Sirigineedi added a comment - Here is the Pull request: https://bitbucket.org/lorainelab/integrated-genome-browser/pull-requests/1030
            Hide
            ann.loraine Ann Loraine added a comment -

            PR is merged and new installers deployed to bioviz.org. Ready for testing.

            Show
            ann.loraine Ann Loraine added a comment - PR is merged and new installers deployed to bioviz.org. Ready for testing.
            Hide
            nfreese Nowlan Freese added a comment -

            Tested with main branch installer on Mac.

            Link outs to UCSC REST are working, no issues in log.

            Closing ticket.

            Show
            nfreese Nowlan Freese added a comment - Tested with main branch installer on Mac. Link outs to UCSC REST are working, no issues in log. Closing ticket.

              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: