java.lang.ExceptionInInitializerError

Stack Overflow | mematei | 6 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.

Root Cause Analysis

  1. java.lang.IllegalStateException

    Can only invoke this method before calling getInstance

    at org.apache.commons.validator.routines.DomainValidator.updateTLDOverride()
  2. Apache Commons Validator
    DomainValidator.updateTLDOverride
    1. org.apache.commons.validator.routines.DomainValidator.updateTLDOverride(DomainValidator.java:1680)
    1 frame
  3. com.google.gerrit
    OutgoingEmail.send
    1. com.google.gerrit.server.mail.OutgoingEmailValidator.<clinit>(OutgoingEmailValidator.java:24)
    2. com.google.gerrit.server.mail.OutgoingEmail.add(OutgoingEmail.java:384)
    3. com.google.gerrit.server.mail.RegisterNewEmailSender.init(RegisterNewEmailSender.java:49)
    4. com.google.gerrit.server.mail.OutgoingEmail.send(OutgoingEmail.java:92)
    4 frames
  4. mini-git-server - Server
    CreateEmail.apply
    1. com.google.gerrit.server.account.CreateEmail.apply(CreateEmail.java:134)
    2. com.google.gerrit.server.account.CreateEmail.apply(CreateEmail.java:101)
    3. com.google.gerrit.server.account.CreateEmail.apply(CreateEmail.java:42)
    3 frames
  5. com.google.gerrit
    RestApiServlet.service
    1. com.google.gerrit.httpd.restapi.RestApiServlet.service(RestApiServlet.java:328)
    1 frame
  6. JavaServlet
    HttpServlet.service
    1. javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
    1 frame
  7. Guice - Servlet
    ManagedServletPipeline.service
    1. com.google.inject.servlet.ServletDefinition.doServiceImpl(ServletDefinition.java:287)
    2. com.google.inject.servlet.ServletDefinition.doService(ServletDefinition.java:277)
    3. com.google.inject.servlet.ServletDefinition.service(ServletDefinition.java:182)
    4. com.google.inject.servlet.ManagedServletPipeline.service(ManagedServletPipeline.java:91)
    4 frames
  8. com.google.gerrit
    GetUserFilter.doFilter
    1. com.google.gerrit.httpd.GetUserFilter.doFilter(GetUserFilter.java:82)
    1 frame
  9. com.google.gwtexpui
    CacheControlFilter.doFilter
    1. com.google.gwtexpui.server.CacheControlFilter.doFilter(CacheControlFilter.java:73)
    1 frame
  10. com.google.gerrit
    RequestContextFilter.doFilter
    1. com.google.gerrit.httpd.RunAsFilter.doFilter(RunAsFilter.java:117)
    2. com.google.gerrit.httpd.AllRequestFilter$FilterProxy$1.doFilter(AllRequestFilter.java:136)
    3. com.google.gerrit.httpd.AllRequestFilter$FilterProxy.doFilter(AllRequestFilter.java:105)
    4. com.google.gerrit.httpd.RequestContextFilter.doFilter(RequestContextFilter.java:75)
    4 frames
  11. Guice - Servlet
    GuiceFilter.doFilter
    1. com.google.inject.servlet.ManagedFilterPipeline.dispatch(ManagedFilterPipeline.java:119)
    2. com.google.inject.servlet.GuiceFilter$1.call(GuiceFilter.java:133)
    3. com.google.inject.servlet.GuiceFilter$1.call(GuiceFilter.java:130)
    4. com.google.inject.servlet.GuiceFilter$Context.call(GuiceFilter.java:203)
    5. com.google.inject.servlet.GuiceFilter.doFilter(GuiceFilter.java:130)
    5 frames
  12. Jetty
    QueuedThreadPool$3.run
    1. org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1652)
    2. org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:585)
    3. org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:221)
    4. org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1127)
    5. org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:515)
    6. org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:185)
    7. org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1061)
    8. org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141)
    9. org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:97)
    10. org.eclipse.jetty.server.handler.RequestLogHandler.handle(RequestLogHandler.java:95)
    11. org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:97)
    12. org.eclipse.jetty.server.Server.handle(Server.java:499)
    13. org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:310)
    14. org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:257)
    15. org.eclipse.jetty.io.AbstractConnection$2.run(AbstractConnection.java:540)
    16. org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:635)
    17. org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:555)
    17 frames
  13. Java RT
    Thread.run
    1. java.lang.Thread.run(Thread.java:745)
    1 frame