javax.faces.FacesException: java.security.NoSuchAlgorithmException: AES KeyGenerator not available

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via java.net by Unknown author, 1 year ago
via Java.net JIRA by Manfred Riem, 1 year ago
java.security.NoSuchAlgorithmException: AES KeyGenerator not available
via Stack Overflow by Hutan
, 10 months ago
java.security.NoSuchAlgorithmException: AES KeyGenerator not available
javax.faces.FacesException: java.security.NoSuchAlgorithmException: AES KeyGenerator not available
at javax.crypto.KeyGenerator.(KeyGenerator.java:158)
at javax.crypto.KeyGenerator.getInstance(KeyGenerator.java:207)
at com.sun.faces.renderkit.ByteArrayGuard.setupKeyAndMac(ByteArrayGuard.java:197)
at com.sun.faces.renderkit.ByteArrayGuard.(ByteArrayGuard.java:91)
at com.sun.faces.renderkit.ClientSideStateHelper.init(ClientSideStateHelper.java:456)
at com.sun.faces.renderkit.ClientSideStateHelper.(ClientSideStateHelper.java:150)
at com.sun.faces.renderkit.ResponseStateManagerImpl.(ResponseStateManagerImpl.java:68)
at com.sun.faces.renderkit.RenderKitImpl.(RenderKitImpl.java:121)
at com.sun.faces.renderkit.RenderKitFactoryImpl.(RenderKitFactoryImpl.java:79)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.lang.reflect.Constructor.newInstance(Constructor.java:525)
at java.lang.Class.newInstance0(Class.java:372)
at java.lang.Class.newInstance(Class.java:325)
at javax.faces.FactoryFinder.getImplGivenPreviousImpl(FactoryFinder.java:723)
at javax.faces.FactoryFinder.getImplementationInstance(FactoryFinder.java:555)
at javax.faces.FactoryFinder.access$500(FactoryFinder.java:140)
at javax.faces.FactoryFinder$FactoryManager.getFactory(FactoryFinder.java:1122)
at javax.faces.FactoryFinder.getFactory(FactoryFinder.java:381)
at com.sun.faces.config.processor.FactoryConfigProcessor.verifyFactoriesExist(FactoryConfigProcessor.java:327)
at com.sun.faces.config.processor.FactoryConfigProcessor.process(FactoryConfigProcessor.java:235)
at com.sun.faces.config.ConfigManager.initialize(ConfigManager.java:375)
at org.apache.catalina.core.StandardContext.contextListenerStart(StandardContext.java:4936)
at com.sun.enterprise.web.WebModule.contextListenerStart(WebModule.java:742)
at org.apache.catalina.core.StandardContext.start(StandardContext.java:5494)
at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:932)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:916)
at com.sun.enterprise.web.WebContainer.loadWebModule(WebContainer.java:2288)
at com.sun.enterprise.web.WebContainer.loadWebModule(WebContainer.java:1934)
at com.sun.enterprise.web.WebApplication.start(WebApplication.java:143)
at org.glassfish.internal.data.EngineRef.start(EngineRef.java:122)
at org.glassfish.internal.data.ModuleInfo.start(ModuleInfo.java:278)
at org.glassfish.internal.data.ApplicationInfo.start(ApplicationInfo.java:299)
at com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:506)
at com.sun.enterprise.v3.server.ApplicationLoaderService.processApplication(ApplicationLoaderService.java:402)
at org.jvnet.hk2.internal.ClazzCreator.postConstructMe(ClazzCreator.java:249)
at org.jvnet.hk2.internal.ClazzCreator.create(ClazzCreator.java:288)
at org.jvnet.hk2.internal.SystemDescriptor.create(SystemDescriptor.java:412)
at org.glassfish.hk2.runlevel.utilities.RunLevelControllerImpl$Worker.activateRunLevel(RunLevelControllerImpl.java:828)
at org.glassfish.hk2.runlevel.utilities.RunLevelControllerImpl$Worker.upActiveRecorder(RunLevelControllerImpl.java:782)
at org.glassfish.hk2.runlevel.utilities.RunLevelControllerImpl$Worker.run(RunLevelControllerImpl.java:677)
at org.glassfish.hk2.runlevel.utilities.RunLevelControllerImpl$SyncProceedToWorker.proceedTo(RunLevelControllerImpl.java:948)
at org.glassfish.hk2.runlevel.utilities.RunLevelControllerImpl.proceedTo(RunLevelControllerImpl.java:565)
at com.sun.enterprise.v3.server.AppServerStartup.proceedTo(AppServerStartup.java:370)
at com.sun.enterprise.v3.server.AppServerStartup.run(AppServerStartup.java:256)
at com.sun.enterprise.v3.server.AppServerStartup.doStart(AppServerStartup.java:174)
at com.sun.enterprise.glassfish.bootstrap.GlassFishImpl.start(GlassFishImpl.java:79)
at com.sun.enterprise.glassfish.bootstrap.GlassFishDecorator.start(GlassFishDecorator.java:63)
at com.sun.enterprise.glassfish.bootstrap.osgi.EmbeddedOSGiGlassFishImpl.start(EmbeddedOSGiGlassFishImpl.java:73)
at com.sun.enterprise.glassfish.bootstrap.GlassFishDecorator.start(GlassFishDecorator.java:63)
at com.sun.enterprise.glassfish.bootstrap.osgi.OSGiGlassFishImpl.start(OSGiGlassFishImpl.java:71)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:601)
at com.sun.enterprise.glassfish.bootstrap.GlassFishMain.main(GlassFishMain.java:97)

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Once, 1 year ago
4 more bugmates

Know the solutions? Share your knowledge to help other developers to debug faster.