java.lang.IllegalArgumentException: No enum const class org.sonatype.nexus.proxy.access.Action.mkcol

Sonatype JIRA | Deleted User | 8 years ago
  1. 0

    When I launch Maven release:perform sometimes it failed and I notice the following java exception in nexus.log 2008-10-20 12:32:09.175 ERROR [btpool0-5:] - org.mortbay.log: /content/repositories/releases/com/xxx/metier-utils-jar/01.24/ java.lang.IllegalArgumentException: No enum const class org.sonatype.nexus.proxy.access.Action.mkcol at java.lang.Enum.valueOf(Enum.java:196) at org.sonatype.nexus.proxy.access.Action.valueOf(Action.java:8) at org.sonatype.nexus.security.filter.authz.HttpVerbMappingAuthorizationFilter.getActionFromHttpVerb(HttpVerbMappingAuthorizationFilter.java:56) at org.sonatype.nexus.security.filter.authz.HttpVerbMappingAuthorizationFilter.getActionFromHttpVerb(HttpVerbMappingAuthorizationFilter.java:63) at org.sonatype.nexus.security.filter.authz.NexusTargetMappingAuthorizationFilter.getActionFromHttpVerb(NexusTargetMappingAuthorizationFilter.java:128) 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.headerComplete(HttpConnection.java:829) at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:513) at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:211) 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)

    Sonatype JIRA | 8 years ago | Deleted User
    java.lang.IllegalArgumentException: No enum const class org.sonatype.nexus.proxy.access.Action.mkcol
  2. 0

    When I launch Maven release:perform sometimes it failed and I notice the following java exception in nexus.log 2008-10-20 12:32:09.175 ERROR [btpool0-5:] - org.mortbay.log: /content/repositories/releases/com/xxx/metier-utils-jar/01.24/ java.lang.IllegalArgumentException: No enum const class org.sonatype.nexus.proxy.access.Action.mkcol at java.lang.Enum.valueOf(Enum.java:196) at org.sonatype.nexus.proxy.access.Action.valueOf(Action.java:8) at org.sonatype.nexus.security.filter.authz.HttpVerbMappingAuthorizationFilter.getActionFromHttpVerb(HttpVerbMappingAuthorizationFilter.java:56) at org.sonatype.nexus.security.filter.authz.HttpVerbMappingAuthorizationFilter.getActionFromHttpVerb(HttpVerbMappingAuthorizationFilter.java:63) at org.sonatype.nexus.security.filter.authz.NexusTargetMappingAuthorizationFilter.getActionFromHttpVerb(NexusTargetMappingAuthorizationFilter.java:128) 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.headerComplete(HttpConnection.java:829) at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:513) at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:211) 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)

    Sonatype JIRA | 8 years ago | Deleted User
    java.lang.IllegalArgumentException: No enum const class org.sonatype.nexus.proxy.access.Action.mkcol
  3. 0

    I keep getting this exception in the log. The UI says 'There is an error communicating with the server' {code} 2010-01-21 15:01:33,130 ERROR [core.ContainerBase.[Catalina].[localhost].[/nexus].[nexus]] Servlet.service() for servlet nexus threw exception java.lang.IllegalArgumentException: No enum const class org.sonatype.nexus.proxy.access.Action.options at java.lang.Enum.valueOf(Enum.java:196) at org.sonatype.nexus.proxy.access.Action.valueOf(Action.java:21) at org.sonatype.nexus.security.filter.authz.HttpVerbMappingAuthorizationFilter.getActionFromHttpVerb(HttpVerbMappingAuthorizationFilter.java:106) at org.sonatype.nexus.security.filter.authz.HttpVerbMappingAuthorizationFilter.getActionFromHttpVerb(HttpVerbMappingAuthorizationFilter.java:113) at org.sonatype.nexus.security.filter.authz.HttpVerbMappingAuthorizationFilter.isAccessAllowed(HttpVerbMappingAuthorizationFilter.java:157) 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.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:293) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:849) at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583) at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:454) at java.lang.Thread.run(Thread.java:619) {code}

    Sonatype JIRA | 7 years ago | Joakim Sandström
    java.lang.IllegalArgumentException: No enum const class org.sonatype.nexus.proxy.access.Action.options
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    I keep getting this exception in the log. The UI says 'There is an error communicating with the server' {code} 2010-01-21 15:01:33,130 ERROR [core.ContainerBase.[Catalina].[localhost].[/nexus].[nexus]] Servlet.service() for servlet nexus threw exception java.lang.IllegalArgumentException: No enum const class org.sonatype.nexus.proxy.access.Action.options at java.lang.Enum.valueOf(Enum.java:196) at org.sonatype.nexus.proxy.access.Action.valueOf(Action.java:21) at org.sonatype.nexus.security.filter.authz.HttpVerbMappingAuthorizationFilter.getActionFromHttpVerb(HttpVerbMappingAuthorizationFilter.java:106) at org.sonatype.nexus.security.filter.authz.HttpVerbMappingAuthorizationFilter.getActionFromHttpVerb(HttpVerbMappingAuthorizationFilter.java:113) at org.sonatype.nexus.security.filter.authz.HttpVerbMappingAuthorizationFilter.isAccessAllowed(HttpVerbMappingAuthorizationFilter.java:157) 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.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:293) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:849) at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583) at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:454) at java.lang.Thread.run(Thread.java:619) {code}

    Sonatype JIRA | 7 years ago | Joakim Sandström
    java.lang.IllegalArgumentException: No enum const class org.sonatype.nexus.proxy.access.Action.options
  6. 0

    IllegalArgumentException, when a data type is present in the schema, but unavailable in code generation logic

    GitHub | 4 years ago | lukaseder
    java.lang.IllegalArgumentException: No enum const class org.jooq.util.oracle.OracleDataType.BINARY_INTEGER
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.IllegalArgumentException

    No enum const class org.sonatype.nexus.proxy.access.Action.mkcol

    at java.lang.Enum.valueOf()
  2. Java RT
    Enum.valueOf
    1. java.lang.Enum.valueOf(Enum.java:196)
    1 frame
  3. ${project.groupId}:${project.artifactId}
    Action.valueOf
    1. org.sonatype.nexus.proxy.access.Action.valueOf(Action.java:8)
    1 frame
  4. Nexus Core
    NexusTargetMappingAuthorizationFilter.isAccessAllowed
    1. org.sonatype.nexus.security.filter.authz.HttpVerbMappingAuthorizationFilter.getActionFromHttpVerb(HttpVerbMappingAuthorizationFilter.java:56)
    2. org.sonatype.nexus.security.filter.authz.HttpVerbMappingAuthorizationFilter.getActionFromHttpVerb(HttpVerbMappingAuthorizationFilter.java:63)
    3. org.sonatype.nexus.security.filter.authz.NexusTargetMappingAuthorizationFilter.getActionFromHttpVerb(NexusTargetMappingAuthorizationFilter.java:128)
    4. org.sonatype.nexus.security.filter.authz.NexusTargetMappingAuthorizationFilter.isAccessAllowed(NexusTargetMappingAuthorizationFilter.java:168)
    4 frames
  5. org.jsecurity.web
    JSecurityFilter.doFilterInternal
    1. org.jsecurity.web.filter.AccessControlFilter.onPreHandle(AccessControlFilter.java:139)
    2. org.jsecurity.web.filter.PathMatchingFilter.preHandle(PathMatchingFilter.java:169)
    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.AdviceFilter.executeChain(AdviceFilter.java:105)
    7. org.jsecurity.web.servlet.AdviceFilter.doFilterInternal(AdviceFilter.java:135)
    8. org.jsecurity.web.servlet.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:180)
    9. org.jsecurity.web.servlet.FilterChainWrapper.doFilter(FilterChainWrapper.java:57)
    10. org.jsecurity.web.servlet.JSecurityFilter.doFilterInternal(JSecurityFilter.java:382)
    10 frames
  6. Nexus Core
    NexusJSecurityFilter.doFilterInternal
    1. org.sonatype.nexus.security.filter.NexusJSecurityFilter.doFilterInternal(NexusJSecurityFilter.java:67)
    1 frame
  7. org.jsecurity.web
    OncePerRequestFilter.doFilter
    1. org.jsecurity.web.servlet.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:180)
    1 frame
  8. Jetty Server
    SelectChannelEndPoint.run
    1. org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1088)
    2. org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:360)
    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:729)
    6. org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:405)
    7. org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:206)
    8. org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java:114)
    9. org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)
    10. org.mortbay.jetty.Server.handle(Server.java:324)
    11. org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:505)
    12. org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:829)
    13. org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:513)
    14. org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:211)
    15. org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:380)
    16. org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:395)
    16 frames
  9. Jetty Util
    QueuedThreadPool$PoolThread.run
    1. org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java:488)
    1 frame