Log4j

Rein

Просто конченный
Местный
Сообщения
159
Розыгрыши
0
Репутация
156
Реакции
148
Баллы
1 408
Хроники
  1. Chaotic Throne: High Five
Исходники
Отсутствуют
Сборка
l2j-dev
Ребят в чем может быть проблема? ГС запускается нормально, а в конце вот это "Shutdown ERROR Ignoring log event after Log4j has been shut down." и гс выключается сразу

Вот полная ошибка, ещё вылезло:
15:22:26 AuthServer I/O error: Connection refused: no further information
2019-03-02 15:22:26,635 Shutdown ERROR Ignoring log event after Log4j has been shut down.
2019-03-02 15:22:26,636 Shutdown ERROR Ignoring log event after Log4j has been shut down.
2019-03-02 15:22:26,734 Shutdown ERROR Unable to register shutdown hook because JVM is shutting down. java.lang.IllegalStateException: Cannot add new shutdown hook as this is not started. Current state: STOPPED
at org.apache.logging.log4j.core.util.DefaultShutdownCallbackRegistry.addShutdownCallback(DefaultShutdownCallbackRegistry.java:113)
at org.apache.logging.log4j.core.impl.Log4jContextFactory.addShutdownCallback(Log4jContextFactory.java:273)
at org.apache.logging.log4j.core.LoggerContext.setUpShutdownHook(LoggerContext.java:256)
at org.apache.logging.log4j.core.LoggerContext.start(LoggerContext.java:216)
at org.apache.logging.log4j.core.async.AsyncLoggerContext.start(AsyncLoggerContext.java:77)
at org.apache.logging.log4j.core.impl.Log4jContextFactory.getContext(Log4jContextFactory.java:145)
at org.apache.logging.log4j.core.impl.Log4jContextFactory.getContext(Log4jContextFactory.java:41)
at org.apache.logging.log4j.LogManager.getContext(LogManager.java:182)
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 org.slf4j.LoggerFactory.getLogger(LoggerFactory.java:383)
at org.mmocore.gameserver.dao.CursedWeaponsDAO.<clinit>(CursedWeaponsDAO.java:24)
at org.mmocore.gameserver.instancemanager.CursedWeaponsManager.saveData(CursedWeaponsManager.java:100)
at org.mmocore.gameserver.Shutdown.saveData(Shutdown.java:266)
at org.mmocore.gameserver.Shutdown.run(Shutdown.java:191)
 
Unable to register shutdown hook because JVM is shutting down. java.lang.IllegalStateException: Cannot add new shutdown hook as this is not started. Current state: STOPPED
 
XML:
<?xml version="1.0" encoding="UTF-8"?>
<Configuration shutdownHook="disable">
...
</Configuration>
 
в конфиге log4j
 
Теперь такое, что может быть? Бафер вообще выключен
16:41:37 CommunityBoard: Community Buffer loaded.
java.lang.NullPointerException
at services.community.custom.Buffer.buttonBuff(Buffer.java:448)
at services.community.custom.Buffer.genPageBuff(Buffer.java:433)
at services.community.custom.Buffer.genPageBuff(Buffer.java:441)
at services.community.custom.Buffer.genPageBuff(Buffer.java:441)
at services.community.custom.Buffer.onInit(Buffer.java:50)
at java.util.ArrayList.forEach(Unknown Source)
at org.mmocore.gameserver.scripts.Scripts$ScriptListenerImpl.callInit(Scripts.java:354)
at org.mmocore.gameserver.scripts.Scripts.init(Scripts.java:141)
at org.mmocore.gameserver.GameServer.<init>(GameServer.java:221)
at org.mmocore.gameserver.GameServer.main(GameServer.java:432)
 
Ну тут экстрасенсов нету, и что находится на строчках:
at services.community.custom.Buffer.buttonBuff(Buffer.java:448) at services.community.custom.Buffer.genPageBuff(Buffer.java:433)
Не знают
 
Ну тут экстрасенсов нету, и что находится на строчках:
at services.community.custom.Buffer.buttonBuff(Buffer.java:448) at services.community.custom.Buffer.genPageBuff(Buffer.java:433)
Не знают
448:
String name = SkillTable.getInstance().getInfo(id, level).getName();
433:
buffPages.append("<td>").append(buttonBuff(allowBuff.get(i), allowBuff.get(i + 1), list.size(), type)).append("</td>");
441:
genPageBuff(list, i, type);
 
Назад
Сверху Снизу