java.lang.IllegalArgumentException

There must be at least one validator

Solutions on the web11272

  • via Sonatype JIRA by Peter Lynch, 1 year ago
    There must be at least one validator
  • There must be at least one contig above the threshold length in the sequence dictionary.
  • via Spring JIRA by Matthew T. Adams, 1 year ago
    at least one goal must be specified
  • Stack trace

    • java.lang.IllegalArgumentException: There must be at least one validator at com.google.common.base.Preconditions.checkArgument(Preconditions.java:88)[guava-10.0.1.jar:na] at org.sonatype.nexus.plugins.capabilities.internal.validator.ConjunctionValidator.<init>(ConjunctionValidator.java:45)[na:na] at org.sonatype.nexus.plugins.capabilities.support.validator.LogicalValidators.and(LogicalValidators.java:47)[na:na] at org.sonatype.nexus.plugins.capabilities.internal.validator.DescriptorConstraintsValidator.<init>(DescriptorConstraintsValidator.java:76)[na:na] at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)[na:1.6.0_29] at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)[na:1.6.0_29] at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)[na:1.6.0_29] at java.lang.reflect.Constructor.newInstance(Constructor.java:513)[na:1.6.0_29] at com.google.inject.internal.DefaultConstructionProxyFactory$1.newInstance(DefaultConstructionProxyFactory.java:86)[sisu-guice-3.1.0-no_aop.jar:na] at com.google.inject.internal.ConstructorInjector.provision(ConstructorInjector.java:108)[sisu-guice-3.1.0-no_aop.jar:na] at com.google.inject.internal.ConstructorInjector.access$000(ConstructorInjector.java:32)[sisu-guice-3.1.0-no_aop.jar:na] at com.google.inject.internal.ConstructorInjector$1.call(ConstructorInjector.java:91)[sisu-guice-3.1.0-no_aop.jar:na] at com.google.inject.internal.ProvisionListenerStackCallback$Provision.provision(ProvisionListenerStackCallback.java:100)[sisu-guice-3.1.0-no_aop.jar:na] at org.sonatype.guice.plexus.lifecycles.PlexusLifecycleManager.onProvision(PlexusLifecycleManager.java:138)[sisu-inject-plexus-2.3.0.jar:na] at com.google.inject.internal.ProvisionListenerStackCallback$Provision.provision(ProvisionListenerStackCallback.java:108)[sisu-guice-3.1.0-no_aop.jar:na] at com.google.inject.internal.ProvisionListenerStackCallback.provision(ProvisionListenerStackCallback.java:55)[sisu-guice-3.1.0-no_aop.jar:na] at com.google.inject.internal.ConstructorInjector.construct(ConstructorInjector.java:89)[sisu-guice-3.1.0-no_aop.jar:na] at com.google.inject.internal.ConstructorBindingImpl$Factory.get(ConstructorBindingImpl.java:259)[sisu-guice-3.1.0-no_aop.jar:na] at com.google.inject.internal.InjectorImpl$3$1.call(InjectorImpl.java:965)[sisu-guice-3.1.0-no_aop.jar:na] at com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1011)[sisu-guice-3.1.0-no_aop.jar:na] at com.google.inject.internal.InjectorImpl$3.get(InjectorImpl.java:961)[sisu-guice-3.1.0-no_aop.jar:na] at com.google.inject.assistedinject.FactoryProvider2.invoke(FactoryProvider2.java:632)[na:na] at $Proxy42.constraintsOf(Unknown Source)[na:na] at org.sonatype.nexus.plugins.capabilities.support.validator.CapabilityValidators.constraintsOf(CapabilityValidators.java:126)[na:na] at org.sonatype.nexus.plugins.capabilities.internal.DefaultValidatorRegistry.get(DefaultValidatorRegistry.java:107)[na:na] at org.sonatype.nexus.plugins.capabilities.internal.config.DefaultCapabilityConfiguration.update(DefaultCapabilityConfiguration.java:194)[na:na] at org.sonatype.nexus.plugins.capabilities.internal.rest.CapabilityPlexusResource.put(CapabilityPlexusResource.java:152)[na:na] at org.sonatype.plexus.rest.resource.RestletResource.storeRepresentation(RestletResource.java:327)[plexus-restlet-bridge-1.18-20111207.210255-15.jar:na] at org.sonatype.nexus.rest.NexusRestletResource.storeRepresentation(NexusRestletResource.java:95)[nexus-rest-api-1.10.0-SNAPSHOT.jar:na] at org.restlet.resource.Resource.put(Resource.java:706)[org.restlet-1.1.6-SONATYPE-5348-V4.jar:na] at org.restlet.resource.Resource.handlePut(Resource.java:603)[org.restlet-1.1.6-SONATYPE-5348-V4.jar:na] at org.restlet.Finder.handle(Finder.java:359)[org.restlet-1.1.6-SONATYPE-5348-V4.jar:na] at org.restlet.Filter.doHandle(Filter.java:150)[org.restlet-1.1.6-SONATYPE-5348-V4.jar:na] at org.restlet.Filter.handle(Filter.java:195)[org.restlet-1.1.6-SONATYPE-5348-V4.jar:na] at org.restlet.Router.handle(Router.java:504)[org.restlet-1.1.6-SONATYPE-5348-V4.jar:na] at org.restlet.Filter.doHandle(Filter.java:150)[org.restlet-1.1.6-SONATYPE-5348-V4.jar:na] at org.restlet.Filter.handle(Filter.java:195)[org.restlet-1.1.6-SONATYPE-5348-V4.jar:na] at org.restlet.Router.handle(Router.java:504)[org.restlet-1.1.6-SONATYPE-5348-V4.jar:na] at org.restlet.Filter.doHandle(Filter.java:150)[org.restlet-1.1.6-SONATYPE-5348-V4.jar:na] at org.restlet.Filter.handle(Filter.java:195)[org.restlet-1.1.6-SONATYPE-5348-V4.jar:na] at org.restlet.Filter.doHandle(Filter.java:150)[org.restlet-1.1.6-SONATYPE-5348-V4.jar:na] at org.sonatype.plexus.rest.RetargetableRestlet.doHandle(RetargetableRestlet.java:39)[plexus-restlet-bridge-1.18-20111207.210255-15.jar:na] at org.restlet.Filter.handle(Filter.java:195)[org.restlet-1.1.6-SONATYPE-5348-V4.jar:na] at org.restlet.Filter.doHandle(Filter.java:150)[org.restlet-1.1.6-SONATYPE-5348-V4.jar:na] at org.restlet.Filter.handle(Filter.java:195)[org.restlet-1.1.6-SONATYPE-5348-V4.jar:na] at org.restlet.Filter.doHandle(Filter.java:150)[org.restlet-1.1.6-SONATYPE-5348-V4.jar:na] at org.restlet.Filter.handle(Filter.java:195)[org.restlet-1.1.6-SONATYPE-5348-V4.jar:na] at org.restlet.Filter.doHandle(Filter.java:150)[org.restlet-1.1.6-SONATYPE-5348-V4.jar:na] at com.noelios.restlet.StatusFilter.doHandle(StatusFilter.java:130)[com.noelios.restlet-1.1.6-SONATYPE-5348-V4.jar:na] at org.restlet.Filter.handle(Filter.java:195)[org.restlet-1.1.6-SONATYPE-5348-V4.jar:na] at org.restlet.Filter.doHandle(Filter.java:150)[org.restlet-1.1.6-SONATYPE-5348-V4.jar:na] at org.restlet.Filter.handle(Filter.java:195)[org.restlet-1.1.6-SONATYPE-5348-V4.jar:na] at com.noelios.restlet.ChainHelper.handle(ChainHelper.java:124)[com.noelios.restlet-1.1.6-SONATYPE-5348-V4.jar:na] at com.noelios.restlet.application.ApplicationHelper.handle(ApplicationHelper.java:112)[com.noelios.restlet-1.1.6-SONATYPE-5348-V4.jar:na] at org.restlet.Application.handle(Application.java:341)[org.restlet-1.1.6-SONATYPE-5348-V4.jar:na] at org.restlet.Filter.doHandle(Filter.java:150)[org.restlet-1.1.6-SONATYPE-5348-V4.jar:na] at org.restlet.Filter.handle(Filter.java:195)[org.restlet-1.1.6-SONATYPE-5348-V4.jar:na] at org.restlet.Router.handle(Router.java:504)[org.restlet-1.1.6-SONATYPE-5348-V4.jar:na] at org.restlet.Filter.doHandle(Filter.java:150)[org.restlet-1.1.6-SONATYPE-5348-V4.jar:na] at org.restlet.Filter.handle(Filter.java:195)[org.restlet-1.1.6-SONATYPE-5348-V4.jar:na] at org.restlet.Router.handle(Router.java:504)[org.restlet-1.1.6-SONATYPE-5348-V4.jar:na] at org.restlet.Filter.doHandle(Filter.java:150)[org.restlet-1.1.6-SONATYPE-5348-V4.jar:na] at org.restlet.Filter.handle(Filter.java:195)[org.restlet-1.1.6-SONATYPE-5348-V4.jar:na] at com.noelios.restlet.ChainHelper.handle(ChainHelper.java:124)[com.noelios.restlet-1.1.6-SONATYPE-5348-V4.jar:na] at org.restlet.Component.handle(Component.java:673)[org.restlet-1.1.6-SONATYPE-5348-V4.jar:na] at org.restlet.Server.handle(Server.java:331)[org.restlet-1.1.6-SONATYPE-5348-V4.jar:na] at com.noelios.restlet.ServerHelper.handle(ServerHelper.java:68)[com.noelios.restlet-1.1.6-SONATYPE-5348-V4.jar:na] at com.noelios.restlet.http.HttpServerHelper.handle(HttpServerHelper.java:147)[com.noelios.restlet-1.1.6-SONATYPE-5348-V4.jar:na] at com.noelios.restlet.ext.servlet.ServerServlet.service(ServerServlet.java:881)[com.noelios.restlet.ext.servlet-1.1.6-SONATYPE-5348-V4.jar:na] at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)[servlet-api-2.5.jar:2.5] at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:547)[jetty-servlet-7.5.4.v20111024.jar:7.5.4.v20111024] at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1359)[jetty-servlet-7.5.4.v20111024.jar:7.5.4.v20111024] at org.apache.shiro.web.servlet.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:74)[shiro-web-1.1.0.jar:na] at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1330)[jetty-servlet-7.5.4.v20111024.jar:7.5.4.v20111024] at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:478)[jetty-servlet-7.5.4.v20111024.jar:7.5.4.v20111024] at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:119)[jetty-server-7.5.4.v20111024.jar:7.5.4.v20111024] at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:520)[jetty-security-7.5.4.v20111024.jar:7.5.4.v20111024] at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:227)[jetty-server-7.5.4.v20111024.jar:7.5.4.v20111024] at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:941)[jetty-server-7.5.4.v20111024.jar:7.5.4.v20111024] at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:409)[jetty-servlet-7.5.4.v20111024.jar:7.5.4.v20111024] at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:186)[jetty-server-7.5.4.v20111024.jar:7.5.4.v20111024] at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:875)[jetty-server-7.5.4.v20111024.jar:7.5.4.v20111024] at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:117)[jetty-server-7.5.4.v20111024.jar:7.5.4.v20111024] at org.eclipse.jetty.server.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:250)[jetty-server-7.5.4.v20111024.jar:7.5.4.v20111024] at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:110)[jetty-server-7.5.4.v20111024.jar:7.5.4.v20111024] at org.eclipse.jetty.server.Server.handle(Server.java:345)[jetty-server-7.5.4.v20111024.jar:7.5.4.v20111024] at org.eclipse.jetty.server.HttpConnection.handleRequest(HttpConnection.java:441)[jetty-server-7.5.4.v20111024.jar:7.5.4.v20111024] at org.eclipse.jetty.server.HttpConnection$RequestHandler.content(HttpConnection.java:936)[jetty-server-7.5.4.v20111024.jar:7.5.4.v20111024] at org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:801)[jetty-http-7.5.4.v20111024.jar:7.5.4.v20111024] at org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:224)[jetty-http-7.5.4.v20111024.jar:7.5.4.v20111024] at org.eclipse.jetty.server.AsyncHttpConnection.handle(AsyncHttpConnection.java:51)[jetty-server-7.5.4.v20111024.jar:7.5.4.v20111024] at org.eclipse.jetty.io.nio.SelectChannelEndPoint.handle(SelectChannelEndPoint.java:586)[jetty-io-7.5.4.v20111024.jar:7.5.4.v20111024] at org.eclipse.jetty.io.nio.SelectChannelEndPoint$1.run(SelectChannelEndPoint.java:44)[jetty-io-7.5.4.v20111024.jar:7.5.4.v20111024] at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:598)[jetty-util-7.5.4.v20111024.jar:7.5.4.v20111024] at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:533)[jetty-util-7.5.4.v20111024.jar:7.5.4.v20111024] at java.lang.Thread.run(Thread.java:680)[na:1.6.0_29]

    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

    Unknown user
    Once, 1 year ago
    Unknown user
    Once, 1 year ago
    Unknown user
    Once, 1 year ago
    10 times, 2 weeks ago
    Once, 1 month ago
    32 more bugmates