on 2018 Mar 28 4:43 PM
Hello,
Recently we decided to track logs from graylog so we need to send the logs to our graylog server. I did all the configurations and i could send the logs but after these configurations whenever i run the license.sh file to show or install licenses i get an error saying :
Exception in thread "main" java.lang.ExceptionInInitializerError at de.hybris.platform.licence.sap.DefaultKeySystem.loadPlatformProperties(DefaultKeySystem.java:61) at de.hybris.platform.licence.sap.DefaultKeySystem.(DefaultKeySystem.java:48) at de.hybris.platform.licence.sap.HybrisAdmin.main(HybrisAdmin.java:46) Caused by: java.lang.NullPointerException at de.hybris.platform.util.logging.log4j2.HybrisLog4j2ConfigurationFactory.loadXmlConfiguration(HybrisLog4j2ConfigurationFactory.java:105) at de.hybris.platform.util.logging.log4j2.HybrisLog4j2ConfigurationFactory.getConfiguration(HybrisLog4j2ConfigurationFactory.java:58) at org.apache.logging.log4j.core.config.ConfigurationFactory$Factory.getConfiguration(ConfigurationFactory.java:427) at org.apache.logging.log4j.core.config.ConfigurationFactory.getConfiguration(ConfigurationFactory.java:265) at org.apache.logging.log4j.core.LoggerContext.reconfigure(LoggerContext.java:599) at org.apache.logging.log4j.core.LoggerContext.reconfigure(LoggerContext.java:620) at org.apache.logging.log4j.core.LoggerContext.start(LoggerContext.java:226) at org.apache.logging.log4j.core.impl.Log4jContextFactory.getContext(Log4jContextFactory.java:152) at org.apache.logging.log4j.core.impl.Log4jContextFactory.getContext(Log4jContextFactory.java:45) at org.apache.logging.log4j.LogManager.getContext(LogManager.java:194) at org.apache.logging.log4j.spi.AbstractLoggerAdapter.getContext(AbstractLoggerAdapter.java:103) at org.apache.logging.slf4j.Log4jLoggerFactory.getContext(Log4jLoggerFactory.java:43) at org.apache.logging.log4j.spi.AbstractLoggerAdapter.getLogger(AbstractLoggerAdapter.java:42) at org.apache.logging.slf4j.Log4jLoggerFactory.getLogger(Log4jLoggerFactory.java:29) at org.slf4j.LoggerFactory.getLogger(LoggerFactory.java:358) at de.hybris.platform.util.logging.HybrisLogger.(HybrisLogger.java:104) at de.hybris.platform.util.logging.HybrisLoggerFactory.makeNewLoggerInstance(HybrisLoggerFactory.java:31) at org.apache.log4j.Hierarchy.getLogger(Hierarchy.java:275) at org.apache.log4j.PropertyConfigurator.parseCatsAndRenderers(PropertyConfigurator.java:670) at org.apache.log4j.PropertyConfigurator.doConfigure(PropertyConfigurator.java:516) at de.hybris.platform.core.Log4JUtils.readConfig(Log4JUtils.java:103) at de.hybris.platform.core.Log4JUtils.startup(Log4JUtils.java:56) at de.hybris.platform.util.Utilities.(Utilities.java:126) ... 3 more
I tried to modify the license.sh file according to match the versions of the jars in the lib folder as i saw this was the issue for some people from here, but i still get the same error over and over again.
How can we fix this issue as tracking the logs from graylog is very important to us.
Thanks in advance.
Request clarification before answering.
| User | Count |
|---|---|
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.