Skip to content

erro ao carregar o cacert na distribuiçaoDfe #348

Description

@rmalavazigalli

Alguem poderia me ajudar com esse erro começou a apresentar na distribuiçãoDfe.
Estava funcionando corretamente e essa semana começou a aprensentar esse erro. Estou usando a versão 4.1.1

Illegal access: this web application instance has been stopped already. Could not load [cacert]. The following stack trace is thrown for debugging purposes as well as to attempt to terminate the thread which caused the illegal access.
jul 10 10:31:54 debian13 tomcat11[926]: java.lang.IllegalStateException: Illegal access: this web application instance has been stopped already. Could not load [cacert]. The following stack trace is thrown for debugging purposes as well as to attempt to terminate the thread which caused the illegal access.
jul 10 10:31:54 debian13 tomcat11[926]: at org.apache.catalina.loader.WebappClassLoaderBase.checkStateForResourceLoading(WebappClassLoaderBase.java:1248)
jul 10 10:31:54 debian13 tomcat11[926]: at org.apache.catalina.loader.WebappClassLoaderBase.getResourceAsStream(WebappClassLoaderBase.java:938)
jul 10 10:31:54 debian13 tomcat11[926]: at java.base/java.lang.Class.getResourceAsStream(Class.java:3026)
jul 10 10:31:54 debian13 tomcat11[926]: at br.com.swconsultoria.certificado.CertificadoService.inicializaCertificado(CertificadoService.java:36)
jul 10 10:31:54 debian13 tomcat11[926]: at br.com.swconsultoria.nfe.util.ConfiguracoesUtil.iniciaConfiguracoes(ConfiguracoesUtil.java:71)
jul 10 10:31:54 debian13 tomcat11[926]: at br.com.swconsultoria.nfe.Nfe.distribuicaoDfe(Nfe.java:63)
jul 10 10:31:54 debian13 tomcat11[926]: at controller.fiscal.nfe.DistribuicaoDfe.downloadNfe(DistribuicaoDfe.java:45)
jul 10 10:31:54 debian13 tomcat11[926]: at controller.fiscal.nfe.DistribuicaoDfe.consultaNotasFiscais(DistribuicaoDfe.java:135)
jul 10 10:31:54 debian13 tomcat11[926]: at controller.servlets.DistribuicaoDfe_buscarDfe$1.run(DistribuicaoDfe_buscarDfe.java:51)
jul 10 10:31:54 debian13 tomcat11[926]: at java.base/java.util.TimerThread.mainLoop(Timer.java:566)
jul 10 10:31:54 debian13 tomcat11[926]: at java.base/java.util.TimerThread.run(Timer.java:516)
jul 10 10:31:54 debian13 tomcat11[926]: java.lang.IllegalStateException: Illegal access: this web application instance has been stopped already. Could not load [cacert]. The following stack trace is thrown for debugging purposes as well as to attempt to terminate the thread which caused the illegal access.
jul 10 10:31:54 debian13 tomcat11[926]: at org.apache.catalina.loader.WebappClassLoaderBase.checkStateForResourceLoading(WebappClassLoaderBase.java:1248)
jul 10 10:31:54 debian13 tomcat11[926]: at org.apache.catalina.loader.WebappClassLoaderBase.getResourceAsStream(WebappClassLoaderBase.java:938)
jul 10 10:31:54 debian13 tomcat11[926]: at java.base/java.lang.Class.getResourceAsStream(Class.java:3026)
jul 10 10:31:54 debian13 tomcat11[926]: at br.com.swconsultoria.certificado.CertificadoService.inicializaCertificado(CertificadoService.java:36)
jul 10 10:31:54 debian13 tomcat11[926]: at br.com.swconsultoria.nfe.util.ConfiguracoesUtil.iniciaConfiguracoes(ConfiguracoesUtil.java:71)
jul 10 10:31:54 debian13 tomcat11[926]: at br.com.swconsultoria.nfe.Nfe.distribuicaoDfe(Nfe.java:63)
jul 10 10:31:54 debian13 tomcat11[926]: at controller.fiscal.nfe.DistribuicaoDfe.downloadNfe(DistribuicaoDfe.java:45)
jul 10 10:31:54 debian13 tomcat11[926]: at controller.fiscal.nfe.DistribuicaoDfe.consultaNotasFiscais(DistribuicaoDfe.java:135)
jul 10 10:31:54 debian13 tomcat11[926]: at controller.servlets.DistribuicaoDfe_buscarDfe$1.run(DistribuicaoDfe_buscarDfe.java:51)
jul 10 10:31:54 debian13 tomcat11[926]: at java.base/java.util.TimerThread.mainLoop(Timer.java:566)
jul 10 10:31:54 debian13 tomcat11[926]: at java.base/java.util.TimerThread.run(Timer.java:516)
jul 10 10:31:54 debian13 tomcat11[926]: # Erro: Illegal access: this web application instance has been stopped already. Could not load [cacert]. The following stack trace is thrown for debugging purposes as well as to attempt to terminate the thread which caused the illegal access.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions