java.lang.ArrayIndexOutOfBoundsException: 0


Solutions on the web2

Solution icon of sonatype
via Sonatype JIRA by Juven Xu, 1 year ago
0

Solution icon of sonatype
via Sonatype JIRA by Juven Xu, 1 year ago
0

Stack trace

java.lang.ArrayIndexOutOfBoundsException: 0
	at org.sonatype.nexus.security.filter.authc.NexusHttpAuthenticationFilter.getPrincipalsAndCredentials(NexusHttpAuthenticationFilter.java:438)
	at org.jsecurity.web.filter.authc.BasicHttpAuthenticationFilter.getPrincipalsAndCredentials(BasicHttpAuthenticationFilter.java:334)
	at org.jsecurity.web.filter.authc.BasicHttpAuthenticationFilter.createToken(BasicHttpAuthenticationFilter.java:302)
	at org.jsecurity.web.filter.authc.AuthenticatingFilter.executeLogin(AuthenticatingFilter.java:41)
	at org.sonatype.nexus.security.filter.authc.NexusHttpAuthenticationFilter.onAccessDenied(NexusHttpAuthenticationFilter.java:129)
	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.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)

Write tip

You have a different solution? A short tip here would help you and many other users who saw this issue last week.

Users with the same issue

You are the first who have seen this exception. Write a tip to help other users and build your expert profile.