java.lang.ArrayIndexOutOfBoundsException: 0

Sonatype JIRA | Juven Xu | 7 years ago
  1. 0

    # don't access nexus UI # visit a protected resource directly, eg: http://localhost:8081/nexus/service/local/users/admin # when the browser prompt for username/password, click log in without entering any info # got java.lang.ArrayIndexOutOfBoundsException on sever log {noformat} jvm 1 | 2010-05-06 23:17:12 ERROR [@qtp-29905988-0] - o.s.n.s.f.a.NexusSe~ - Unable to login jvm 1 | java.lang.ArrayIndexOutOfBoundsException: 0 jvm 1 | at org.sonatype.nexus.security.filter.authc.NexusHttpAuthenticationFilter.getPrincipalsAndCredentials(NexusHttpAuthenticationFilter.java:438) jvm 1 | at org.jsecurity.web.filter.authc.BasicHttpAuthenticationFilter.getPrincipalsAndCredentials(BasicHttpAuthenticationFilter.java:334) jvm 1 | at org.jsecurity.web.filter.authc.BasicHttpAuthenticationFilter.createToken(BasicHttpAuthenticationFilter.java:302) jvm 1 | at org.jsecurity.web.filter.authc.AuthenticatingFilter.executeLogin(AuthenticatingFilter.java:41) jvm 1 | at org.sonatype.nexus.security.filter.authc.NexusHttpAuthenticationFilter.onAccessDenied(NexusHttpAuthenticationFilter.java:129) jvm 1 | at org.jsecurity.web.filter.AccessControlFilter.onPreHandle(AccessControlFilter.java:145) jvm 1 | at org.jsecurity.web.filter.PathMatchingFilter.preHandle(PathMatchingFilter.java:175) jvm 1 | at org.jsecurity.web.servlet.AdviceFilter.doFilterInternal(AdviceFilter.java:129) jvm 1 | at org.jsecurity.web.servlet.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:180) jvm 1 | at org.jsecurity.web.servlet.FilterChainWrapper.doFilter(FilterChainWrapper.java:57) jvm 1 | at org.jsecurity.web.servlet.JSecurityFilter.doFilterInternal(JSecurityFilter.java:382) jvm 1 | at org.jsecurity.web.servlet.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:180) jvm 1 | at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1148) jvm 1 | at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:387) jvm 1 | at org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216) jvm 1 | at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:181) jvm 1 | at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:765) jvm 1 | at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:417) jvm 1 | at org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:230) jvm 1 | at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152) jvm 1 | at org.mortbay.jetty.Server.handle(Server.java:326) jvm 1 | at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:534) jvm 1 | at org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:864) jvm 1 | at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:539) jvm 1 | at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:212) jvm 1 | at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:404) jvm 1 | at org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:409) jvm 1 | at org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java:520) {noformat}

    Sonatype JIRA | 7 years ago | Juven Xu
    java.lang.ArrayIndexOutOfBoundsException: 0
  2. 0

    # don't access nexus UI # visit a protected resource directly, eg: http://localhost:8081/nexus/service/local/users/admin # when the browser prompt for username/password, click log in without entering any info # got java.lang.ArrayIndexOutOfBoundsException on sever log {noformat} jvm 1 | 2010-05-06 23:17:12 ERROR [@qtp-29905988-0] - o.s.n.s.f.a.NexusSe~ - Unable to login jvm 1 | java.lang.ArrayIndexOutOfBoundsException: 0 jvm 1 | at org.sonatype.nexus.security.filter.authc.NexusHttpAuthenticationFilter.getPrincipalsAndCredentials(NexusHttpAuthenticationFilter.java:438) jvm 1 | at org.jsecurity.web.filter.authc.BasicHttpAuthenticationFilter.getPrincipalsAndCredentials(BasicHttpAuthenticationFilter.java:334) jvm 1 | at org.jsecurity.web.filter.authc.BasicHttpAuthenticationFilter.createToken(BasicHttpAuthenticationFilter.java:302) jvm 1 | at org.jsecurity.web.filter.authc.AuthenticatingFilter.executeLogin(AuthenticatingFilter.java:41) jvm 1 | at org.sonatype.nexus.security.filter.authc.NexusHttpAuthenticationFilter.onAccessDenied(NexusHttpAuthenticationFilter.java:129) jvm 1 | at org.jsecurity.web.filter.AccessControlFilter.onPreHandle(AccessControlFilter.java:145) jvm 1 | at org.jsecurity.web.filter.PathMatchingFilter.preHandle(PathMatchingFilter.java:175) jvm 1 | at org.jsecurity.web.servlet.AdviceFilter.doFilterInternal(AdviceFilter.java:129) jvm 1 | at org.jsecurity.web.servlet.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:180) jvm 1 | at org.jsecurity.web.servlet.FilterChainWrapper.doFilter(FilterChainWrapper.java:57) jvm 1 | at org.jsecurity.web.servlet.JSecurityFilter.doFilterInternal(JSecurityFilter.java:382) jvm 1 | at org.jsecurity.web.servlet.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:180) jvm 1 | at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1148) jvm 1 | at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:387) jvm 1 | at org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216) jvm 1 | at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:181) jvm 1 | at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:765) jvm 1 | at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:417) jvm 1 | at org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:230) jvm 1 | at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152) jvm 1 | at org.mortbay.jetty.Server.handle(Server.java:326) jvm 1 | at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:534) jvm 1 | at org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:864) jvm 1 | at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:539) jvm 1 | at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:212) jvm 1 | at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:404) jvm 1 | at org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:409) jvm 1 | at org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java:520) {noformat}

    Sonatype JIRA | 7 years ago | Juven Xu
    java.lang.ArrayIndexOutOfBoundsException: 0
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0

    Cassandra ArrayIndexOutOfBoundsException

    Stack Overflow | 3 years ago | user3087110
    java.lang.RuntimeException: java.lang.ArrayIndexOutOfBoundsException: 0
  5. 0

    the same event rowDblselecti n nested dataTables

    Stack Overflow | 3 years ago | vonzdar
    java.lang.ArrayIndexOutOfBoundsException: 0

    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.ArrayIndexOutOfBoundsException

      0

      at org.sonatype.nexus.security.filter.authc.NexusHttpAuthenticationFilter.getPrincipalsAndCredentials()
    2. Nexus Core
      NexusHttpAuthenticationFilter.getPrincipalsAndCredentials
      1. org.sonatype.nexus.security.filter.authc.NexusHttpAuthenticationFilter.getPrincipalsAndCredentials(NexusHttpAuthenticationFilter.java:438)
      1 frame
    3. org.jsecurity.web
      AuthenticatingFilter.executeLogin
      1. org.jsecurity.web.filter.authc.BasicHttpAuthenticationFilter.getPrincipalsAndCredentials(BasicHttpAuthenticationFilter.java:334)
      2. org.jsecurity.web.filter.authc.BasicHttpAuthenticationFilter.createToken(BasicHttpAuthenticationFilter.java:302)
      3. org.jsecurity.web.filter.authc.AuthenticatingFilter.executeLogin(AuthenticatingFilter.java:41)
      3 frames
    4. Nexus Core
      NexusHttpAuthenticationFilter.onAccessDenied
      1. org.sonatype.nexus.security.filter.authc.NexusHttpAuthenticationFilter.onAccessDenied(NexusHttpAuthenticationFilter.java:129)
      1 frame
    5. org.jsecurity.web
      OncePerRequestFilter.doFilter
      1. org.jsecurity.web.filter.AccessControlFilter.onPreHandle(AccessControlFilter.java:145)
      2. org.jsecurity.web.filter.PathMatchingFilter.preHandle(PathMatchingFilter.java:175)
      3. org.jsecurity.web.servlet.AdviceFilter.doFilterInternal(AdviceFilter.java:129)
      4. org.jsecurity.web.servlet.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:180)
      5. org.jsecurity.web.servlet.FilterChainWrapper.doFilter(FilterChainWrapper.java:57)
      6. org.jsecurity.web.servlet.JSecurityFilter.doFilterInternal(JSecurityFilter.java:382)
      7. org.jsecurity.web.servlet.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:180)
      7 frames
    6. 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
    7. Jetty Util
      QueuedThreadPool$PoolThread.run
      1. org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java:520)
      1 frame