java.lang.IllegalStateException: Class invariant violation

Oracle Community | jonitas | 5 years ago
  1. 0

    Problem running a project using Netbeans+Glassfish.

    Oracle Community | 5 years ago | jonitas
    java.lang.IllegalStateException: Class invariant violation
  2. 0

    Deployment on Glassfish | The WaveMaker Community

    wavemaker.com | 1 year ago
    java.lang.IllegalStateException: Class invariant violation
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0

    Erro no console do log4j

    Google Groups | 6 years ago | Lessandro Notaroberto Pyrâmides
    java.lang.IllegalStateException: Class invariant violation
  5. 0

    Log4J exception: java.lang.IllegalStateException: Class invariant violation

    icesoft.org | 1 year ago
    java.lang.IllegalStateException: Class invariant violation

    2 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.lang.IllegalStateException

      Class invariant violation

      at org.apache.log4j.LogManager.getLoggerRepository()
    2. Apache Log4j
      Logger.getLogger
      1. org.apache.log4j.LogManager.getLoggerRepository(LogManager.java:199)
      2. org.apache.log4j.LogManager.getLogger(LogManager.java:228)
      3. org.apache.log4j.Logger.getLogger(Logger.java:104)
      3 frames
    3. Apache Commons Logging
      Log4JLogger.<init>
      1. org.apache.commons.logging.impl.Log4JLogger.getLogger(Log4JLogger.java:289)
      2. org.apache.commons.logging.impl.Log4JLogger.<init>(Log4JLogger.java:109)
      2 frames
    4. Java RT
      Constructor.newInstance
      1. sun.reflect.GeneratedConstructorAccessor97.newInstance(Unknown Source)
      2. sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
      3. java.lang.reflect.Constructor.newInstance(Constructor.java:525)
      3 frames
    5. Apache Commons Logging
      LogFactory.getLog
      1. org.apache.commons.logging.impl.LogFactoryImpl.newInstance(LogFactoryImpl.java:608)
      2. org.apache.commons.logging.impl.LogFactoryImpl.getInstance(LogFactoryImpl.java:336)
      3. org.apache.commons.logging.impl.LogFactoryImpl.getInstance(LogFactoryImpl.java:310)
      4. org.apache.commons.logging.LogFactory.getLog(LogFactory.java:685)
      4 frames
    6. Tomahawk
      HtmlResponseWriterImpl.<clinit>
      1. org.apache.myfaces.shared_tomahawk.renderkit.html.HtmlResponseWriterImpl.<clinit>(HtmlResponseWriterImpl.java:44)
      1 frame
    7. Java RT
      Field.get
      1. sun.misc.Unsafe.ensureClassInitialized(Native Method)
      2. sun.reflect.UnsafeFieldAccessorFactory.newFieldAccessor(UnsafeFieldAccessorFactory.java:43)
      3. sun.reflect.ReflectionFactory.newFieldAccessor(ReflectionFactory.java:140)
      4. java.lang.reflect.Field.acquireFieldAccessor(Field.java:949)
      5. java.lang.reflect.Field.getFieldAccessor(Field.java:930)
      6. java.lang.reflect.Field.get(Field.java:372)
      6 frames
    8. Web Container Common Utilities
      WebappClassLoader.preDestroy
      1. org.glassfish.web.loader.WebappClassLoader.clearReferences(WebappClassLoader.java:1836)
      2. org.glassfish.web.loader.WebappClassLoader.stop(WebappClassLoader.java:1665)
      3. org.glassfish.web.loader.WebappClassLoader.preDestroy(WebappClassLoader.java:1634)
      3 frames
    9. Deployment Related Common Classes
      DeploymentContextImpl.preDestroy
      1. org.glassfish.deployment.common.DeploymentContextImpl.preDestroy(DeploymentContextImpl.java:150)
      1 frame
    10. Kernel Classes
      ApplicationLifecycle.deploy
      1. com.sun.enterprise.v3.server.ApplicationLifecycle$1.actOn(ApplicationLifecycle.java:281)
      2. com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:466)
      3. com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:240)
      3 frames
    11. Embedded GlassFish Web
      DeployCommand.execute
      1. org.glassfish.deployment.admin.DeployCommand.execute(DeployCommand.java:382)
      1 frame
    12. Kernel Classes
      AdminAdapter.service
      1. com.sun.enterprise.v3.admin.CommandRunnerImpl$1.execute(CommandRunnerImpl.java:355)
      2. com.sun.enterprise.v3.admin.CommandRunnerImpl.doCommand(CommandRunnerImpl.java:370)
      3. com.sun.enterprise.v3.admin.CommandRunnerImpl.doCommand(CommandRunnerImpl.java:1064)
      4. com.sun.enterprise.v3.admin.CommandRunnerImpl.access$1200(CommandRunnerImpl.java:96)
      5. com.sun.enterprise.v3.admin.CommandRunnerImpl$ExecutionContext.execute(CommandRunnerImpl.java:1244)
      6. com.sun.enterprise.v3.admin.CommandRunnerImpl$ExecutionContext.execute(CommandRunnerImpl.java:1232)
      7. com.sun.enterprise.v3.admin.AdminAdapter.doCommand(AdminAdapter.java:459)
      8. com.sun.enterprise.v3.admin.AdminAdapter.service(AdminAdapter.java:209)
      8 frames
    13. Grizzly WS
      GrizzlyAdapter.service
      1. com.sun.grizzly.tcp.http11.GrizzlyAdapter.service(GrizzlyAdapter.java:168)
      1 frame
    14. Kernel Classes
      ContainerMapper.service
      1. com.sun.enterprise.v3.server.HK2Dispatcher.dispath(HK2Dispatcher.java:117)
      2. com.sun.enterprise.v3.services.impl.ContainerMapper.service(ContainerMapper.java:238)
      2 frames
    15. Grizzly WS
      AbstractThreadPool$Worker.run
      1. com.sun.grizzly.http.ProcessorTask.invokeAdapter(ProcessorTask.java:828)
      2. com.sun.grizzly.http.ProcessorTask.doProcess(ProcessorTask.java:725)
      3. com.sun.grizzly.http.ProcessorTask.process(ProcessorTask.java:1019)
      4. com.sun.grizzly.http.DefaultProtocolFilter.execute(DefaultProtocolFilter.java:225)
      5. com.sun.grizzly.DefaultProtocolChain.executeProtocolFilter(DefaultProtocolChain.java:137)
      6. com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:104)
      7. com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:90)
      8. com.sun.grizzly.http.HttpProtocolChain.execute(HttpProtocolChain.java:79)
      9. com.sun.grizzly.ProtocolChainContextTask.doCall(ProtocolChainContextTask.java:54)
      10. com.sun.grizzly.SelectionKeyContextTask.call(SelectionKeyContextTask.java:59)
      11. com.sun.grizzly.ContextTask.run(ContextTask.java:71)
      12. com.sun.grizzly.util.AbstractThreadPool$Worker.doWork(AbstractThreadPool.java:532)
      13. com.sun.grizzly.util.AbstractThreadPool$Worker.run(AbstractThreadPool.java:513)
      13 frames
    16. Java RT
      Thread.run
      1. java.lang.Thread.run(Thread.java:722)
      1 frame