java.lang.RuntimeException: com.sun.faces.config.ConfigurationException: CONFIGURATION FAILED! java.util.concurrent.ExecutionException: java.lang.ExceptionInInitializerError

Java.net JIRA | derekberube | 4 years ago
  1. 0

    The com.sun.faces.enableThreading parameter being set to false does not seem to be respected in the latest version of the JavaServer Faces RI. When I try to deploy 2.1.16 on GAE I get a java.util.concurrent.ExecutionException. The following is the stack trace: SEVERE: Application was not properly initialized at startup, could not find Factory: javax.faces.lifecycle.LifecycleFactory. Attempting to find backup. Jan 1, 2013 9:26:18 PM com.sun.faces.config.ConfigureListener contextInitialized SEVERE: Critical error during deployment: com.sun.faces.config.ConfigurationException: CONFIGURATION FAILED! java.util.concurrent.ExecutionException: java.lang.ExceptionInInitializerError at com.sun.faces.config.ConfigManager.initialize(ConfigManager.java:376) at com.sun.faces.config.ConfigureListener.contextInitialized(ConfigureListener.java:223) at org.mortbay.jetty.handler.ContextHandler.startContext(ContextHandler.java:548) at org.mortbay.jetty.servlet.Context.startContext(Context.java:136) at org.mortbay.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1250) at org.mortbay.jetty.handler.ContextHandler.doStart(ContextHandler.java:517) at org.mortbay.jetty.webapp.WebAppContext.doStart(WebAppContext.java:467) at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50) at org.mortbay.jetty.handler.HandlerWrapper.doStart(HandlerWrapper.java:130) at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50) at org.mortbay.jetty.handler.HandlerWrapper.doStart(HandlerWrapper.java:130) at org.mortbay.jetty.Server.doStart(Server.java:224) at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50) at com.google.appengine.tools.development.JettyContainerService.startContainer(JettyContainerService.java:205) at com.google.appengine.tools.development.AbstractContainerService.startup(AbstractContainerService.java:232) at com.google.appengine.tools.development.DevAppServerImpl.start(DevAppServerImpl.java:157) at com.google.appengine.tools.development.DevAppServerMain$StartAction.apply(DevAppServerMain.java:333) at com.google.appengine.tools.util.Parser$ParseResult.applyArgs(Parser.java:48) at com.google.appengine.tools.development.DevAppServerMain.<init>(DevAppServerMain.java:269) at com.google.appengine.tools.development.DevAppServerMain.main(DevAppServerMain.java:245) Caused by: javax.faces.FacesException: java.util.concurrent.ExecutionException: java.lang.ExceptionInInitializerError at com.sun.faces.config.ConfigManager.getAnnotatedClasses(ConfigManager.java:434) at com.sun.faces.config.processor.AbstractConfigProcessor.processAnnotations(AbstractConfigProcessor.java:326) at com.sun.faces.config.processor.ApplicationConfigProcessor.process(ApplicationConfigProcessor.java:337) at com.sun.faces.config.processor.AbstractConfigProcessor.invokeNext(AbstractConfigProcessor.java:114) at com.sun.faces.config.processor.LifecycleConfigProcessor.process(LifecycleConfigProcessor.java:116) at com.sun.faces.config.processor.AbstractConfigProcessor.invokeNext(AbstractConfigProcessor.java:114) at com.sun.faces.config.processor.FactoryConfigProcessor.process(FactoryConfigProcessor.java:222) at com.sun.faces.config.ConfigManager.initialize(ConfigManager.java:361) ... 19 more Caused by: java.util.concurrent.ExecutionException: java.lang.ExceptionInInitializerError at java.util.concurrent.FutureTask$Sync.innerGet(FutureTask.java:222) at java.util.concurrent.FutureTask.get(FutureTask.java:83) at com.sun.faces.config.ConfigManager.getAnnotatedClasses(ConfigManager.java:430) ... 26 more Caused by: java.lang.ExceptionInInitializerError at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Class.java:247) at com.sun.faces.util.Util.loadClass(Util.java:269) at com.sun.faces.config.AnnotationScanner.processClassList(AnnotationScanner.java:304) at com.sun.faces.config.JavaClassScanningAnnotationScanner.getAnnotatedClasses(JavaClassScanningAnnotationScanner.java:128) at com.sun.faces.config.DelegatingAnnotationProvider.getAnnotatedClasses(DelegatingAnnotationProvider.java:85) at com.sun.faces.config.ConfigManager$AnnotationScanTask.call(ConfigManager.java:844) at com.sun.faces.config.ConfigManager$AnnotationScanTask.call(ConfigManager.java:796) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303) at java.util.concurrent.FutureTask.run(FutureTask.java:138) at com.sun.faces.config.ConfigManager.initialize(ConfigManager.java:351) ... 19 more Caused by: java.lang.IllegalStateException: Could not find backup for factory javax.faces.lifecycle.LifecycleFactory. at javax.faces.FactoryFinder$FactoryManager.getFactory(FactoryFinder.java:1010) at javax.faces.FactoryFinder.getFactory(FactoryFinder.java:342) at com.wildstartech.jsf.Form.<clinit>(Form.java:75) ... 30 more Jan 1, 2013 9:26:18 PM com.google.apphosting.utils.jetty.JettyLogger warn WARNING: Failed startup of context com.google.appengine.tools.development.DevAppEngineWebAppContext@24bf1f20{/,/Users/derekberube/Documents/Programming/Java/MyJustoDelivery/war} java.lang.RuntimeException: com.sun.faces.config.ConfigurationException: CONFIGURATION FAILED! java.util.concurrent.ExecutionException: java.lang.ExceptionInInitializerError at com.sun.faces.config.ConfigureListener.contextInitialized(ConfigureListener.java:290) at org.mortbay.jetty.handler.ContextHandler.startContext(ContextHandler.java:548) at org.mortbay.jetty.servlet.Context.startContext(Context.java:136) at org.mortbay.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1250) at org.mortbay.jetty.handler.ContextHandler.doStart(ContextHandler.java:517) at org.mortbay.jetty.webapp.WebAppContext.doStart(WebAppContext.java:467) at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50) at org.mortbay.jetty.handler.HandlerWrapper.doStart(HandlerWrapper.java:130) at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50) at org.mortbay.jetty.handler.HandlerWrapper.doStart(HandlerWrapper.java:130) at org.mortbay.jetty.Server.doStart(Server.java:224) at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50) at com.google.appengine.tools.development.JettyContainerService.startContainer(JettyContainerService.java:205) at com.google.appengine.tools.development.AbstractContainerService.startup(AbstractContainerService.java:232) at com.google.appengine.tools.development.DevAppServerImpl.start(DevAppServerImpl.java:157) at com.google.appengine.tools.development.DevAppServerMain$StartAction.apply(DevAppServerMain.java:333) at com.google.appengine.tools.util.Parser$ParseResult.applyArgs(Parser.java:48) at com.google.appengine.tools.development.DevAppServerMain.<init>(DevAppServerMain.java:269) at com.google.appengine.tools.development.DevAppServerMain.main(DevAppServerMain.java:245) Caused by: com.sun.faces.config.ConfigurationException: CONFIGURATION FAILED! java.util.concurrent.ExecutionException: java.lang.ExceptionInInitializerError at com.sun.faces.config.ConfigManager.initialize(ConfigManager.java:376) at com.sun.faces.config.ConfigureListener.contextInitialized(ConfigureListener.java:223) ... 18 more Caused by: javax.faces.FacesException: java.util.concurrent.ExecutionException: java.lang.ExceptionInInitializerError at com.sun.faces.config.ConfigManager.getAnnotatedClasses(ConfigManager.java:434) at com.sun.faces.config.processor.AbstractConfigProcessor.processAnnotations(AbstractConfigProcessor.java:326) at com.sun.faces.config.processor.ApplicationConfigProcessor.process(ApplicationConfigProcessor.java:337) at com.sun.faces.config.processor.AbstractConfigProcessor.invokeNext(AbstractConfigProcessor.java:114) at com.sun.faces.config.processor.LifecycleConfigProcessor.process(LifecycleConfigProcessor.java:116) at com.sun.faces.config.processor.AbstractConfigProcessor.invokeNext(AbstractConfigProcessor.java:114) at com.sun.faces.config.processor.FactoryConfigProcessor.process(FactoryConfigProcessor.java:222) at com.sun.faces.config.ConfigManager.initialize(ConfigManager.java:361) ... 19 more Caused by: java.util.concurrent.ExecutionException: java.lang.ExceptionInInitializerError at java.util.concurrent.FutureTask$Sync.innerGet(FutureTask.java:222) at java.util.concurrent.FutureTask.get(FutureTask.java:83) at com.sun.faces.config.ConfigManager.getAnnotatedClasses(ConfigManager.java:430) ... 26 more Caused by: java.lang.ExceptionInInitializerError at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Class.java:247) at com.sun.faces.util.Util.loadClass(Util.java:269) at com.sun.faces.config.AnnotationScanner.processClassList(AnnotationScanner.java:304) at com.sun.faces.config.JavaClassScanningAnnotationScanner.getAnnotatedClasses(JavaClassScanningAnnotationScanner.java:128) at com.sun.faces.config.DelegatingAnnotationProvider.getAnnotatedClasses(DelegatingAnnotationProvider.java:85) at com.sun.faces.config.ConfigManager$AnnotationScanTask.call(ConfigManager.java:844) at com.sun.faces.config.ConfigManager$AnnotationScanTask.call(ConfigManager.java:796) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303) at java.util.concurrent.FutureTask.run(FutureTask.java:138) at com.sun.faces.config.ConfigManager.initialize(ConfigManager.java:351) ... 19 more Caused by: java.lang.IllegalStateException: Could not find backup for factory javax.faces.lifecycle.LifecycleFactory. at javax.faces.FactoryFinder$FactoryManager.getFactory(FactoryFinder.java:1010) at javax.faces.FactoryFinder.getFactory(FactoryFinder.java:342) at com.wildstartech.jsf.Form.<clinit>(Form.java:75) ... 30 more

    Java.net JIRA | 4 years ago | derekberube
    java.lang.RuntimeException: com.sun.faces.config.ConfigurationException: CONFIGURATION FAILED! java.util.concurrent.ExecutionException: java.lang.ExceptionInInitializerError
  2. 0

    why i'm getting java.lang.ExceptionInInitializerError and how can i solve it?

    Stack Overflow | 4 years ago | itro
    java.util.concurrent.ExecutionException: java.lang.ExceptionInInitializerError
  3. 0

    Java: Testing web application on embedded Tomcat (Tomcat won't start)

    Stack Overflow | 3 years ago | Jardo
    java.util.concurrent.ExecutionException: java.lang.ExceptionInInitializerError
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    RuntimeException Uncompilable source code - package does not exist in maven shade uber jar

    Stack Overflow | 8 months ago | wonton
    java.util.concurrent.ExecutionException: java.lang.ExceptionInInitializerError
  6. 0

    ArrayIndexOutOfBoundsException on Technic server (mcpc)

    GitHub | 4 years ago | dewick
    java.util.concurrent.ExecutionException: java.lang.ArrayIndexOutOfBoundsException

  1. rp 6 times, last 3 months ago
  2. qavid 1 times, last 4 months ago
  3. Mark 6 times, last 5 months ago
  4. tfr 3 times, last 4 months ago
  5. rp 4 times, last 4 months ago
2 more registered users
52 unregistered visitors
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. java.util.concurrent.ExecutionException

    java.lang.ExceptionInInitializerError

    at java.util.concurrent.FutureTask$Sync.innerGet()
  2. Java RT
    FutureTask.get
    1. java.util.concurrent.FutureTask$Sync.innerGet(FutureTask.java:252)
    2. java.util.concurrent.FutureTask.get(FutureTask.java:111)
    2 frames
  3. JSF
    ConfigureListener.contextInitialized
    1. com.sun.faces.config.ConfigManager.getAnnotatedClasses(ConfigManager.java:430)
    2. com.sun.faces.config.processor.AbstractConfigProcessor.processAnnotations(AbstractConfigProcessor.java:326)
    3. com.sun.faces.config.processor.ApplicationConfigProcessor.process(ApplicationConfigProcessor.java:337)
    4. com.sun.faces.config.processor.AbstractConfigProcessor.invokeNext(AbstractConfigProcessor.java:114)
    5. com.sun.faces.config.processor.LifecycleConfigProcessor.process(LifecycleConfigProcessor.java:116)
    6. com.sun.faces.config.processor.AbstractConfigProcessor.invokeNext(AbstractConfigProcessor.java:114)
    7. com.sun.faces.config.processor.FactoryConfigProcessor.process(FactoryConfigProcessor.java:222)
    8. com.sun.faces.config.ConfigManager.initialize(ConfigManager.java:361)
    9. com.sun.faces.config.ConfigureListener.contextInitialized(ConfigureListener.java:216)
    9 frames
  4. Jetty Server
    WebAppContext.doStart
    1. org.mortbay.jetty.handler.ContextHandler.startContext(ContextHandler.java:548)
    2. org.mortbay.jetty.servlet.Context.startContext(Context.java:136)
    3. org.mortbay.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1250)
    4. org.mortbay.jetty.handler.ContextHandler.doStart(ContextHandler.java:517)
    5. org.mortbay.jetty.webapp.WebAppContext.doStart(WebAppContext.java:467)
    5 frames
  5. Jetty Util
    AbstractLifeCycle.start
    1. org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50)
    1 frame
  6. com.google.apphosting
    JettyServletEngineAdapter.serviceRequest
    1. com.google.apphosting.runtime.jetty.AppVersionHandlerMap.createHandler(AppVersionHandlerMap.java:219)
    2. com.google.apphosting.runtime.jetty.AppVersionHandlerMap.getHandler(AppVersionHandlerMap.java:194)
    3. com.google.apphosting.runtime.jetty.JettyServletEngineAdapter.serviceRequest(JettyServletEngineAdapter.java:134)
    3 frames
  7. appengine-managed-runtime
    JavaRuntime$RequestRunnable.run
    1. com.google.apphosting.runtime.JavaRuntime$RequestRunnable.run(JavaRuntime.java:447)
    1 frame
  8. Google tracing
    TraceContext$TraceContextRunnable.run
    1. com.google.tracing.TraceContext$TraceContextRunnable.runInContext(TraceContext.java:454)
    2. com.google.tracing.TraceContext$TraceContextRunnable$1.run(TraceContext.java:461)
    3. com.google.tracing.TraceContext.runInContext(TraceContext.java:703)
    4. com.google.tracing.TraceContext$AbstractTraceContextCallback.runInInheritedContextNoUnref(TraceContext.java:338)
    5. com.google.tracing.TraceContext$AbstractTraceContextCallback.runInInheritedContext(TraceContext.java:330)
    6. com.google.tracing.TraceContext$TraceContextRunnable.run(TraceContext.java:458)
    6 frames
  9. appengine-managed-runtime
    ThreadGroupPool$PoolEntry.run
    1. com.google.apphosting.runtime.ThreadGroupPool$PoolEntry.run(ThreadGroupPool.java:251)
    1 frame
  10. Java RT
    Thread.run
    1. java.lang.Thread.run(Thread.java:679)
    1 frame