java.lang.IllegalStateException: The session tracking modes for context / cannot be set whilst the context is running

Stack Overflow | Jugu | 5 months ago
  1. 0

    How to configure programatically the session tracking modes for Tomcat

    Stack Overflow | 5 months ago | Jugu
    java.lang.IllegalStateException: The session tracking modes for context / cannot be set whilst the context is running
  2. 0
    Execute mvn dependency:tree from your project's root directory.
  3. 0
    In cause your problem comes because of mediastore, you have to try changing Albums.ALBUM_ID, to Albums._ID
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0
    In all ActiveAndroid tables there should be a primary key field with the name "Id" (with a capital "I").
  6. 0
    The cursor might not be initalized.

    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

      The session tracking modes for context / cannot be set whilst the context is running

      at org.apache.catalina.core.ApplicationContext.setSessionTrackingModes()
    2. Glassfish Core
      ApplicationContextFacade.setSessionTrackingModes
      1. org.apache.catalina.core.ApplicationContext.setSessionTrackingModes(ApplicationContext.java:1235)
      2. org.apache.catalina.core.ApplicationContextFacade.setSessionTrackingModes(ApplicationContextFacade.java:611)
      2 frames