java.lang.IllegalArgumentException: Usage: at least one module must be supplied

Google Groups | Oliver Krylow | 4 years ago
  1. 0

    gwt-maven-plugin 2.5.0 ; goal gwt:run-codeserver; Invokes lifecycle phase process-classes; Expected invocation of generate-sources;

    Google Groups | 4 years ago | Oliver Krylow
    java.lang.IllegalArgumentException: Usage: at least one module must be supplied
  2. 0

    In order to run both my TestNG & JUnit 4 tests, I configured surefire in the following way in my project's pom: <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-surefire-plugin</artifactId> <version>2.11</version> <executions> <execution> <id>default-test</id> <configuration> <skipTests>true</skipTests> </configuration> </execution> <execution> <id>junit-tests</id> <goals> <goal>test</goal> </goals> <configuration> <testNGArtifactName>none:none</testNGArtifactName> <printSummary>false</printSummary> <redirectTestOutputToFile>true</redirectTestOutputToFile> <excludes> <exclude>**/*_Roo_*</exclude> </excludes> </configuration> </execution> <execution> <id>testng-tests</id> <goals> <goal>test</goal> </goals> <configuration> <junitArtifactName>none:none</junitArtifactName> <printSummary>false</printSummary> <redirectTestOutputToFile>true</redirectTestOutputToFile> <excludes> <exclude>**/*_Roo_*</exclude> </excludes> </configuration> </execution> </executions> </plugin> Then, after running roo.sh (with development.mode=true), I get the following shell behavior: ____ ____ ____ / __ \/ __ \/ __ \ / /_/ / / / / / / / / _, _/ /_/ / /_/ / /_/ |_|\____/\____/ 1.2.1.RELEASE [rev 6eae723] Welcome to Spring Roo. For assistance press TAB or type "hint" then hit ENTER. [FelixDispatchQueue] at least one goal must be specified java.lang.IllegalArgumentException: at least one goal must be specified at org.apache.commons.lang3.Validate.notEmpty(Validate.java:251) at org.springframework.roo.project.Execution.<init>(Execution.java:48) at org.springframework.roo.project.Plugin.getExecutions(Plugin.java:137) at org.springframework.roo.project.Plugin.<init>(Plugin.java:182) at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27) at java.lang.reflect.Constructor.newInstance(Constructor.java:513) at org.springframework.roo.project.maven.PomFactoryImpl.parseElements(PomFactoryImpl.java:164) at org.springframework.roo.project.maven.PomFactoryImpl.getInstance(PomFactoryImpl.java:90) at org.springframework.roo.project.PomManagementServiceImpl.parseUnparsedPoms(PomManagementServiceImpl.java:206) at org.springframework.roo.project.PomManagementServiceImpl.updatePomCache(PomManagementServiceImpl.java:336) at org.springframework.roo.project.PomManagementServiceImpl.getModuleForFileIdentifier(PomManagementServiceImpl.java:123) at org.springframework.roo.project.AbstractProjectOperations.getModuleForFileIdentifier(AbstractProjectOperations.java:510) at org.springframework.roo.classpath.TypeLocationServiceImpl.getProposedJavaType(TypeLocationServiceImpl.java:342) at org.springframework.roo.classpath.TypeLocationServiceImpl.doesPathIndicateJavaType(TypeLocationServiceImpl.java:112) at org.springframework.roo.classpath.TypeLocationServiceImpl.getPhysicalTypeIdentifier(TypeLocationServiceImpl.java:248) at org.springframework.roo.classpath.DefaultPhysicalTypeMetadataProvider.onFileEvent(DefaultPhysicalTypeMetadataProvider.java:176) at org.springframework.roo.file.monitor.polling.PollingFileMonitorService.publish(PollingFileMonitorService.java:429) at org.springframework.roo.file.monitor.polling.PollingFileMonitorService.scanAll(PollingFileMonitorService.java:642) at org.springframework.roo.process.manager.internal.MonitoringRequestCommand.callback(MonitoringRequestCommand.java:39) at org.springframework.roo.process.manager.internal.MonitoringRequestCommand.callback(MonitoringRequestCommand.java:15) at org.springframework.roo.process.manager.internal.DefaultProcessManager.doTransactionally(DefaultProcessManager.java:169) at org.springframework.roo.process.manager.internal.DefaultProcessManager.completeStartup(DefaultProcessManager.java:139) at org.springframework.roo.process.manager.internal.DefaultProcessManager.access$100(DefaultProcessManager.java:35) at org.springframework.roo.process.manager.internal.DefaultProcessManager$1.frameworkEvent(DefaultProcessManager.java:68) at org.apache.felix.framework.util.EventDispatcher.invokeFrameworkListenerCallback(EventDispatcher.java:774) at org.apache.felix.framework.util.EventDispatcher.fireEventImmediately(EventDispatcher.java:725) at org.apache.felix.framework.util.EventDispatcher.run(EventDispatcher.java:949) at org.apache.felix.framework.util.EventDispatcher.access$000(EventDispatcher.java:54) at org.apache.felix.framework.util.EventDispatcher$1.run(EventDispatcher.java:106) at java.lang.Thread.run(Thread.java:662) roo> hint at least one goal must be specified java.lang.IllegalArgumentException: at least one goal must be specified at org.apache.commons.lang3.Validate.notEmpty(Validate.java:251) at org.springframework.roo.project.Execution.<init>(Execution.java:48) at org.springframework.roo.project.Plugin.getExecutions(Plugin.java:137) at org.springframework.roo.project.Plugin.<init>(Plugin.java:182) at sun.reflect.GeneratedConstructorAccessor11.newInstance(Unknown Source) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27) at java.lang.reflect.Constructor.newInstance(Constructor.java:513) at org.springframework.roo.project.maven.PomFactoryImpl.parseElements(PomFactoryImpl.java:164) at org.springframework.roo.project.maven.PomFactoryImpl.getInstance(PomFactoryImpl.java:90) at org.springframework.roo.project.PomManagementServiceImpl.parseUnparsedPoms(PomManagementServiceImpl.java:206) at org.springframework.roo.project.PomManagementServiceImpl.updatePomCache(PomManagementServiceImpl.java:336) at org.springframework.roo.project.PomManagementServiceImpl.getFocusedModule(PomManagementServiceImpl.java:108) at org.springframework.roo.project.PomManagementServiceImpl.getFocusedModuleName(PomManagementServiceImpl.java:116) at org.springframework.roo.project.AbstractProjectOperations.getFocusedModuleName(AbstractProjectOperations.java:494) at org.springframework.roo.project.AbstractProjectOperations.isFocusedProjectAvailable(AbstractProjectOperations.java:595) at org.springframework.roo.classpath.operations.HintOperationsImpl.determineTopic(HintOperationsImpl.java:49) at org.springframework.roo.classpath.operations.HintOperationsImpl.hint(HintOperationsImpl.java:101) at org.springframework.roo.classpath.operations.HintCommands.hint(HintCommands.java:26) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.springframework.roo.process.manager.ProcessManagerHostedExecutionStrategy$1.callback(ProcessManagerHostedExecutionStrategy.java:46) at org.springframework.roo.process.manager.internal.DefaultProcessManager.doTransactionally(DefaultProcessManager.java:169) at org.springframework.roo.process.manager.internal.DefaultProcessManager.execute(DefaultProcessManager.java:226) at org.springframework.roo.process.manager.ProcessManagerHostedExecutionStrategy.execute(ProcessManagerHostedExecutionStrategy.java:43) at org.springframework.roo.shell.AbstractShell.executeCommandImpl(AbstractShell.java:225) at org.springframework.roo.shell.AbstractShell.executeCommand(AbstractShell.java:135) at org.springframework.roo.shell.jline.JLineShell.promptLoop(JLineShell.java:420) at org.springframework.roo.shell.jline.JLineShell.run(JLineShell.java:538) at java.lang.Thread.run(Thread.java:662) If I then add <goals><goal>test</goal></goals> to the default-test surefire execution, everything works fine.

    Spring JIRA | 5 years ago | Matthew T. Adams
    java.lang.IllegalArgumentException: at least one goal must be specified
  3. 0

    In order to run both my TestNG & JUnit 4 tests, I configured surefire in the following way in my project's pom: <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-surefire-plugin</artifactId> <version>2.11</version> <executions> <execution> <id>default-test</id> <configuration> <skipTests>true</skipTests> </configuration> </execution> <execution> <id>junit-tests</id> <goals> <goal>test</goal> </goals> <configuration> <testNGArtifactName>none:none</testNGArtifactName> <printSummary>false</printSummary> <redirectTestOutputToFile>true</redirectTestOutputToFile> <excludes> <exclude>**/*_Roo_*</exclude> </excludes> </configuration> </execution> <execution> <id>testng-tests</id> <goals> <goal>test</goal> </goals> <configuration> <junitArtifactName>none:none</junitArtifactName> <printSummary>false</printSummary> <redirectTestOutputToFile>true</redirectTestOutputToFile> <excludes> <exclude>**/*_Roo_*</exclude> </excludes> </configuration> </execution> </executions> </plugin> Then, after running roo.sh (with development.mode=true), I get the following shell behavior: ____ ____ ____ / __ \/ __ \/ __ \ / /_/ / / / / / / / / _, _/ /_/ / /_/ / /_/ |_|\____/\____/ 1.2.1.RELEASE [rev 6eae723] Welcome to Spring Roo. For assistance press TAB or type "hint" then hit ENTER. [FelixDispatchQueue] at least one goal must be specified java.lang.IllegalArgumentException: at least one goal must be specified at org.apache.commons.lang3.Validate.notEmpty(Validate.java:251) at org.springframework.roo.project.Execution.<init>(Execution.java:48) at org.springframework.roo.project.Plugin.getExecutions(Plugin.java:137) at org.springframework.roo.project.Plugin.<init>(Plugin.java:182) at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27) at java.lang.reflect.Constructor.newInstance(Constructor.java:513) at org.springframework.roo.project.maven.PomFactoryImpl.parseElements(PomFactoryImpl.java:164) at org.springframework.roo.project.maven.PomFactoryImpl.getInstance(PomFactoryImpl.java:90) at org.springframework.roo.project.PomManagementServiceImpl.parseUnparsedPoms(PomManagementServiceImpl.java:206) at org.springframework.roo.project.PomManagementServiceImpl.updatePomCache(PomManagementServiceImpl.java:336) at org.springframework.roo.project.PomManagementServiceImpl.getModuleForFileIdentifier(PomManagementServiceImpl.java:123) at org.springframework.roo.project.AbstractProjectOperations.getModuleForFileIdentifier(AbstractProjectOperations.java:510) at org.springframework.roo.classpath.TypeLocationServiceImpl.getProposedJavaType(TypeLocationServiceImpl.java:342) at org.springframework.roo.classpath.TypeLocationServiceImpl.doesPathIndicateJavaType(TypeLocationServiceImpl.java:112) at org.springframework.roo.classpath.TypeLocationServiceImpl.getPhysicalTypeIdentifier(TypeLocationServiceImpl.java:248) at org.springframework.roo.classpath.DefaultPhysicalTypeMetadataProvider.onFileEvent(DefaultPhysicalTypeMetadataProvider.java:176) at org.springframework.roo.file.monitor.polling.PollingFileMonitorService.publish(PollingFileMonitorService.java:429) at org.springframework.roo.file.monitor.polling.PollingFileMonitorService.scanAll(PollingFileMonitorService.java:642) at org.springframework.roo.process.manager.internal.MonitoringRequestCommand.callback(MonitoringRequestCommand.java:39) at org.springframework.roo.process.manager.internal.MonitoringRequestCommand.callback(MonitoringRequestCommand.java:15) at org.springframework.roo.process.manager.internal.DefaultProcessManager.doTransactionally(DefaultProcessManager.java:169) at org.springframework.roo.process.manager.internal.DefaultProcessManager.completeStartup(DefaultProcessManager.java:139) at org.springframework.roo.process.manager.internal.DefaultProcessManager.access$100(DefaultProcessManager.java:35) at org.springframework.roo.process.manager.internal.DefaultProcessManager$1.frameworkEvent(DefaultProcessManager.java:68) at org.apache.felix.framework.util.EventDispatcher.invokeFrameworkListenerCallback(EventDispatcher.java:774) at org.apache.felix.framework.util.EventDispatcher.fireEventImmediately(EventDispatcher.java:725) at org.apache.felix.framework.util.EventDispatcher.run(EventDispatcher.java:949) at org.apache.felix.framework.util.EventDispatcher.access$000(EventDispatcher.java:54) at org.apache.felix.framework.util.EventDispatcher$1.run(EventDispatcher.java:106) at java.lang.Thread.run(Thread.java:662) roo> hint at least one goal must be specified java.lang.IllegalArgumentException: at least one goal must be specified at org.apache.commons.lang3.Validate.notEmpty(Validate.java:251) at org.springframework.roo.project.Execution.<init>(Execution.java:48) at org.springframework.roo.project.Plugin.getExecutions(Plugin.java:137) at org.springframework.roo.project.Plugin.<init>(Plugin.java:182) at sun.reflect.GeneratedConstructorAccessor11.newInstance(Unknown Source) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27) at java.lang.reflect.Constructor.newInstance(Constructor.java:513) at org.springframework.roo.project.maven.PomFactoryImpl.parseElements(PomFactoryImpl.java:164) at org.springframework.roo.project.maven.PomFactoryImpl.getInstance(PomFactoryImpl.java:90) at org.springframework.roo.project.PomManagementServiceImpl.parseUnparsedPoms(PomManagementServiceImpl.java:206) at org.springframework.roo.project.PomManagementServiceImpl.updatePomCache(PomManagementServiceImpl.java:336) at org.springframework.roo.project.PomManagementServiceImpl.getFocusedModule(PomManagementServiceImpl.java:108) at org.springframework.roo.project.PomManagementServiceImpl.getFocusedModuleName(PomManagementServiceImpl.java:116) at org.springframework.roo.project.AbstractProjectOperations.getFocusedModuleName(AbstractProjectOperations.java:494) at org.springframework.roo.project.AbstractProjectOperations.isFocusedProjectAvailable(AbstractProjectOperations.java:595) at org.springframework.roo.classpath.operations.HintOperationsImpl.determineTopic(HintOperationsImpl.java:49) at org.springframework.roo.classpath.operations.HintOperationsImpl.hint(HintOperationsImpl.java:101) at org.springframework.roo.classpath.operations.HintCommands.hint(HintCommands.java:26) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.springframework.roo.process.manager.ProcessManagerHostedExecutionStrategy$1.callback(ProcessManagerHostedExecutionStrategy.java:46) at org.springframework.roo.process.manager.internal.DefaultProcessManager.doTransactionally(DefaultProcessManager.java:169) at org.springframework.roo.process.manager.internal.DefaultProcessManager.execute(DefaultProcessManager.java:226) at org.springframework.roo.process.manager.ProcessManagerHostedExecutionStrategy.execute(ProcessManagerHostedExecutionStrategy.java:43) at org.springframework.roo.shell.AbstractShell.executeCommandImpl(AbstractShell.java:225) at org.springframework.roo.shell.AbstractShell.executeCommand(AbstractShell.java:135) at org.springframework.roo.shell.jline.JLineShell.promptLoop(JLineShell.java:420) at org.springframework.roo.shell.jline.JLineShell.run(JLineShell.java:538) at java.lang.Thread.run(Thread.java:662) If I then add <goals><goal>test</goal></goals> to the default-test surefire execution, everything works fine.

    Spring JIRA | 5 years ago | Matthew T. Adams
    java.lang.IllegalArgumentException: at least one goal must be specified
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    When an exception is thrown inside nexus, there is usually duplicate or even triplicate logging of it's stack trace. Usually logged at source, logged by jetty, and thirdly logged by problem reporter. Can this be reduced safely? If you are looking for examples, see the log files inside this tar file: https://github.com/sonatype/nexus-grid/blob/master/scenarios/smartproxy/results/1.10.0-SNAPSHOT/20120102-01/nexus1-nexus-logs.tar.gz On Wed, Jan 4, 2012 at 11:47 PM, Jason Dillon <jdillon@sonatype.com> wrote: When something bad happens, looks like NX is logging the exception twice... why? Once here: jvm 1 | ERROR [5b6ff421345874?] DefaultErrorReportingManager - Detected Error in Nexus and another here: jvm 1 | ERROR [5b6ff421345874?] NexusApplication - Unhandled exception or error intercepted {noformat} jvm 1 | ERROR [5b6ff421345874?] DefaultErrorReportingManager - Detected Error in Nexus jvm 1 | java.lang.IllegalArgumentException: There must be at least one validator jvm 1 | at com.google.common.base.Preconditions.checkArgument(Preconditions.java:88) ~[guava-10.0.1.jar:na] jvm 1 | at org.sonatype.nexus.plugins.capabilities.internal.validator.ConjunctionValidator.<init>(ConjunctionValidator.java:45) ~[na:na] jvm 1 | at org.sonatype.nexus.plugins.capabilities.support.validator.LogicalValidators.and(LogicalValidators.java:47) ~[na:na] jvm 1 | at org.sonatype.nexus.plugins.capabilities.internal.validator.DescriptorConstraintsValidator.<init>(DescriptorConstraintsValidator.java:76) ~[na:na] jvm 1 | at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) ~[na:1.6.0_29] jvm 1 | at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39) ~[na:1.6.0_29] jvm 1 | at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27) ~[na:1.6.0_29] jvm 1 | at java.lang.reflect.Constructor.newInstance(Constructor.java:513) ~[na:1.6.0_29] jvm 1 | at com.google.inject.internal.DefaultConstructionProxyFactory$1.newInstance(DefaultConstructionProxyFactory.java:86) ~[sisu-guice-3.1.0-no_aop.jar:na] jvm 1 | at com.google.inject.internal.ConstructorInjector.provision(ConstructorInjector.java:108) ~[sisu-guice-3.1.0-no_aop.jar:na] jvm 1 | at com.google.inject.internal.ConstructorInjector.access$000(ConstructorInjector.java:32) ~[sisu-guice-3.1.0-no_aop.jar:na] jvm 1 | at com.google.inject.internal.ConstructorInjector$1.call(ConstructorInjector.java:91) ~[sisu-guice-3.1.0-no_aop.jar:na] jvm 1 | at com.google.inject.internal.ProvisionListenerStackCallback$Provision.provision(ProvisionListenerStackCallback.java:100) ~[sisu-guice-3.1.0-no_aop.jar:na] jvm 1 | at org.sonatype.guice.plexus.lifecycles.PlexusLifecycleManager.onProvision(PlexusLifecycleManager.java:138) ~[sisu-inject-plexus-2.3.0.jar:na] jvm 1 | at com.google.inject.internal.ProvisionListenerStackCallback$Provision.provision(ProvisionListenerStackCallback.java:108) ~[sisu-guice-3.1.0-no_aop.jar:na] jvm 1 | at com.google.inject.internal.ProvisionListenerStackCallback.provision(ProvisionListenerStackCallback.java:55) ~[sisu-guice-3.1.0-no_aop.jar:na] jvm 1 | at com.google.inject.internal.ConstructorInjector.construct(ConstructorInjector.java:89) ~[sisu-guice-3.1.0-no_aop.jar:na] jvm 1 | at com.google.inject.internal.ConstructorBindingImpl$Factory.get(ConstructorBindingImpl.java:259) ~[sisu-guice-3.1.0-no_aop.jar:na] jvm 1 | at com.google.inject.internal.InjectorImpl$3$1.call(InjectorImpl.java:965) ~[sisu-guice-3.1.0-no_aop.jar:na] jvm 1 | at com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1011) ~[sisu-guice-3.1.0-no_aop.jar:na] jvm 1 | at com.google.inject.internal.InjectorImpl$3.get(InjectorImpl.java:961) ~[sisu-guice-3.1.0-no_aop.jar:na] jvm 1 | at com.google.inject.assistedinject.FactoryProvider2.invoke(FactoryProvider2.java:632) ~[na:na] jvm 1 | at $Proxy42.constraintsOf(Unknown Source) ~[na:na] jvm 1 | at org.sonatype.nexus.plugins.capabilities.support.validator.CapabilityValidators.constraintsOf(CapabilityValidators.java:126) ~[na:na] jvm 1 | at org.sonatype.nexus.plugins.capabilities.internal.DefaultValidatorRegistry.get(DefaultValidatorRegistry.java:107) ~[na:na] jvm 1 | at org.sonatype.nexus.plugins.capabilities.internal.config.DefaultCapabilityConfiguration.update(DefaultCapabilityConfiguration.java:194) ~[na:na] jvm 1 | at org.sonatype.nexus.plugins.capabilities.internal.rest.CapabilityPlexusResource.put(CapabilityPlexusResource.java:152) ~[na:na] jvm 1 | at org.sonatype.plexus.rest.resource.RestletResource.storeRepresentation(RestletResource.java:327) ~[plexus-restlet-bridge-1.18-20111207.210255-15.jar:na] jvm 1 | at org.sonatype.nexus.rest.NexusRestletResource.storeRepresentation(NexusRestletResource.java:95) ~[nexus-rest-api-1.10.0-SNAPSHOT.jar:na] jvm 1 | at org.restlet.resource.Resource.put(Resource.java:706) [org.restlet-1.1.6-SONATYPE-5348-V4.jar:na] jvm 1 | at org.restlet.resource.Resource.handlePut(Resource.java:603) [org.restlet-1.1.6-SONATYPE-5348-V4.jar:na] jvm 1 | at org.restlet.Finder.handle(Finder.java:359) [org.restlet-1.1.6-SONATYPE-5348-V4.jar:na] jvm 1 | at org.restlet.Filter.doHandle(Filter.java:150) [org.restlet-1.1.6-SONATYPE-5348-V4.jar:na] jvm 1 | at org.restlet.Filter.handle(Filter.java:195) [org.restlet-1.1.6-SONATYPE-5348-V4.jar:na] jvm 1 | at org.restlet.Router.handle(Router.java:504) [org.restlet-1.1.6-SONATYPE-5348-V4.jar:na] jvm 1 | at org.restlet.Filter.doHandle(Filter.java:150) [org.restlet-1.1.6-SONATYPE-5348-V4.jar:na] jvm 1 | at org.restlet.Filter.handle(Filter.java:195) [org.restlet-1.1.6-SONATYPE-5348-V4.jar:na] jvm 1 | at org.restlet.Router.handle(Router.java:504) [org.restlet-1.1.6-SONATYPE-5348-V4.jar:na] jvm 1 | at org.restlet.Filter.doHandle(Filter.java:150) [org.restlet-1.1.6-SONATYPE-5348-V4.jar:na] jvm 1 | at org.restlet.Filter.handle(Filter.java:195) [org.restlet-1.1.6-SONATYPE-5348-V4.jar:na] jvm 1 | at org.restlet.Filter.doHandle(Filter.java:150) [org.restlet-1.1.6-SONATYPE-5348-V4.jar:na] jvm 1 | at org.sonatype.plexus.rest.RetargetableRestlet.doHandle(RetargetableRestlet.java:39) [plexus-restlet-bridge-1.18-20111207.210255-15.jar:na] jvm 1 | at org.restlet.Filter.handle(Filter.java:195) [org.restlet-1.1.6-SONATYPE-5348-V4.jar:na] jvm 1 | at org.restlet.Filter.doHandle(Filter.java:150) [org.restlet-1.1.6-SONATYPE-5348-V4.jar:na] jvm 1 | at org.restlet.Filter.handle(Filter.java:195) [org.restlet-1.1.6-SONATYPE-5348-V4.jar:na] jvm 1 | at org.restlet.Filter.doHandle(Filter.java:150) [org.restlet-1.1.6-SONATYPE-5348-V4.jar:na] jvm 1 | at org.restlet.Filter.handle(Filter.java:195) [org.restlet-1.1.6-SONATYPE-5348-V4.jar:na] jvm 1 | at org.restlet.Filter.doHandle(Filter.java:150) [org.restlet-1.1.6-SONATYPE-5348-V4.jar:na] jvm 1 | at com.noelios.restlet.StatusFilter.doHandle(StatusFilter.java:130) [com.noelios.restlet-1.1.6-SONATYPE-5348-V4.jar:na] jvm 1 | at org.restlet.Filter.handle(Filter.java:195) [org.restlet-1.1.6-SONATYPE-5348-V4.jar:na] jvm 1 | at org.restlet.Filter.doHandle(Filter.java:150) [org.restlet-1.1.6-SONATYPE-5348-V4.jar:na] jvm 1 | at org.restlet.Filter.handle(Filter.java:195) [org.restlet-1.1.6-SONATYPE-5348-V4.jar:na] jvm 1 | at com.noelios.restlet.ChainHelper.handle(ChainHelper.java:124) [com.noelios.restlet-1.1.6-SONATYPE-5348-V4.jar:na] jvm 1 | at com.noelios.restlet.application.ApplicationHelper.handle(ApplicationHelper.java:112) [com.noelios.restlet-1.1.6-SONATYPE-5348-V4.jar:na] jvm 1 | at org.restlet.Application.handle(Application.java:341) [org.restlet-1.1.6-SONATYPE-5348-V4.jar:na] jvm 1 | at org.restlet.Filter.doHandle(Filter.java:150) [org.restlet-1.1.6-SONATYPE-5348-V4.jar:na] jvm 1 | at org.restlet.Filter.handle(Filter.java:195) [org.restlet-1.1.6-SONATYPE-5348-V4.jar:na] jvm 1 | at org.restlet.Router.handle(Router.java:504) [org.restlet-1.1.6-SONATYPE-5348-V4.jar:na] jvm 1 | at org.restlet.Filter.doHandle(Filter.java:150) [org.restlet-1.1.6-SONATYPE-5348-V4.jar:na] jvm 1 | at org.restlet.Filter.handle(Filter.java:195) [org.restlet-1.1.6-SONATYPE-5348-V4.jar:na] jvm 1 | at org.restlet.Router.handle(Router.java:504) [org.restlet-1.1.6-SONATYPE-5348-V4.jar:na] jvm 1 | at org.restlet.Filter.doHandle(Filter.java:150) [org.restlet-1.1.6-SONATYPE-5348-V4.jar:na] jvm 1 | at org.restlet.Filter.handle(Filter.java:195) [org.restlet-1.1.6-SONATYPE-5348-V4.jar:na] jvm 1 | at com.noelios.restlet.ChainHelper.handle(ChainHelper.java:124) [com.noelios.restlet-1.1.6-SONATYPE-5348-V4.jar:na] jvm 1 | at org.restlet.Component.handle(Component.java:673) [org.restlet-1.1.6-SONATYPE-5348-V4.jar:na] jvm 1 | at org.restlet.Server.handle(Server.java:331) [org.restlet-1.1.6-SONATYPE-5348-V4.jar:na] jvm 1 | at com.noelios.restlet.ServerHelper.handle(ServerHelper.java:68) [com.noelios.restlet-1.1.6-SONATYPE-5348-V4.jar:na] jvm 1 | at com.noelios.restlet.http.HttpServerHelper.handle(HttpServerHelper.java:147) [com.noelios.restlet-1.1.6-SONATYPE-5348-V4.jar:na] jvm 1 | at com.noelios.restlet.ext.servlet.ServerServlet.service(ServerServlet.java:881) [com.noelios.restlet.ext.servlet-1.1.6-SONATYPE-5348-V4.jar:na] jvm 1 | at javax.servlet.http.HttpServlet.service(HttpServlet.java:820) [servlet-api-2.5.jar:2.5] jvm 1 | at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:547) [jetty-servlet-7.5.4.v20111024.jar:7.5.4.v20111024] jvm 1 | at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1359) [jetty-servlet-7.5.4.v20111024.jar:7.5.4.v20111024] jvm 1 | at org.apache.shiro.web.servlet.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:74) [shiro-web-1.1.0.jar:na] jvm 1 | at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1330) [jetty-servlet-7.5.4.v20111024.jar:7.5.4.v20111024] jvm 1 | at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:478) [jetty-servlet-7.5.4.v20111024.jar:7.5.4.v20111024] jvm 1 | at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:119) [jetty-server-7.5.4.v20111024.jar:7.5.4.v20111024] jvm 1 | at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:520) [jetty-security-7.5.4.v20111024.jar:7.5.4.v20111024] jvm 1 | at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:227) [jetty-server-7.5.4.v20111024.jar:7.5.4.v20111024] jvm 1 | at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:941) [jetty-server-7.5.4.v20111024.jar:7.5.4.v20111024] jvm 1 | at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:409) [jetty-servlet-7.5.4.v20111024.jar:7.5.4.v20111024] jvm 1 | at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:186) [jetty-server-7.5.4.v20111024.jar:7.5.4.v20111024] jvm 1 | at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:875) [jetty-server-7.5.4.v20111024.jar:7.5.4.v20111024] jvm 1 | at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:117) [jetty-server-7.5.4.v20111024.jar:7.5.4.v20111024] jvm 1 | at org.eclipse.jetty.server.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:250) [jetty-server-7.5.4.v20111024.jar:7.5.4.v20111024] jvm 1 | at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:110) [jetty-server-7.5.4.v20111024.jar:7.5.4.v20111024] jvm 1 | at org.eclipse.jetty.server.Server.handle(Server.java:345) [jetty-server-7.5.4.v20111024.jar:7.5.4.v20111024] jvm 1 | at org.eclipse.jetty.server.HttpConnection.handleRequest(HttpConnection.java:441) [jetty-server-7.5.4.v20111024.jar:7.5.4.v20111024] jvm 1 | at org.eclipse.jetty.server.HttpConnection$RequestHandler.content(HttpConnection.java:936) [jetty-server-7.5.4.v20111024.jar:7.5.4.v20111024] jvm 1 | at org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:801) [jetty-http-7.5.4.v20111024.jar:7.5.4.v20111024] jvm 1 | at org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:224) [jetty-http-7.5.4.v20111024.jar:7.5.4.v20111024] jvm 1 | at org.eclipse.jetty.server.AsyncHttpConnection.handle(AsyncHttpConnection.java:51) [jetty-server-7.5.4.v20111024.jar:7.5.4.v20111024] jvm 1 | at org.eclipse.jetty.io.nio.SelectChannelEndPoint.handle(SelectChannelEndPoint.java:586) [jetty-io-7.5.4.v20111024.jar:7.5.4.v20111024] jvm 1 | at org.eclipse.jetty.io.nio.SelectChannelEndPoint$1.run(SelectChannelEndPoint.java:44) [jetty-io-7.5.4.v20111024.jar:7.5.4.v20111024] jvm 1 | at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:598) [jetty-util-7.5.4.v20111024.jar:7.5.4.v20111024] jvm 1 | at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:533) [jetty-util-7.5.4.v20111024.jar:7.5.4.v20111024] jvm 1 | at java.lang.Thread.run(Thread.java:680) [na:1.6.0_29] jvm 1 | ERROR [5b6ff421345874?] NexusApplication - Unhandled exception or error intercepted jvm 1 | java.lang.IllegalArgumentException: There must be at least one validator jvm 1 | at com.google.common.base.Preconditions.checkArgument(Preconditions.java:88) ~[guava-10.0.1.jar:na] jvm 1 | at org.sonatype.nexus.plugins.capabilities.internal.validator.ConjunctionValidator.<init>(ConjunctionValidator.java:45) ~[na:na] jvm 1 | at org.sonatype.nexus.plugins.capabilities.support.validator.LogicalValidators.and(LogicalValidators.java:47) ~[na:na] jvm 1 | at org.sonatype.nexus.plugins.capabilities.internal.validator.DescriptorConstraintsValidator.<init>(DescriptorConstraintsValidator.java:76) ~[na:na] jvm 1 | at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) ~[na:1.6.0_29] jvm 1 | at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39) ~[na:1.6.0_29] jvm 1 | at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27) ~[na:1.6.0_29] jvm 1 | at java.lang.reflect.Constructor.newInstance(Constructor.java:513) ~[na:1.6.0_29] jvm 1 | at com.google.inject.internal.DefaultConstructionProxyFactory$1.newInstance(DefaultConstructionProxyFactory.java:86) ~[sisu-guice-3.1.0-no_aop.jar:na] jvm 1 | at com.google.inject.internal.ConstructorInjector.provision(ConstructorInjector.java:108) ~[sisu-guice-3.1.0-no_aop.jar:na] jvm 1 | at com.google.inject.internal.ConstructorInjector.access$000(ConstructorInjector.java:32) ~[sisu-guice-3.1.0-no_aop.jar:na] jvm 1 | at com.google.inject.internal.ConstructorInjector$1.call(ConstructorInjector.java:91) ~[sisu-guice-3.1.0-no_aop.jar:na] jvm 1 | at com.google.inject.internal.ProvisionListenerStackCallback$Provision.provision(ProvisionListenerStackCallback.java:100) ~[sisu-guice-3.1.0-no_aop.jar:na] jvm 1 | at org.sonatype.guice.plexus.lifecycles.PlexusLifecycleManager.onProvision(PlexusLifecycleManager.java:138) ~[sisu-inject-plexus-2.3.0.jar:na] jvm 1 | at com.google.inject.internal.ProvisionListenerStackCallback$Provision.provision(ProvisionListenerStackCallback.java:108) ~[sisu-guice-3.1.0-no_aop.jar:na] jvm 1 | at com.google.inject.internal.ProvisionListenerStackCallback.provision(ProvisionListenerStackCallback.java:55) ~[sisu-guice-3.1.0-no_aop.jar:na] jvm 1 | at com.google.inject.internal.ConstructorInjector.construct(ConstructorInjector.java:89) ~[sisu-guice-3.1.0-no_aop.jar:na] jvm 1 | at com.google.inject.internal.ConstructorBindingImpl$Factory.get(ConstructorBindingImpl.java:259) ~[sisu-guice-3.1.0-no_aop.jar:na] jvm 1 | at com.google.inject.internal.InjectorImpl$3$1.call(InjectorImpl.java:965) ~[sisu-guice-3.1.0-no_aop.jar:na] jvm 1 | at com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1011) ~[sisu-guice-3.1.0-no_aop.jar:na] jvm 1 | at com.google.inject.internal.InjectorImpl$3.get(InjectorImpl.java:961) ~[sisu-guice-3.1.0-no_aop.jar:na] jvm 1 | at com.google.inject.assistedinject.FactoryProvider2.invoke(FactoryProvider2.java:632) ~[na:na] jvm 1 | at $Proxy42.constraintsOf(Unknown Source) ~[na:na] jvm 1 | at org.sonatype.nexus.plugins.capabilities.support.validator.CapabilityValidators.constraintsOf(CapabilityValidators.java:126) ~[na:na] jvm 1 | at org.sonatype.nexus.plugins.capabilities.internal.DefaultValidatorRegistry.get(DefaultValidatorRegistry.java:107) ~[na:na] jvm 1 | at org.sonatype.nexus.plugins.capabilities.internal.config.DefaultCapabilityConfiguration.update(DefaultCapabilityConfiguration.java:194) ~[na:na] jvm 1 | at org.sonatype.nexus.plugins.capabilities.internal.rest.CapabilityPlexusResource.put(CapabilityPlexusResource.java:152) ~[na:na] jvm 1 | at org.sonatype.plexus.rest.resource.RestletResource.storeRepresentation(RestletResource.java:327) ~[plexus-restlet-bridge-1.18-20111207.210255-15.jar:na] jvm 1 | at org.sonatype.nexus.rest.NexusRestletResource.storeRepresentation(NexusRestletResource.java:95) ~[nexus-rest-api-1.10.0-SNAPSHOT.jar:na] jvm 1 | at org.restlet.resource.Resource.put(Resource.java:706) ~[org.restlet-1.1.6-SONATYPE-5348-V4.jar:na] jvm 1 | at org.restlet.resource.Resource.handlePut(Resource.java:603) ~[org.restlet-1.1.6-SONATYPE-5348-V4.jar:na] jvm 1 | at org.restlet.Finder.handle(Finder.java:359) ~[org.restlet-1.1.6-SONATYPE-5348-V4.jar:na] jvm 1 | at org.restlet.Filter.doHandle(Filter.java:150) [org.restlet-1.1.6-SONATYPE-5348-V4.jar:na] jvm 1 | at org.restlet.Filter.handle(Filter.java:195) [org.restlet-1.1.6-SONATYPE-5348-V4.jar:na] jvm 1 | at org.restlet.Router.handle(Router.java:504) [org.restlet-1.1.6-SONATYPE-5348-V4.jar:na] jvm 1 | at org.restlet.Filter.doHandle(Filter.java:150) [org.restlet-1.1.6-SONATYPE-5348-V4.jar:na] jvm 1 | at org.restlet.Filter.handle(Filter.java:195) [org.restlet-1.1.6-SONATYPE-5348-V4.jar:na] jvm 1 | at org.restlet.Router.handle(Router.java:504) [org.restlet-1.1.6-SONATYPE-5348-V4.jar:na] jvm 1 | at org.restlet.Filter.doHandle(Filter.java:150) [org.restlet-1.1.6-SONATYPE-5348-V4.jar:na] jvm 1 | at org.restlet.Filter.handle(Filter.java:195) [org.restlet-1.1.6-SONATYPE-5348-V4.jar:na] jvm 1 | at org.restlet.Filter.doHandle(Filter.java:150) [org.restlet-1.1.6-SONATYPE-5348-V4.jar:na] jvm 1 | at org.sonatype.plexus.rest.RetargetableRestlet.doHandle(RetargetableRestlet.java:39) ~[plexus-restlet-bridge-1.18-20111207.210255-15.jar:na] jvm 1 | at org.restlet.Filter.handle(Filter.java:195) [org.restlet-1.1.6-SONATYPE-5348-V4.jar:na] jvm 1 | at org.restlet.Filter.doHandle(Filter.java:150) [org.restlet-1.1.6-SONATYPE-5348-V4.jar:na] jvm 1 | at org.restlet.Filter.handle(Filter.java:195) [org.restlet-1.1.6-SONATYPE-5348-V4.jar:na] jvm 1 | at org.restlet.Filter.doHandle(Filter.java:150) [org.restlet-1.1.6-SONATYPE-5348-V4.jar:na] jvm 1 | at org.restlet.Filter.handle(Filter.java:195) [org.restlet-1.1.6-SONATYPE-5348-V4.jar:na] jvm 1 | at org.restlet.Filter.doHandle(Filter.java:150) [org.restlet-1.1.6-SONATYPE-5348-V4.jar:na] jvm 1 | at com.noelios.restlet.StatusFilter.doHandle(StatusFilter.java:130) ~[com.noelios.restlet-1.1.6-SONATYPE-5348-V4.jar:na] jvm 1 | at org.restlet.Filter.handle(Filter.java:195) [org.restlet-1.1.6-SONATYPE-5348-V4.jar:na] jvm 1 | at org.restlet.Filter.doHandle(Filter.java:150) [org.restlet-1.1.6-SONATYPE-5348-V4.jar:na] jvm 1 | at org.restlet.Filter.handle(Filter.java:195) [org.restlet-1.1.6-SONATYPE-5348-V4.jar:na] jvm 1 | at com.noelios.restlet.ChainHelper.handle(ChainHelper.java:124) [com.noelios.restlet-1.1.6-SONATYPE-5348-V4.jar:na] jvm 1 | at com.noelios.restlet.application.ApplicationHelper.handle(ApplicationHelper.java:112) [com.noelios.restlet-1.1.6-SONATYPE-5348-V4.jar:na] jvm 1 | at org.restlet.Application.handle(Application.java:341) [org.restlet-1.1.6-SONATYPE-5348-V4.jar:na] jvm 1 | at org.restlet.Filter.doHandle(Filter.java:150) [org.restlet-1.1.6-SONATYPE-5348-V4.jar:na] jvm 1 | at org.restlet.Filter.handle(Filter.java:195) [org.restlet-1.1.6-SONATYPE-5348-V4.jar:na] jvm 1 | at org.restlet.Router.handle(Router.java:504) [org.restlet-1.1.6-SONATYPE-5348-V4.jar:na] jvm 1 | at org.restlet.Filter.doHandle(Filter.java:150) [org.restlet-1.1.6-SONATYPE-5348-V4.jar:na] jvm 1 | at org.restlet.Filter.handle(Filter.java:195) [org.restlet-1.1.6-SONATYPE-5348-V4.jar:na] jvm 1 | at org.restlet.Router.handle(Router.java:504) [org.restlet-1.1.6-SONATYPE-5348-V4.jar:na] jvm 1 | at org.restlet.Filter.doHandle(Filter.java:150) [org.restlet-1.1.6-SONATYPE-5348-V4.jar:na] jvm 1 | at org.restlet.Filter.handle(Filter.java:195) [org.restlet-1.1.6-SONATYPE-5348-V4.jar:na] jvm 1 | at com.noelios.restlet.ChainHelper.handle(ChainHelper.java:124) [com.noelios.restlet-1.1.6-SONATYPE-5348-V4.jar:na] jvm 1 | at org.restlet.Component.handle(Component.java:673) [org.restlet-1.1.6-SONATYPE-5348-V4.jar:na] jvm 1 | at org.restlet.Server.handle(Server.java:331) [org.restlet-1.1.6-SONATYPE-5348-V4.jar:na] jvm 1 | at com.noelios.restlet.ServerHelper.handle(ServerHelper.java:68) [com.noelios.restlet-1.1.6-SONATYPE-5348-V4.jar:na] jvm 1 | at com.noelios.restlet.http.HttpServerHelper.handle(HttpServerHelper.java:147) [com.noelios.restlet-1.1.6-SONATYPE-5348-V4.jar:na] jvm 1 | at com.noelios.restlet.ext.servlet.ServerServlet.service(ServerServlet.java:881) [com.noelios.restlet.ext.servlet-1.1.6-SONATYPE-5348-V4.jar:na] jvm 1 | at javax.servlet.http.HttpServlet.service(HttpServlet.java:820) [servlet-api-2.5.jar:2.5] jvm 1 | at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:547) [jetty-servlet-7.5.4.v20111024.jar:7.5.4.v20111024] jvm 1 | at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1359) [jetty-servlet-7.5.4.v20111024.jar:7.5.4.v20111024] jvm 1 | at org.apache.shiro.web.servlet.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:74) [shiro-web-1.1.0.jar:na] jvm 1 | at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1330) [jetty-servlet-7.5.4.v20111024.jar:7.5.4.v20111024] jvm 1 | at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:478) [jetty-servlet-7.5.4.v20111024.jar:7.5.4.v20111024] jvm 1 | at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:119) [jetty-server-7.5.4.v20111024.jar:7.5.4.v20111024] jvm 1 | at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:520) [jetty-security-7.5.4.v20111024.jar:7.5.4.v20111024] jvm 1 | at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:227) [jetty-server-7.5.4.v20111024.jar:7.5.4.v20111024] jvm 1 | at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:941) [jetty-server-7.5.4.v20111024.jar:7.5.4.v20111024] jvm 1 | at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:409) [jetty-servlet-7.5.4.v20111024.jar:7.5.4.v20111024] jvm 1 | at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:186) [jetty-server-7.5.4.v20111024.jar:7.5.4.v20111024] jvm 1 | at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:875) [jetty-server-7.5.4.v20111024.jar:7.5.4.v20111024] jvm 1 | at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:117) [jetty-server-7.5.4.v20111024.jar:7.5.4.v20111024] jvm 1 | at org.eclipse.jetty.server.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:250) [jetty-server-7.5.4.v20111024.jar:7.5.4.v20111024] jvm 1 | at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:110) [jetty-server-7.5.4.v20111024.jar:7.5.4.v20111024] jvm 1 | at org.eclipse.jetty.server.Server.handle(Server.java:345) [jetty-server-7.5.4.v20111024.jar:7.5.4.v20111024] jvm 1 | at org.eclipse.jetty.server.HttpConnection.handleRequest(HttpConnection.java:441) [jetty-server-7.5.4.v20111024.jar:7.5.4.v20111024] jvm 1 | at org.eclipse.jetty.server.HttpConnection$RequestHandler.content(HttpConnection.java:936) [jetty-server-7.5.4.v20111024.jar:7.5.4.v20111024] jvm 1 | at org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:801) [jetty-http-7.5.4.v20111024.jar:7.5.4.v20111024] jvm 1 | at org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:224) [jetty-http-7.5.4.v20111024.jar:7.5.4.v20111024] jvm 1 | at org.eclipse.jetty.server.AsyncHttpConnection.handle(AsyncHttpConnection.java:51) [jetty-server-7.5.4.v20111024.jar:7.5.4.v20111024] jvm 1 | at org.eclipse.jetty.io.nio.SelectChannelEndPoint.handle(SelectChannelEndPoint.java:586) [jetty-io-7.5.4.v20111024.jar:7.5.4.v20111024] jvm 1 | at org.eclipse.jetty.io.nio.SelectChannelEndPoint$1.run(SelectChannelEndPoint.java:44) [jetty-io-7.5.4.v20111024.jar:7.5.4.v20111024] jvm 1 | at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:598) [jetty-util-7.5.4.v20111024.jar:7.5.4.v20111024] jvm 1 | at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:533) [jetty-util-7.5.4.v20111024.jar:7.5.4.v20111024] jvm 1 | at java.lang.Thread.run(Thread.java:680) [na:1.6.0_29] {noformat}

    Sonatype JIRA | 5 years ago | Peter Lynch
    java.lang.IllegalArgumentException: There must be at least one validator
  6. 0

    Hi developers, I've a problem to trigger a parametrized job from commandline, if a parameter is a Node ... Setup: a fresh (Test) job: TESTJOBNAME enable: This build is parameterized add Node define the variable name: HOSTN select a/mutliple hosts goto "Build Triggers" enable Trigger builds remotely (e.g., from scripts) -> leave token blank goto "Build" add "Execute shell" fill the field: "pwd date hostname" click save goto into a shell: curl --silent -u USERNAME:PASSWORD --show-error --data 'json={"parameter":[{"name":"HOSTN","value":"YOURHOSTNAME"}]}&Submit=Build' 'http://YOURSERVER:8080/job/TESTJOBNAME/build' get the error: jenkinslaunch ERROR: The Hudson server's response was: jenkinslaunch ERROR: <html><head><title>Error 500</title></head><body bgcolor="#ffffff"><h1>Status Code: 500</h1>Exception: <br>Stacktrace: <pre>java.lang.IllegalArgumentException: Failed to instantiate class org.jvnet.jenkins.plugins.nodelabelparameter.NodeParameterValue from {"name":"HOSTN","value":"yourhostname"} jenkinslaunch ERROR: at org.kohsuke.stapler.RequestImpl$TypePair.convertJSON(RequestImpl.java:628) jenkinslaunch ERROR: at org.kohsuke.stapler.RequestImpl.bindJSON(RequestImpl.java:372) jenkinslaunch ERROR: at org.kohsuke.stapler.RequestImpl.bindJSON(RequestImpl.java:368) jenkinslaunch ERROR: at org.jvnet.jenkins.plugins.nodelabelparameter.NodeParameterDefinition.createValue(NodeParameterDefinition.java:145) jenkinslaunch ERROR: at hudson.model.ParametersDefinitionProperty._doBuild(ParametersDefinitionProperty.java:127) jenkinslaunch ERROR: at hudson.model.AbstractProject.doBuild(AbstractProject.java:1571) jenkinslaunch ERROR: at sun.reflect.GeneratedMethodAccessor518.invoke(Unknown Source) jenkinslaunch ERROR: at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) jenkinslaunch ERROR: at java.lang.reflect.Method.invoke(Method.java:597) jenkinslaunch ERROR: at org.kohsuke.stapler.Function$InstanceFunction.invoke(Function.java:282) jenkinslaunch ERROR: at org.kohsuke.stapler.Function.bindAndInvoke(Function.java:149) jenkinslaunch ERROR: at org.kohsuke.stapler.Function.bindAndInvokeAndServeResponse(Function.java:88) jenkinslaunch ERROR: at org.kohsuke.stapler.MetaClass$1.doDispatch(MetaClass.java:104) jenkinslaunch ERROR: at org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:53) jenkinslaunch ERROR: at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:561) jenkinslaunch ERROR: at org.kohsuke.stapler.Stapler.invoke(Stapler.java:646) jenkinslaunch ERROR: at org.kohsuke.stapler.MetaClass$6.doDispatch(MetaClass.java:234) jenkinslaunch ERROR: at org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:53) jenkinslaunch ERROR: at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:561) jenkinslaunch ERROR: at org.kohsuke.stapler.Stapler.invoke(Stapler.java:646) jenkinslaunch ERROR: at org.kohsuke.stapler.Stapler.invoke(Stapler.java:477) jenkinslaunch ERROR: at org.kohsuke.stapler.Stapler.service(Stapler.java:159) jenkinslaunch ERROR: at javax.servlet.http.HttpServlet.service(HttpServlet.java:45) jenkinslaunch ERROR: at winstone.ServletConfiguration.execute(ServletConfiguration.java:249) jenkinslaunch ERROR: at winstone.RequestDispatcher.forward(RequestDispatcher.java:335) jenkinslaunch ERROR: at winstone.RequestDispatcher.doFilter(RequestDispatcher.java:378) jenkinslaunch ERROR: at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:95) jenkinslaunch ERROR: at hudson.util.PluginServletFilter.doFilter(PluginServletFilter.java:87) jenkinslaunch ERROR: at winstone.FilterConfiguration.execute(FilterConfiguration.java:195) jenkinslaunch ERROR: at winstone.RequestDispatcher.doFilter(RequestDispatcher.java:368) jenkinslaunch ERROR: at hudson.security.csrf.CrumbFilter.doFilter(CrumbFilter.java:47) jenkinslaunch ERROR: at winstone.FilterConfiguration.execute(FilterConfiguration.java:195) jenkinslaunch ERROR: at winstone.RequestDispatcher.doFilter(RequestDispatcher.java:368) jenkinslaunch ERROR: at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:84) jenkinslaunch ERROR: at hudson.security.UnwrapSecurityExceptionFilter.doFilter(UnwrapSecurityExceptionFilter.java:51) jenkinslaunch ERROR: at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87) jenkinslaunch ERROR: at org.acegisecurity.ui.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:166) jenkinslaunch ERROR: at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87) jenkinslaunch ERROR: at org.acegisecurity.providers.anonymous.AnonymousProcessingFilter.doFilter(AnonymousProcessingFilter.java:125) jenkinslaunch ERROR: at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87) jenkinslaunch ERROR: at org.acegisecurity.ui.rememberme.RememberMeProcessingFilter.doFilter(RememberMeProcessingFilter.java:142) jenkinslaunch ERROR: at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87) jenkinslaunch ERROR: at org.acegisecurity.ui.AbstractProcessingFilter.doFilter(AbstractProcessingFilter.java:271) jenkinslaunch ERROR: at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87) jenkinslaunch ERROR: at org.acegisecurity.ui.basicauth.BasicProcessingFilter.doFilter(BasicProcessingFilter.java:173) jenkinslaunch ERROR: at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87) jenkinslaunch ERROR: at jenkins.security.ApiTokenFilter.doFilter(ApiTokenFilter.java:61) jenkinslaunch ERROR: at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87) jenkinslaunch ERROR: at org.acegisecurity.context.HttpSessionContextIntegrationFilter.doFilter(HttpSessionContextIntegrationFilter.java:249) jenkinslaunch ERROR: at hudson.security.HttpSessionContextIntegrationFilter2.doFilter(HttpSessionContextIntegrationFilter2.java:66) jenkinslaunch ERROR: at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87) jenkinslaunch ERROR: at hudson.security.ChainedServletFilter.doFilter(ChainedServletFilter.java:76) jenkinslaunch ERROR: at hudson.security.HudsonFilter.doFilter(HudsonFilter.java:164) jenkinslaunch ERROR: at winstone.FilterConfiguration.execute(FilterConfiguration.java:195) jenkinslaunch ERROR: at winstone.RequestDispatcher.doFilter(RequestDispatcher.java:368) jenkinslaunch ERROR: at hudson.util.CharacterEncodingFilter.doFilter(CharacterEncodingFilter.java:81) jenkinslaunch ERROR: at winstone.FilterConfiguration.execute(FilterConfiguration.java:195) jenkinslaunch ERROR: at winstone.RequestDispatcher.doFilter(RequestDispatcher.java:368) jenkinslaunch ERROR: at winstone.RequestDispatcher.forward(RequestDispatcher.java:333) jenkinslaunch ERROR: at winstone.RequestHandlerThread.processRequest(RequestHandlerThread.java:244) jenkinslaunch ERROR: at winstone.RequestHandlerThread.run(RequestHandlerThread.java:150) jenkinslaunch ERROR: at java.lang.Thread.run(Thread.java:662) jenkinslaunch ERROR: Caused by: java.lang.IllegalArgumentException: at least one label must be given! jenkinslaunch ERROR: at org.jvnet.jenkins.plugins.nodelabelparameter.NodeParameterValue.<init>(NodeParameterValue.java:47) jenkinslaunch ERROR: at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) jenkinslaunch ERROR: at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39) jenkinslaunch ERROR: at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27) jenkinslaunch ERROR: at java.lang.reflect.Constructor.newInstance(Constructor.java:513) jenkinslaunch ERROR: at org.kohsuke.stapler.RequestImpl.invokeConstructor(RequestImpl.java:419) jenkinslaunch ERROR: at org.kohsuke.stapler.RequestImpl.access$300(RequestImpl.java:75) jenkinslaunch ERROR: at org.kohsuke.stapler.RequestImpl$TypePair.convertJSON(RequestImpl.java:626) jenkinslaunch ERROR: ... 61 more jenkinslaunch ERROR: </pre><br><hr size="1" width="90%"><i>Generated by Winstone Servlet Engine v0.9.10 at Thu Sep 15 11:11:40 CEST 2011</i></body></html>jenkinslaunch ERROR: Failed to submit job: 2

    Jenkins JIRA | 5 years ago | Konrad Lorentz
    java.lang.IllegalArgumentException: Failed to instantiate class org.jvnet.jenkins.plugins.nodelabelparameter.NodeParameterValue from {"name":"HOSTN","value":"yourhostname"}

    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

      Usage: at least one module must be supplied

      at com.google.gwt.dev.codeserver.CodeServer.start()
    2. GWT dev
      CodeServer.main
      1. com.google.gwt.dev.codeserver.CodeServer.start(CodeServer.java:73)[ERROR]
      2. com.google.gwt.dev.codeserver.CodeServer.main(CodeServer.java:51)
      2 frames