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

            No work has yet been logged on this issue.

              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: