java.lang.IllegalArgumentException: URI is not hierarchical at org.jenkinsci.test.acceptance.FallbackConfig.createController(Unknown Source) (via modules: org.jenkinsci.test.acceptance.guice.World -> com.google.inject.util.Modules$OverrideModule -> com.google.inject.util.Modules$OverrideModule -> org.jenkinsci.test.acceptance.FallbackConfig) at org.jenkinsci.test.acceptance.FallbackConfig.createController(Unknown Source) (via modules: org.jenkinsci.test.acceptance.guice.World -> com.google.inject.util.Modules$OverrideModule -> com.google.inject.util.Modules$OverrideModule -> org.jenkinsci.test.acceptance.FallbackConfig) while locating org.jenkinsci.test.acceptance.controller.JenkinsController for parameter 1 at org.jenkinsci.test.acceptance.po.Jenkins.<init>(Unknown Source)

Jenkins JIRA | Jesse Glick | 3 years ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Ubuntu 14.04 x64. {{TYPE=winstone_docker JENKINS_WAR=.../jenkins.war BROWSER=htmlunit mvn test}} fails with: {code:none} com.google.inject.ProvisionException: Guice provision errors: 1) Error in custom provider, java.lang.IllegalArgumentException: URI is not hierarchical at org.jenkinsci.test.acceptance.FallbackConfig.createController(Unknown Source) (via modules: org.jenkinsci.test.acceptance.guice.World -> com.google.inject.util.Modules$OverrideModule -> com.google.inject.util.Modules$OverrideModule -> org.jenkinsci.test.acceptance.FallbackConfig) at org.jenkinsci.test.acceptance.FallbackConfig.createController(Unknown Source) (via modules: org.jenkinsci.test.acceptance.guice.World -> com.google.inject.util.Modules$OverrideModule -> com.google.inject.util.Modules$OverrideModule -> org.jenkinsci.test.acceptance.FallbackConfig) while locating org.jenkinsci.test.acceptance.controller.JenkinsController for parameter 1 at org.jenkinsci.test.acceptance.po.Jenkins.<init>(Unknown Source) at org.jenkinsci.test.acceptance.po.Jenkins.class(Unknown Source) while locating org.jenkinsci.test.acceptance.po.Jenkins for field at org.jenkinsci.test.acceptance.junit.AbstractJUnitTest.jenkins(Unknown Source) while locating com.cloudbees.jenkins.test.acceptance.BackupPluginTest 1 error at com.google.inject.internal.Errors.throwProvisionExceptionIfErrorsExist(Errors.java:465) at com.google.inject.internal.MembersInjectorImpl.injectMembers(MembersInjectorImpl.java:67) at com.google.inject.internal.InjectorImpl.injectMembers(InjectorImpl.java:968) at org.jenkinsci.test.acceptance.junit.JenkinsAcceptanceTestRule$1.evaluate(JenkinsAcceptanceTestRule.java:46) at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50) at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236) at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229) at org.junit.runners.ParentRunner.run(ParentRunner.java:309) at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:252) at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:141) at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:112) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:189) at org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:165) at org.apache.maven.surefire.booter.ProviderFactory.invokeProvider(ProviderFactory.java:85) at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:115) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:75) Caused by: java.lang.IllegalArgumentException: URI is not hierarchical at java.io.File.<init>(File.java:418) at org.jenkinsci.test.acceptance.docker.Docker.build(Docker.java:108) at org.jenkinsci.test.acceptance.docker.Docker.build(Docker.java:93) at org.jenkinsci.test.acceptance.controller.WinstoneDockerController.startProcess(WinstoneDockerController.java:62) at org.jenkinsci.test.acceptance.controller.LocalController.bringItUp(LocalController.java:312) at org.jenkinsci.test.acceptance.controller.LocalController.startNow(LocalController.java:235) at org.jenkinsci.test.acceptance.controller.JenkinsController.start(JenkinsController.java:74) at org.jenkinsci.test.acceptance.FallbackConfig.createController(FallbackConfig.java:151) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at com.google.inject.internal.ProviderMethod.get(ProviderMethod.java:115) at com.google.inject.internal.ProviderInternalFactory.provision(ProviderInternalFactory.java:86) at com.google.inject.internal.InternalFactoryToInitializableAdapter.provision(InternalFactoryToInitializableAdapter.java:54) at com.google.inject.internal.ProviderInternalFactory.circularGet(ProviderInternalFactory.java:66) at com.google.inject.internal.InternalFactoryToInitializableAdapter.get(InternalFactoryToInitializableAdapter.java:46) at com.google.inject.internal.ProviderToInternalFactoryAdapter$1.call(ProviderToInternalFactoryAdapter.java:46) at com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1057) at com.google.inject.internal.ProviderToInternalFactoryAdapter.get(ProviderToInternalFactoryAdapter.java:40) at org.jenkinsci.test.acceptance.guice.TestLifecycle$1.get(TestLifecycle.java:50) at com.google.inject.internal.InternalFactoryToProviderAdapter.get(InternalFactoryToProviderAdapter.java:41) at com.google.inject.internal.SingleParameterInjector.inject(SingleParameterInjector.java:38) at com.google.inject.internal.SingleParameterInjector.getAll(SingleParameterInjector.java:62) at com.google.inject.internal.ConstructorInjector.provision(ConstructorInjector.java:107) at com.google.inject.internal.ConstructorInjector.construct(ConstructorInjector.java:88) at com.google.inject.internal.ConstructorBindingImpl$Factory.get(ConstructorBindingImpl.java:279) at com.google.inject.internal.ProviderToInternalFactoryAdapter$1.call(ProviderToInternalFactoryAdapter.java:46) at com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1057) at com.google.inject.internal.ProviderToInternalFactoryAdapter.get(ProviderToInternalFactoryAdapter.java:40) at org.jenkinsci.test.acceptance.guice.TestLifecycle$1.get(TestLifecycle.java:50) at com.google.inject.internal.InternalFactoryToProviderAdapter.get(InternalFactoryToProviderAdapter.java:41) at com.google.inject.internal.SingleFieldInjector.inject(SingleFieldInjector.java:54) at com.google.inject.internal.MembersInjectorImpl.injectMembers(MembersInjectorImpl.java:132) at com.google.inject.internal.MembersInjectorImpl$1.call(MembersInjectorImpl.java:93) at com.google.inject.internal.MembersInjectorImpl$1.call(MembersInjectorImpl.java:80) at com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1050) at com.google.inject.internal.MembersInjectorImpl.injectAndNotify(MembersInjectorImpl.java:80) at com.google.inject.internal.MembersInjectorImpl.injectMembers(MembersInjectorImpl.java:62) ... 23 more {code} If I omit {{TYPE}} then this aspect of the test works at least.

    Jenkins JIRA | 3 years ago | Jesse Glick
    java.lang.IllegalArgumentException: URI is not hierarchical at org.jenkinsci.test.acceptance.FallbackConfig.createController(Unknown Source) (via modules: org.jenkinsci.test.acceptance.guice.World -> com.google.inject.util.Modules$OverrideModule -> com.google.inject.util.Modules$OverrideModule -> org.jenkinsci.test.acceptance.FallbackConfig) at org.jenkinsci.test.acceptance.FallbackConfig.createController(Unknown Source) (via modules: org.jenkinsci.test.acceptance.guice.World -> com.google.inject.util.Modules$OverrideModule -> com.google.inject.util.Modules$OverrideModule -> org.jenkinsci.test.acceptance.FallbackConfig) while locating org.jenkinsci.test.acceptance.controller.JenkinsController for parameter 1 at org.jenkinsci.test.acceptance.po.Jenkins.<init>(Unknown Source)
  2. 0

    Ubuntu 14.04 x64. {{TYPE=winstone_docker JENKINS_WAR=.../jenkins.war BROWSER=htmlunit mvn test}} fails with: {code:none} com.google.inject.ProvisionException: Guice provision errors: 1) Error in custom provider, java.lang.IllegalArgumentException: URI is not hierarchical at org.jenkinsci.test.acceptance.FallbackConfig.createController(Unknown Source) (via modules: org.jenkinsci.test.acceptance.guice.World -> com.google.inject.util.Modules$OverrideModule -> com.google.inject.util.Modules$OverrideModule -> org.jenkinsci.test.acceptance.FallbackConfig) at org.jenkinsci.test.acceptance.FallbackConfig.createController(Unknown Source) (via modules: org.jenkinsci.test.acceptance.guice.World -> com.google.inject.util.Modules$OverrideModule -> com.google.inject.util.Modules$OverrideModule -> org.jenkinsci.test.acceptance.FallbackConfig) while locating org.jenkinsci.test.acceptance.controller.JenkinsController for parameter 1 at org.jenkinsci.test.acceptance.po.Jenkins.<init>(Unknown Source) at org.jenkinsci.test.acceptance.po.Jenkins.class(Unknown Source) while locating org.jenkinsci.test.acceptance.po.Jenkins for field at org.jenkinsci.test.acceptance.junit.AbstractJUnitTest.jenkins(Unknown Source) while locating com.cloudbees.jenkins.test.acceptance.BackupPluginTest 1 error at com.google.inject.internal.Errors.throwProvisionExceptionIfErrorsExist(Errors.java:465) at com.google.inject.internal.MembersInjectorImpl.injectMembers(MembersInjectorImpl.java:67) at com.google.inject.internal.InjectorImpl.injectMembers(InjectorImpl.java:968) at org.jenkinsci.test.acceptance.junit.JenkinsAcceptanceTestRule$1.evaluate(JenkinsAcceptanceTestRule.java:46) at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50) at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236) at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229) at org.junit.runners.ParentRunner.run(ParentRunner.java:309) at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:252) at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:141) at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:112) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:189) at org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:165) at org.apache.maven.surefire.booter.ProviderFactory.invokeProvider(ProviderFactory.java:85) at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:115) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:75) Caused by: java.lang.IllegalArgumentException: URI is not hierarchical at java.io.File.<init>(File.java:418) at org.jenkinsci.test.acceptance.docker.Docker.build(Docker.java:108) at org.jenkinsci.test.acceptance.docker.Docker.build(Docker.java:93) at org.jenkinsci.test.acceptance.controller.WinstoneDockerController.startProcess(WinstoneDockerController.java:62) at org.jenkinsci.test.acceptance.controller.LocalController.bringItUp(LocalController.java:312) at org.jenkinsci.test.acceptance.controller.LocalController.startNow(LocalController.java:235) at org.jenkinsci.test.acceptance.controller.JenkinsController.start(JenkinsController.java:74) at org.jenkinsci.test.acceptance.FallbackConfig.createController(FallbackConfig.java:151) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at com.google.inject.internal.ProviderMethod.get(ProviderMethod.java:115) at com.google.inject.internal.ProviderInternalFactory.provision(ProviderInternalFactory.java:86) at com.google.inject.internal.InternalFactoryToInitializableAdapter.provision(InternalFactoryToInitializableAdapter.java:54) at com.google.inject.internal.ProviderInternalFactory.circularGet(ProviderInternalFactory.java:66) at com.google.inject.internal.InternalFactoryToInitializableAdapter.get(InternalFactoryToInitializableAdapter.java:46) at com.google.inject.internal.ProviderToInternalFactoryAdapter$1.call(ProviderToInternalFactoryAdapter.java:46) at com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1057) at com.google.inject.internal.ProviderToInternalFactoryAdapter.get(ProviderToInternalFactoryAdapter.java:40) at org.jenkinsci.test.acceptance.guice.TestLifecycle$1.get(TestLifecycle.java:50) at com.google.inject.internal.InternalFactoryToProviderAdapter.get(InternalFactoryToProviderAdapter.java:41) at com.google.inject.internal.SingleParameterInjector.inject(SingleParameterInjector.java:38) at com.google.inject.internal.SingleParameterInjector.getAll(SingleParameterInjector.java:62) at com.google.inject.internal.ConstructorInjector.provision(ConstructorInjector.java:107) at com.google.inject.internal.ConstructorInjector.construct(ConstructorInjector.java:88) at com.google.inject.internal.ConstructorBindingImpl$Factory.get(ConstructorBindingImpl.java:279) at com.google.inject.internal.ProviderToInternalFactoryAdapter$1.call(ProviderToInternalFactoryAdapter.java:46) at com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1057) at com.google.inject.internal.ProviderToInternalFactoryAdapter.get(ProviderToInternalFactoryAdapter.java:40) at org.jenkinsci.test.acceptance.guice.TestLifecycle$1.get(TestLifecycle.java:50) at com.google.inject.internal.InternalFactoryToProviderAdapter.get(InternalFactoryToProviderAdapter.java:41) at com.google.inject.internal.SingleFieldInjector.inject(SingleFieldInjector.java:54) at com.google.inject.internal.MembersInjectorImpl.injectMembers(MembersInjectorImpl.java:132) at com.google.inject.internal.MembersInjectorImpl$1.call(MembersInjectorImpl.java:93) at com.google.inject.internal.MembersInjectorImpl$1.call(MembersInjectorImpl.java:80) at com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1050) at com.google.inject.internal.MembersInjectorImpl.injectAndNotify(MembersInjectorImpl.java:80) at com.google.inject.internal.MembersInjectorImpl.injectMembers(MembersInjectorImpl.java:62) ... 23 more {code} If I omit {{TYPE}} then this aspect of the test works at least.

    Jenkins JIRA | 3 years ago | Jesse Glick
    java.lang.IllegalArgumentException: URI is not hierarchical at org.jenkinsci.test.acceptance.FallbackConfig.createController(Unknown Source) (via modules: org.jenkinsci.test.acceptance.guice.World -> com.google.inject.util.Modules$OverrideModule -> com.google.inject.util.Modules$OverrideModule -> org.jenkinsci.test.acceptance.FallbackConfig) at org.jenkinsci.test.acceptance.FallbackConfig.createController(Unknown Source) (via modules: org.jenkinsci.test.acceptance.guice.World -> com.google.inject.util.Modules$OverrideModule -> com.google.inject.util.Modules$OverrideModule -> org.jenkinsci.test.acceptance.FallbackConfig) while locating org.jenkinsci.test.acceptance.controller.JenkinsController for parameter 1 at org.jenkinsci.test.acceptance.po.Jenkins.<init>(Unknown Source)

    Root Cause Analysis

    1. java.lang.IllegalArgumentException

      URI is not hierarchical at org.jenkinsci.test.acceptance.FallbackConfig.createController(Unknown Source) (via modules: org.jenkinsci.test.acceptance.guice.World -> com.google.inject.util.Modules$OverrideModule -> com.google.inject.util.Modules$OverrideModule -> org.jenkinsci.test.acceptance.FallbackConfig) at org.jenkinsci.test.acceptance.FallbackConfig.createController(Unknown Source) (via modules: org.jenkinsci.test.acceptance.guice.World -> com.google.inject.util.Modules$OverrideModule -> com.google.inject.util.Modules$OverrideModule -> org.jenkinsci.test.acceptance.FallbackConfig) while locating org.jenkinsci.test.acceptance.controller.JenkinsController for parameter 1 at org.jenkinsci.test.acceptance.po.Jenkins.<init>(Unknown Source)

      at org.jenkinsci.test.acceptance.po.Jenkins.class()
    2. org.jenkinsci.test
      Jenkins.class
      1. org.jenkinsci.test.acceptance.po.Jenkins.class(Unknown Source)
      1 frame