java.lang.IllegalStateException

Got exception during target mapping!

Samebug tips0

We couldn't find tips for this exception.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web10

  • via Unknown by Alexandre Navarro,
  • via Unknown by Alexandre Navarro,
  • via Unknown by Juven Xu,
  • Stack trace

    • java.lang.IllegalStateException: Got exception during target mapping! at org.sonatype.nexus.security.filter.authz.NexusTargetMappingAuthorizationFilter.getActionFromHttpVerb(NexusTargetMappingAuthorizationFilter.java:120) at org.sonatype.nexus.security.filter.authz.NexusTargetMappingAuthorizationFilter.isAccessAllowed(NexusTargetMappingAuthorizationFilter.java:168) at org.jsecurity.web.filter.AccessControlFilter.onPreHandle(AccessControlFilter.java:139) at org.jsecurity.web.filter.PathMatchingFilter.preHandle(PathMatchingFilter.java:169) 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.sonatype.nexus.security.filter.NexusJSecurityFilter.doFilterInternal(NexusJSecurityFilter.java:67) at org.jsecurity.web.servlet.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:180) at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1088) at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:360) 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:729) at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:405) at org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:206) at org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java:114) at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152) at org.mortbay.jetty.Server.handle(Server.java:324) at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:505) at org.mortbay.jetty.HttpConnection$RequestHandler.content(HttpConnection.java:843) at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:647) at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:205) at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:380) at org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:395) at org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java:488) Caused by: org.sonatype.nexus.proxy.AccessDeniedException: Access denied on repository ID='frontools_releases', path='/test/test/0.0.1/test-0.0.1.jar', action='read'! at org.sonatype.nexus.proxy.access.DefaultAccessManager.decide(DefaultAccessManager.java:30) at org.sonatype.nexus.proxy.repository.AbstractRepository.checkConditions(AbstractRepository.java:1219) at org.sonatype.nexus.proxy.repository.AbstractRepository.retrieveItem(AbstractRepository.java:678) at org.sonatype.nexus.proxy.router.AbstractRegistryDrivenRepositoryRouter.doRetrieveItem(AbstractRegistryDrivenRepositoryRouter.java:163) at org.sonatype.nexus.proxy.router.AbstractRepositoryRouter.retrieveItem(AbstractRepositoryRouter.java:157) at org.sonatype.nexus.proxy.router.AbstractRegistryDrivenRepositoryRouter.doRetrieveItem(AbstractRegistryDrivenRepositoryRouter.java:163) at org.sonatype.nexus.proxy.router.AbstractRepositoryRouter.retrieveItem(AbstractRepositoryRouter.java:157) at org.sonatype.nexus.security.filter.authz.NexusTargetMappingAuthorizationFilter.getActionFromHttpVerb(NexusTargetMappingAuthorizationFilter.java:110) ... 30 more

    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

    We couldn't find other users who have seen this exception.