[jboss-jira] [JBoss JIRA] (JGRP-2307) Jgroup crashes when slf4j is used
Daan Wendelen (Jira)
issues at jboss.org
Tue Oct 23 05:57:00 EDT 2018
[ https://issues.jboss.org/browse/JGRP-2307?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Daan Wendelen updated JGRP-2307:
--------------------------------
Steps to Reproduce:
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"
was:
This requires a system with docker
- Download and unpack the the following zip (hmmm, I can't attach the 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"
> Jgroup crashes when slf4j is used
> ---------------------------------
>
> Key: JGRP-2307
> URL: https://issues.jboss.org/browse/JGRP-2307
> Project: JGroups
> Issue Type: Bug
> Affects Versions: 4.0.6, 4.0.15
> Environment: - I only tested 4.0.6 and 4.0.15 but I suspect all 4.0.x version are affected
> - Only happens in docker (our image is based on "java:8")
> Reporter: Daan Wendelen
> Assignee: Bela Ban
> Priority: Major
> Attachments: jgroups-bug.zip
>
>
> When running our application, it crashes with the following stacktrace.
> {code}
> 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
> {code}
--
This message was sent by Atlassian Jira
(v7.12.1#712002)
More information about the jboss-jira
mailing list