Uploaded image for project: 'JGroups'
  1. JGroups
  2. JGRP-2307

JGroups crashes when slf4j is used (Slf4jLogImpl)

    Details

    • Type: Bug
    • Status: Resolved (View Workflow)
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: 4.0.6, 4.0.15
    • Fix Version/s: 4.0.16
    • Labels:
      None
    • Steps to Reproduce:
      Hide

      This requires a system with docker

      • Download and unpack the the following zip jgroups-bug.zip
      • Go to jgroups-bug
      • To build the docker image run "./gradlew buildDocker" (or something similar on windows)
      • Then run the docker image "docker run jgroups-bug-reported-by-daan:latest"
      Show
      This requires a system with docker Download and unpack the the following zip jgroups-bug.zip Go to jgroups-bug To build the docker image run "./gradlew buildDocker" (or something similar on windows) Then run the docker image "docker run jgroups-bug-reported-by-daan:latest"

      Description

      When running our application, it crashes with the following stacktrace.

      Exception in thread "main" java.lang.reflect.InvocationTargetException
      	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      	at java.lang.reflect.Method.invoke(Method.java:498)
      	at org.springframework.boot.loader.MainMethodRunner.run(MainMethodRunner.java:48)
      	at org.springframework.boot.loader.Launcher.launch(Launcher.java:87)
      	at org.springframework.boot.loader.Launcher.launch(Launcher.java:50)
      	at org.springframework.boot.loader.JarLauncher.main(JarLauncher.java:51)
      Caused by: java.lang.ExceptionInInitializerError
      	at Bug.main(Bug.java:5)
      	... 8 more
      Caused by: java.lang.NullPointerException
      	at java.util.Locale.<init>(Locale.java:648)
      	at java.util.Locale.<init>(Locale.java:677)
      	at org.jgroups.logging.Slf4jLogImpl.<clinit>(Slf4jLogImpl.java:20)
      	... 9 more
      

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                belaban Bela Ban
                Reporter:
                daanwendelen Daan Wendelen
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: