Uploaded image for project: 'Chart Search Module'
  1. Chart Search Module
  2. CSM-63

java.lang.NoSuchMethodError: org.slf4j.helpers.MessageFormatter.format(Ljava/lang/String;Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/String;

    Details

    • Type: Bug
    • Status: Closed
    • Priority: TBD
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: None
    • Labels:
      None
    • Complexity:
      Low

      Description

      Reproducing:
      1. Clone https://github.com/openmrs/openmrs-module-chartsearch or pull from the above repo's master branch in-case you already cloned it. (before this ticket is merged)
      2. compile the install the module.
      3. browse to work with the module's functionality in a browser, and you will find out that the module doesn't index patient data,.....
      4. Debugging the module, i find out that solrServer returns NULL when using EmbeddedSolrServer
      While monitoring i find out that EmbeddedSolrServerCreator.createSolrServer() when it's supposed to create an EmbeddedSolrServer instance, it threw http://pastebin.com/2gwJUYY5 exception. (around these two lines:

      coreContainer = initializer.initialize();
      			solrServer = new EmbeddedSolrServer(coreContainer, "");

      )

      This error can be caused as a result of a version mis-match between the various SLF4J API and integration libraries among other cases;

      This ticket is meant to fix this issue.

        Attachments

          Activity

            People

            • Assignee:
              k.joseph Kaweesi Joseph
              Reporter:
              k.joseph Kaweesi Joseph
            • Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: