java.lang.IllegalStateException

Illegal access: this web application instance has been stopped already. Could not load [org.bouncycastle.jcajce.provider.asymmetric.dsa.KeyPairGeneratorSpi]. The following stack trace is thrown for debugging purposes as well as to attempt to terminate the thread which caused the illegal access.

Samebug tips0

We couldn't find tips for this exception.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web112

  • via Unknown by Johnny Bigoode,
  • Stack trace

    • java.lang.IllegalStateException: Illegal access: this web application instance has been stopped already. Could not load [org.bouncycastle.jcajce.provider.asymmetric.dsa.KeyPairGeneratorSpi]. The following stack trace is thrown for debugging purposes as well as to attempt to terminate the thread which caused the illegal access. at org.apache.catalina.loader.WebappClassLoaderBase.checkStateForResourceLoading(WebappClassLoaderBase.java:1325) at org.apache.catalina.loader.WebappClassLoaderBase.checkStateForClassLoading(WebappClassLoaderBase.java:1313) at org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1178) at org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1139) at java.security.Provider$Service.getImplClass(Unknown Source) at java.security.Provider$Service.newInstance(Unknown Source) at sun.security.jca.GetInstance.getInstance(Unknown Source) at sun.security.jca.GetInstance.getInstance(Unknown Source) at java.security.KeyPairGenerator.getInstance(Unknown Source) at org.apache.sshd.common.util.SecurityUtils.getKeyPairGenerator(SecurityUtils.java:419) at com.gitblit.transport.ssh.SshDaemon.generateKeyPair(SshDaemon.java:217) at com.gitblit.transport.ssh.SshDaemon.<init>(SshDaemon.java:96) at com.gitblit.manager.ServicesManager.configureSshDaemon(ServicesManager.java:417) at com.gitblit.manager.ServicesManager.start(ServicesManager.java:108) at com.gitblit.manager.ServicesManager.start(ServicesManager.java:72) at com.gitblit.servlet.GitblitContext.startManager(GitblitContext.java:271) at com.gitblit.servlet.GitblitContext.startManager(GitblitContext.java:267) at com.gitblit.servlet.GitblitContext.startCore(GitblitContext.java:208) at com.gitblit.servlet.GitblitContext.contextInitialized(GitblitContext.java:148) at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4811) at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5251) at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:147) at org.apache.catalina.core.StandardContext.reload(StandardContext.java:3827) at org.apache.catalina.startup.HostConfig.reload(HostConfig.java:1372) at org.apache.catalina.startup.HostConfig.checkResources(HostConfig.java:1345) at org.apache.catalina.startup.HostConfig.check(HostConfig.java:1581) at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:284) at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:95) at org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:90) at org.apache.catalina.core.ContainerBase.backgroundProcess(ContainerBase.java:1141) at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1377) at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1381) at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.run(ContainerBase.java:1349) at java.lang.Thread.run(Unknown Source)

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    marcbouvierdavmarcbouvierdav
    87 times, last one
    Unknown visitor
    Unknown visitorOnce,
    Unknown visitor
    Unknown visitorOnce,
    juzijuzi
    4 times, last one
    Unknown UserUnknown User
    Once,
    50 more bugmates