org.jsecurity.session.InvalidSessionException: java.lang.IllegalStateException

Sonatype JIRA | Rich Seddon | 7 years ago
  1. 0

    {code} 2009-10-23 01:32:04 INFO [qtp-9293149-603] - o.s.n.s.f.a.NexusSe~ - Successfully authenticated user [gluck] from IP Address 64.95.112.232 2009-10-23 01:44:38 ERROR [qtp-9293149-623] - org.mortbay.log - /content/repositories/plexus-snapshots/javax/el/el-api/2.1.2-SNAPSHOT/el-api-2.1.2-SNAPSHOT.pom org.jsecurity.session.InvalidSessionException: java.lang.IllegalStateException at org.jsecurity.web.session.WebSession.setAttribute(WebSession.java:154) at org.jsecurity.session.ProxiedSession.setAttribute(ProxiedSession.java:149) at org.jsecurity.web.DefaultWebSecurityManager.bind(DefaultWebSecurityManager.java:243) at org.jsecurity.web.DefaultWebSecurityManager.bind(DefaultWebSecurityManager.java:235) at org.jsecurity.mgt.DefaultSecurityManager.getSubject(DefaultSecurityManager.java:418) at org.jsecurity.mgt.DefaultSecurityManager.getSubject(DefaultSecurityManager.java:424) at org.jsecurity.web.servlet.JSecurityFilter.doFilterInternal(JSecurityFilter.java:367) at org.jsecurity.web.servlet.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:180) at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1148) at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:387) at org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216) at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:181) at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:765) at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:417) at org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:230) at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152) at org.mortbay.jetty.Server.handle(Server.java:326) at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:534) at org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:864) at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:539) at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:212) at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:404) at org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:409) at org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java:520) Caused by: java.lang.IllegalStateException at org.mortbay.jetty.servlet.AbstractSessionManager$Session.setAttribute(AbstractSessionManager.java:1054) at org.jsecurity.web.session.WebSession.setAttribute(WebSession.java:152) ... 23 more 2009-10-23 02:43:33 ERROR [qtp-9293149-679] - org.mortbay.log - /content/repositories/plexus-releases/${project/groupId}/persistence/${project.version}/persistence-${project.version}.pom java.lang.IllegalArgumentException: Illegal group reference at java.util.regex.Matcher.appendReplacement(Matcher.java:713) at java.util.regex.Matcher.replaceAll(Matcher.java:813) at java.lang.String.replaceAll(String.java:2189) at org.sonatype.nexus.security.filter.authz.NexusTargetMappingAuthorizationFilter.getResourceStorePath(NexusTargetMappingAuthorizationFilter.java:70) at org.sonatype.nexus.security.filter.authz.NexusTargetMappingAuthorizationFilter.getResourceStoreRequest(NexusTargetMappingAuthorizationFilter.java:91) at org.sonatype.nexus.security.filter.authz.NexusTargetMappingAuthorizationFilter.isAccessAllowed(NexusTargetMappingAuthorizationFilter.java:150) at org.jsecurity.web.filter.AccessControlFilter.onPreHandle(AccessControlFilter.java:145) at org.jsecurity.web.filter.PathMatchingFilter.preHandle(PathMatchingFilter.java:175) at org.jsecurity.web.servlet.AdviceFilter.doFilterInternal(AdviceFilter.java:129) at org.jsecurity.web.servlet.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:180) at org.jsecurity.web.servlet.FilterChainWrapper.doFilter(FilterChainWrapper.java:57) at org.jsecurity.web.servlet.AdviceFilter.executeChain(AdviceFilter.java:105) at org.jsecurity.web.servlet.AdviceFilter.doFilterInternal(AdviceFilter.java:135) at org.jsecurity.web.servlet.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:180) at org.jsecurity.web.servlet.FilterChainWrapper.doFilter(FilterChainWrapper.java:57) at org.jsecurity.web.servlet.JSecurityFilter.doFilterInternal(JSecurityFilter.java:382) at org.jsecurity.web.servlet.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:180) at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1148) at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:387) at org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216) at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:181) at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:765) at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:417) at org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:230) at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152) at org.mortbay.jetty.Server.handle(Server.java:326) at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:534) at org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:864) at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:539) at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:212) at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:404) at org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:409) at org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java:520) {code}

    Sonatype JIRA | 7 years ago | Rich Seddon
    org.jsecurity.session.InvalidSessionException: java.lang.IllegalStateException
  2. 0

    How to handle HttpSession termination?

    Google Groups | 4 years ago | David Hoffer
    java.lang.IllegalStateException
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0

    java.lang.IllegalStateException ? Why?

    Oracle Community | 1 decade ago | 843841
    java.lang.IllegalStateException

    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

      No message provided

      at org.mortbay.jetty.servlet.AbstractSessionManager$Session.setAttribute()
    2. Jetty Server
      AbstractSessionManager$Session.setAttribute
      1. org.mortbay.jetty.servlet.AbstractSessionManager$Session.setAttribute(AbstractSessionManager.java:1054)
      1 frame
    3. org.jsecurity.web
      WebSession.setAttribute
      1. org.jsecurity.web.session.WebSession.setAttribute(WebSession.java:152)
      1 frame
    4. org.jsecurity.session
      ProxiedSession.setAttribute
      1. org.jsecurity.session.ProxiedSession.setAttribute(ProxiedSession.java:149)
      1 frame
    5. org.jsecurity.web
      DefaultWebSecurityManager.bind
      1. org.jsecurity.web.DefaultWebSecurityManager.bind(DefaultWebSecurityManager.java:243)
      2. org.jsecurity.web.DefaultWebSecurityManager.bind(DefaultWebSecurityManager.java:235)
      2 frames
    6. org.jsecurity.mgt
      DefaultSecurityManager.getSubject
      1. org.jsecurity.mgt.DefaultSecurityManager.getSubject(DefaultSecurityManager.java:418)
      2. org.jsecurity.mgt.DefaultSecurityManager.getSubject(DefaultSecurityManager.java:424)
      2 frames
    7. org.jsecurity.web
      OncePerRequestFilter.doFilter
      1. org.jsecurity.web.servlet.JSecurityFilter.doFilterInternal(JSecurityFilter.java:367)
      2. org.jsecurity.web.servlet.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:180)
      2 frames
    8. Jetty Server
      SelectChannelEndPoint.run
      1. org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1148)
      2. org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:387)
      3. org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216)
      4. org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:181)
      5. org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:765)
      6. org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:417)
      7. org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:230)
      8. org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)
      9. org.mortbay.jetty.Server.handle(Server.java:326)
      10. org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:534)
      11. org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:864)
      12. org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:539)
      13. org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:212)
      14. org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:404)
      15. org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:409)
      15 frames
    9. Jetty Util
      QueuedThreadPool$PoolThread.run
      1. org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java:520)
      1 frame