From subharaj.manna at gmail.com Thu Apr 12 12:53:53 2018 From: subharaj.manna at gmail.com (Debraj Manna) Date: Thu, 12 Apr 2018 16:23:53 +0530 Subject: [slf4j-user] Stackoverflow Error Message-ID: Hi I am getting the below stackoverflow error Java Extension Directory /usr/lib/jvm/jdk1.8/jre/lib/ext:/usr/java/packages/lib/ext Exception in thread "main" java.lang.StackOverflowError at java.util.concurrent.ConcurrentHashMap.get(ConcurrentHashMap.java:936) at org.apache.log4j.Log4jLoggerFactory.getLogger(Log4jLoggerFactory.java:39) at org.apache.log4j.LogManager.getLogger(LogManager.java:45) at org.slf4j.impl.Log4jLoggerFactory.getLogger(Log4jLoggerFactory.java:66) at org.slf4j.LoggerFactory.getLogger(LoggerFactory.java:270) at org.apache.log4j.Category.(Category.java:57) at org.apache.log4j.Logger.(Logger.java:37) at org.apache.log4j.Log4jLoggerFactory.getLogger(Log4jLoggerFactory.java:43) at org.apache.log4j.LogManager.getLogger(LogManager.java:45) ... Can someone let me know what is going wrong ? -------------- next part -------------- An HTML attachment was scrubbed... URL: From claude at renegat.net Thu Apr 12 13:42:03 2018 From: claude at renegat.net (Claude Brisson) Date: Thu, 12 Apr 2018 13:42:03 +0200 Subject: [slf4j-user] Stackoverflow Error In-Reply-To: References: Message-ID: <2641ed84-7919-ceca-4b71-04b0b67c332d@renegat.net> Yes. If you pipe log4j towards slf4j and slf4j towards log4j, you'll get a problem somewhere... Claude On 12/04/2018 12:53, Debraj Manna wrote: > Hi > > I am getting the below stackoverflow error > > Java Extension Directory > /usr/lib/jvm/jdk1.8/jre/lib/ext:/usr/java/packages/lib/ext > Exception in thread "main" java.lang.StackOverflowError > at java.util.concurrent.ConcurrentHashMap.get(ConcurrentHashMap.java:936) > at > org.apache.log4j.Log4jLoggerFactory.getLogger(Log4jLoggerFactory.java:39) > at org.apache.log4j.LogManager.getLogger(LogManager.java:45) > at org.slf4j.impl.Log4jLoggerFactory.getLogger(Log4jLoggerFactory.java:66) > at org.slf4j.LoggerFactory.getLogger(LoggerFactory.java:270) > at org.apache.log4j.Category.(Category.java:57) > at org.apache.log4j.Logger.(Logger.java:37) > at > org.apache.log4j.Log4jLoggerFactory.getLogger(Log4jLoggerFactory.java:43) > at org.apache.log4j.LogManager.getLogger(LogManager.java:45) > ... > > Can someone let me know what is going wrong ? > > > _______________________________________________ > slf4j-user mailing list > slf4j-user at qos.ch > http://mailman.qos.ch/mailman/listinfo/slf4j-user -------------- next part -------------- An HTML attachment was scrubbed... URL: From boards at gmail.com Thu Apr 12 18:22:10 2018 From: boards at gmail.com (Matt Sicker) Date: Thu, 12 Apr 2018 11:22:10 -0500 Subject: [slf4j-user] Stackoverflow Error In-Reply-To: References: Message-ID: Looks like you may have two incompatible logging libraries on the classpath. Do you have a longer stacktrace? On 12 April 2018 at 05:53, Debraj Manna wrote: > Hi > > I am getting the below stackoverflow error > > Java Extension Directory /usr/lib/jvm/jdk1.8/jre/lib/ > ext:/usr/java/packages/lib/ext > Exception in thread "main" java.lang.StackOverflowError > at java.util.concurrent.ConcurrentHashMap.get(ConcurrentHashMap.java:936) > at org.apache.log4j.Log4jLoggerFactory.getLogger( > Log4jLoggerFactory.java:39) > at org.apache.log4j.LogManager.getLogger(LogManager.java:45) > at org.slf4j.impl.Log4jLoggerFactory.getLogger(Log4jLoggerFactory.java:66) > at org.slf4j.LoggerFactory.getLogger(LoggerFactory.java:270) > at org.apache.log4j.Category.(Category.java:57) > at org.apache.log4j.Logger.(Logger.java:37) > at org.apache.log4j.Log4jLoggerFactory.getLogger( > Log4jLoggerFactory.java:43) > at org.apache.log4j.LogManager.getLogger(LogManager.java:45) > ... > > Can someone let me know what is going wrong ? > > _______________________________________________ > slf4j-user mailing list > slf4j-user at qos.ch > http://mailman.qos.ch/mailman/listinfo/slf4j-user > -- Matt Sicker -------------- next part -------------- An HTML attachment was scrubbed... URL: