java.lang.IllegalStateException: Context is already active

Oracle Community | huggy77 | 6 years 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.
  1. 0

    glassfish server : Context is already active when trying to host multiple jsf applications

    Oracle Community | 6 years ago | huggy77
    java.lang.IllegalStateException: Context is already active
  2. 0

    Glassfish embedded two apps: Must call associate() before calling activate() | Java.net

    java.net | 1 year ago
    java.lang.IllegalStateException: Must call associate() before calling activate()
  3. 0

    Glassfish embedded two apps:  Must call associate() before calling activate()

    Oracle Community | 5 years ago | dansg
    java.lang.IllegalStateException: Must call associate() before calling activate()
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    omnifaces: IllegalArgumentException FullAjaxExceptionHandler

    Stack Overflow | 5 years ago | Paul Wasilewski
    java.lang.IllegalStateException: Context is already active
  6. 0

    Troubleshooting java.lang.IllegalStateException: Context is already active

    Stack Overflow | 1 year ago | Felix Lahmer
    java.lang.IllegalStateException: Context is already active

    1 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

      Context is already active

      at org.jboss.weld.context.AbstractConversationContext.activate()
    2. Weld Implementation
      WeldPhaseListener.beforePhase
      1. org.jboss.weld.context.AbstractConversationContext.activate(AbstractConversationContext.java:301)
      2. org.jboss.weld.jsf.WeldPhaseListener.activateConversations(WeldPhaseListener.java:110)
      3. org.jboss.weld.jsf.WeldPhaseListener.beforePhase(WeldPhaseListener.java:84)
      3 frames
    3. JSF
      LifecycleImpl.execute
      1. com.sun.faces.lifecycle.Phase.handleBeforePhase(Phase.java:228)
      2. com.sun.faces.lifecycle.Phase.doPhase(Phase.java:99)
      3. com.sun.faces.lifecycle.RestoreViewPhase.doPhase(RestoreViewPhase.java:113)
      4. com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:118)
      4 frames
    4. JavaEE 7
      FacesServlet.service
      1. javax.faces.webapp.FacesServlet.service(FacesServlet.java:409)
      1 frame
    5. Glassfish Core
      StandardPipeline.invoke
      1. org.apache.catalina.core.StandardWrapper.service(StandardWrapper.java:1534)
      2. org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:281)
      3. org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
      4. org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:655)
      5. org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:595)
      5 frames
    6. Glassfish
      PESessionLockingStandardPipeline.invoke
      1. com.sun.enterprise.web.WebPipeline.invoke(WebPipeline.java:98)
      2. com.sun.enterprise.web.PESessionLockingStandardPipeline.invoke(PESessionLockingStandardPipeline.java:91)
      2 frames
    7. Glassfish Core
      CoyoteAdapter.service
      1. org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:162)
      2. org.apache.catalina.connector.CoyoteAdapter.doService(CoyoteAdapter.java:326)
      3. org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:227)
      3 frames
    8. Kernel Classes
      ContainerMapper.service
      1. com.sun.enterprise.v3.services.impl.ContainerMapper.service(ContainerMapper.java:170)
      1 frame
    9. Grizzly WS
      DefaultProtocolChain.execute
      1. com.sun.grizzly.http.ProcessorTask.invokeAdapter(ProcessorTask.java:822)
      2. com.sun.grizzly.http.ProcessorTask.doProcess(ProcessorTask.java:719)
      3. com.sun.grizzly.http.ProcessorTask.process(ProcessorTask.java:1013)
      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)
      7 frames