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

JGroups crashes when slf4j is used (Slf4jLogImpl)

    XMLWordPrintable

Details

    • Bug
    • Status: Resolved (View Workflow)
    • Major
    • Resolution: Done
    • 4.0.6, 4.0.15
    • 4.0.16
    • None
    • 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
      

      Attachments

        Activity

          People

            rhn-engineering-bban Bela Ban
            daanwendelen Daan Wendelen (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: