Ir para conteúdo
  • Cadastre-se
  • 0

Alguém sabe qual problema seria esse abaixo? Ele aparece apenas ao dá Restart no servidor!


Hallow33n

Pergunta

Error scheduling task.
        at java.base/java.util.concurrent.ThreadPoolExecutor$AbortPolicy.rejectedExecution(ThreadPoolExecutor.java:2065)
        at java.base/java.util.concurrent.ThreadPoolExecutor.reject(ThreadPoolExecutor.java:833)
        at java.base/java.util.concurrent.ScheduledThreadPoolExecutor.delayedExecute(ScheduledThreadPoolExecutor.java:340)
        at java.base/java.util.concurrent.ScheduledThreadPoolExecutor.schedule(ScheduledThreadPoolExecutor.java:562)
        at com.l2jmega.commons.concurrent.ThreadPool.schedule(ThreadPool.java:81)
        at com.l2jmega.gameserver.model.L2Effect.startEffectTask(L2Effect.java:265)
        at com.l2jmega.gameserver.model.L2Effect.scheduleEffect(L2Effect.java:384)
        at com.l2jmega.gameserver.model.L2Skill.getEffects(L2Skill.java:2328)
        at com.l2jmega.gameserver.model.L2Skill.getEffects(L2Skill.java:2347)
        at com.l2jmega.gameserver.model.zone.type.L2EffectZone$ApplySkill.run(L2EffectZone.java:207)
        at com.l2jmega.commons.concurrent.ThreadPool$TaskWrapper.run(ThreadPool.java:254)
        at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:539)
        at java.base/java.util.concurrent.FutureTask.runAndReset(FutureTask.java:305)
        at java.base/java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:305)

Link para o comentário
Compartilhar em outros sites

1 resposta a esta questão

Posts recomendados

  • 0

Opa! Como vai?

Analisando o log, basicamente esse erro acontece quando uma tarefa agendada no ThreadPool é abortada por N motivos, provavelmente pela reinicialização servidor.

De que forma você reiniciou ele? Acredito que deva existir algum Dispose ao reiniciar o servidor para limpar a fila no ThreadPool, afim de evitar esses erros.

banner2.png.30b4e74bf5d5418afb97fb5eb86809f8.png

Link para o comentário
Compartilhar em outros sites


Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Visitante
Responder esta pergunta...

×   Você colou conteúdo com formatação.   Remover formatação

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Processando...




×
×
  • Criar Novo...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.