java.lang.NoSuchMethodError: com.google.inject.Injector.getTypeConverterBindings()Ljava/util/List;

Jenkins JIRA | Bram P | 4 years ago
  1. 0

    Upgraded to 1.483-SNAPSHOT but, no succes: ERROR: Ignore Problem expanding maven opts macros org.jenkinsci.plugins.tokenmacro.TokenMacro Found mavenVersion 2.2.1 from file jar:file:/C:/Jenkins/tools/Maven/Maven/lib/maven-2.2.1-uber.jar!/META-INF/maven/org.apache.maven/maven-core/pom.properties Parsing POMs ERROR: Processing failed due to a bug in the code. Please report this to jenkinsci-users@googlegroups.com com.google.inject.CreationException: Guice creation errors: 1) Error injecting method, java.lang.NoSuchMethodError: com.google.inject.Injector.getTypeConverterBindings()Ljava/util/List; at org.sonatype.guice.plexus.converters.PlexusXmlBeanConverter.setTypeConverterBindings(PlexusXmlBeanConverter.java:101) at org.codehaus.plexus.DefaultPlexusContainer$SetupModule.configure(DefaultPlexusContainer.java:781) 1 error at com.google.inject.internal.Errors.throwCreationExceptionIfErrorsExist(Errors.java:437) at com.google.inject.internal.InternalInjectorCreator.injectDynamically(InternalInjectorCreator.java:176) at com.google.inject.internal.InternalInjectorCreator.build(InternalInjectorCreator.java:110) at com.google.inject.Guice.createInjector(Guice.java:94) at com.google.inject.Guice.createInjector(Guice.java:71) at com.google.inject.Guice.createInjector(Guice.java:61) at org.codehaus.plexus.DefaultPlexusContainer.addPlexusInjector(DefaultPlexusContainer.java:456) at org.codehaus.plexus.DefaultPlexusContainer.<init>(DefaultPlexusContainer.java:190) at org.codehaus.plexus.DefaultPlexusContainer.<init>(DefaultPlexusContainer.java:149) at hudson.maven.MavenEmbedderUtils.buildPlexusContainer(MavenEmbedderUtils.java:148) at hudson.maven.MavenEmbedderUtils.buildPlexusContainer(MavenEmbedderUtils.java:141) at hudson.maven.MavenEmbedder.<init>(MavenEmbedder.java:111) at hudson.maven.MavenEmbedder.<init>(MavenEmbedder.java:138) at hudson.maven.MavenUtil.createEmbedder(MavenUtil.java:208) at hudson.maven.MavenModuleSetBuild$PomParser.invoke(MavenModuleSetBuild.java:1258) at hudson.maven.MavenModuleSetBuild$PomParser.invoke(MavenModuleSetBuild.java:1097) at hudson.FilePath.act(FilePath.java:852) at hudson.FilePath.act(FilePath.java:825) at hudson.maven.MavenModuleSetBuild$RunnerImpl.parsePoms(MavenModuleSetBuild.java:804) at hudson.maven.MavenModuleSetBuild$RunnerImpl.doRun(MavenModuleSetBuild.java:604) at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:499) at hudson.model.Run.execute(Run.java:1502) at hudson.model.Run.run(Run.java:1448) at hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:454) at hudson.model.ResourceController.execute(ResourceController.java:88) at hudson.model.Executor.run(Executor.java:236) Caused by: java.lang.NoSuchMethodError: com.google.inject.Injector.getTypeConverterBindings()Ljava/util/List; at org.sonatype.guice.plexus.converters.PlexusXmlBeanConverter.setTypeConverterBindings(PlexusXmlBeanConverter.java:101) at org.sonatype.guice.plexus.converters.PlexusXmlBeanConverter$$FastClassByGuice$$fd6c46cc.invoke(<generated>) at com.google.inject.internal.cglib.reflect.$FastMethod.invoke(FastMethod.java:53) at com.google.inject.internal.SingleMethodInjector$1.invoke(SingleMethodInjector.java:57) at com.google.inject.internal.SingleMethodInjector.inject(SingleMethodInjector.java:91) at com.google.inject.internal.MembersInjectorImpl.injectMembers(MembersInjectorImpl.java:118) at com.google.inject.internal.MembersInjectorImpl$1.call(MembersInjectorImpl.java:80) at com.google.inject.internal.MembersInjectorImpl$1.call(MembersInjectorImpl.java:76) at com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1011) at com.google.inject.internal.MembersInjectorImpl.injectAndNotify(MembersInjectorImpl.java:76) at com.google.inject.internal.Initializer$InjectableReference.get(Initializer.java:153) at com.google.inject.internal.Initializer.injectAll(Initializer.java:96) at com.google.inject.internal.InternalInjectorCreator.injectDynamically(InternalInjectorCreator.java:174) ... 24 more project=hudson.maven.MavenModuleSet@1768043[archive-invoice-db] project.getModules()=[hudson.maven.MavenModule@e6efa2[archive-invoice-db/nl.isprojects.archive:archive-invoice-db][archive-invoice-db/nl.isprojects.archive:archive-invoice-db][relativePath:]] project.getRootModule()=hudson.maven.MavenModule@e6efa2[archive-invoice-db/nl.isprojects.archive:archive-invoice-db][archive-invoice-db/nl.isprojects.archive:archive-invoice-db][relativePath:] FATAL: Guice creation errors: 1) Error injecting method, java.lang.NoSuchMethodError: com.google.inject.Injector.getTypeConverterBindings()Ljava/util/List; at org.sonatype.guice.plexus.converters.PlexusXmlBeanConverter.setTypeConverterBindings(PlexusXmlBeanConverter.java:101) at org.codehaus.plexus.DefaultPlexusContainer$SetupModule.configure(DefaultPlexusContainer.java:781) 1 error com.google.inject.CreationException: Guice creation errors: 1) Error injecting method, java.lang.NoSuchMethodError: com.google.inject.Injector.getTypeConverterBindings()Ljava/util/List; at org.sonatype.guice.plexus.converters.PlexusXmlBeanConverter.setTypeConverterBindings(PlexusXmlBeanConverter.java:101) at org.codehaus.plexus.DefaultPlexusContainer$SetupModule.configure(DefaultPlexusContainer.java:781) 1 error at com.google.inject.internal.Errors.throwCreationExceptionIfErrorsExist(Errors.java:437) at com.google.inject.internal.InternalInjectorCreator.injectDynamically(InternalInjectorCreator.java:176) at com.google.inject.internal.InternalInjectorCreator.build(InternalInjectorCreator.java:110) at com.google.inject.Guice.createInjector(Guice.java:94) at com.google.inject.Guice.createInjector(Guice.java:71) at com.google.inject.Guice.createInjector(Guice.java:61) at org.codehaus.plexus.DefaultPlexusContainer.addPlexusInjector(DefaultPlexusContainer.java:456) at org.codehaus.plexus.DefaultPlexusContainer.<init>(DefaultPlexusContainer.java:190) at org.codehaus.plexus.DefaultPlexusContainer.<init>(DefaultPlexusContainer.java:149) at hudson.maven.MavenEmbedderUtils.buildPlexusContainer(MavenEmbedderUtils.java:148) at hudson.maven.MavenEmbedderUtils.buildPlexusContainer(MavenEmbedderUtils.java:141) at hudson.maven.MavenEmbedder.<init>(MavenEmbedder.java:111) at hudson.maven.MavenEmbedder.<init>(MavenEmbedder.java:138) at hudson.maven.MavenUtil.createEmbedder(MavenUtil.java:208) at hudson.maven.MavenModuleSetBuild$PomParser.invoke(MavenModuleSetBuild.java:1258) at hudson.maven.MavenModuleSetBuild$PomParser.invoke(MavenModuleSetBuild.java:1097) at hudson.FilePath.act(FilePath.java:852) at hudson.FilePath.act(FilePath.java:825) at hudson.maven.MavenModuleSetBuild$RunnerImpl.parsePoms(MavenModuleSetBuild.java:804) at hudson.maven.MavenModuleSetBuild$RunnerImpl.doRun(MavenModuleSetBuild.java:604) at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:499) at hudson.model.Run.execute(Run.java:1502) at hudson.model.Run.run(Run.java:1448) at hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:454) at hudson.model.ResourceController.execute(ResourceController.java:88) at hudson.model.Executor.run(Executor.java:236) Caused by: java.lang.NoSuchMethodError: com.google.inject.Injector.getTypeConverterBindings()Ljava/util/List; at org.sonatype.guice.plexus.converters.PlexusXmlBeanConverter.setTypeConverterBindings(PlexusXmlBeanConverter.java:101) at org.sonatype.guice.plexus.converters.PlexusXmlBeanConverter$$FastClassByGuice$$fd6c46cc.invoke(<generated>) at com.google.inject.internal.cglib.reflect.$FastMethod.invoke(FastMethod.java:53) at com.google.inject.internal.SingleMethodInjector$1.invoke(SingleMethodInjector.java:57) at com.google.inject.internal.SingleMethodInjector.inject(SingleMethodInjector.java:91) at com.google.inject.internal.MembersInjectorImpl.injectMembers(MembersInjectorImpl.java:118) at com.google.inject.internal.MembersInjectorImpl$1.call(MembersInjectorImpl.java:80) at com.google.inject.internal.MembersInjectorImpl$1.call(MembersInjectorImpl.java:76) at com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1011) at com.google.inject.internal.MembersInjectorImpl.injectAndNotify(MembersInjectorImpl.java:76) at com.google.inject.internal.Initializer$InjectableReference.get(Initializer.java:153) at com.google.inject.internal.Initializer.injectAll(Initializer.java:96) at com.google.inject.internal.InternalInjectorCreator.injectDynamically(InternalInjectorCreator.java:174) ... 24 more

    Jenkins JIRA | 4 years ago | Bram P
    java.lang.NoSuchMethodError: com.google.inject.Injector.getTypeConverterBindings()Ljava/util/List;
  2. 0

    Upgraded to 1.483-SNAPSHOT but, no succes: ERROR: Ignore Problem expanding maven opts macros org.jenkinsci.plugins.tokenmacro.TokenMacro Found mavenVersion 2.2.1 from file jar:file:/C:/Jenkins/tools/Maven/Maven/lib/maven-2.2.1-uber.jar!/META-INF/maven/org.apache.maven/maven-core/pom.properties Parsing POMs ERROR: Processing failed due to a bug in the code. Please report this to jenkinsci-users@googlegroups.com com.google.inject.CreationException: Guice creation errors: 1) Error injecting method, java.lang.NoSuchMethodError: com.google.inject.Injector.getTypeConverterBindings()Ljava/util/List; at org.sonatype.guice.plexus.converters.PlexusXmlBeanConverter.setTypeConverterBindings(PlexusXmlBeanConverter.java:101) at org.codehaus.plexus.DefaultPlexusContainer$SetupModule.configure(DefaultPlexusContainer.java:781) 1 error at com.google.inject.internal.Errors.throwCreationExceptionIfErrorsExist(Errors.java:437) at com.google.inject.internal.InternalInjectorCreator.injectDynamically(InternalInjectorCreator.java:176) at com.google.inject.internal.InternalInjectorCreator.build(InternalInjectorCreator.java:110) at com.google.inject.Guice.createInjector(Guice.java:94) at com.google.inject.Guice.createInjector(Guice.java:71) at com.google.inject.Guice.createInjector(Guice.java:61) at org.codehaus.plexus.DefaultPlexusContainer.addPlexusInjector(DefaultPlexusContainer.java:456) at org.codehaus.plexus.DefaultPlexusContainer.<init>(DefaultPlexusContainer.java:190) at org.codehaus.plexus.DefaultPlexusContainer.<init>(DefaultPlexusContainer.java:149) at hudson.maven.MavenEmbedderUtils.buildPlexusContainer(MavenEmbedderUtils.java:148) at hudson.maven.MavenEmbedderUtils.buildPlexusContainer(MavenEmbedderUtils.java:141) at hudson.maven.MavenEmbedder.<init>(MavenEmbedder.java:111) at hudson.maven.MavenEmbedder.<init>(MavenEmbedder.java:138) at hudson.maven.MavenUtil.createEmbedder(MavenUtil.java:208) at hudson.maven.MavenModuleSetBuild$PomParser.invoke(MavenModuleSetBuild.java:1258) at hudson.maven.MavenModuleSetBuild$PomParser.invoke(MavenModuleSetBuild.java:1097) at hudson.FilePath.act(FilePath.java:852) at hudson.FilePath.act(FilePath.java:825) at hudson.maven.MavenModuleSetBuild$RunnerImpl.parsePoms(MavenModuleSetBuild.java:804) at hudson.maven.MavenModuleSetBuild$RunnerImpl.doRun(MavenModuleSetBuild.java:604) at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:499) at hudson.model.Run.execute(Run.java:1502) at hudson.model.Run.run(Run.java:1448) at hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:454) at hudson.model.ResourceController.execute(ResourceController.java:88) at hudson.model.Executor.run(Executor.java:236) Caused by: java.lang.NoSuchMethodError: com.google.inject.Injector.getTypeConverterBindings()Ljava/util/List; at org.sonatype.guice.plexus.converters.PlexusXmlBeanConverter.setTypeConverterBindings(PlexusXmlBeanConverter.java:101) at org.sonatype.guice.plexus.converters.PlexusXmlBeanConverter$$FastClassByGuice$$fd6c46cc.invoke(<generated>) at com.google.inject.internal.cglib.reflect.$FastMethod.invoke(FastMethod.java:53) at com.google.inject.internal.SingleMethodInjector$1.invoke(SingleMethodInjector.java:57) at com.google.inject.internal.SingleMethodInjector.inject(SingleMethodInjector.java:91) at com.google.inject.internal.MembersInjectorImpl.injectMembers(MembersInjectorImpl.java:118) at com.google.inject.internal.MembersInjectorImpl$1.call(MembersInjectorImpl.java:80) at com.google.inject.internal.MembersInjectorImpl$1.call(MembersInjectorImpl.java:76) at com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1011) at com.google.inject.internal.MembersInjectorImpl.injectAndNotify(MembersInjectorImpl.java:76) at com.google.inject.internal.Initializer$InjectableReference.get(Initializer.java:153) at com.google.inject.internal.Initializer.injectAll(Initializer.java:96) at com.google.inject.internal.InternalInjectorCreator.injectDynamically(InternalInjectorCreator.java:174) ... 24 more project=hudson.maven.MavenModuleSet@1768043[archive-invoice-db] project.getModules()=[hudson.maven.MavenModule@e6efa2[archive-invoice-db/nl.isprojects.archive:archive-invoice-db][archive-invoice-db/nl.isprojects.archive:archive-invoice-db][relativePath:]] project.getRootModule()=hudson.maven.MavenModule@e6efa2[archive-invoice-db/nl.isprojects.archive:archive-invoice-db][archive-invoice-db/nl.isprojects.archive:archive-invoice-db][relativePath:] FATAL: Guice creation errors: 1) Error injecting method, java.lang.NoSuchMethodError: com.google.inject.Injector.getTypeConverterBindings()Ljava/util/List; at org.sonatype.guice.plexus.converters.PlexusXmlBeanConverter.setTypeConverterBindings(PlexusXmlBeanConverter.java:101) at org.codehaus.plexus.DefaultPlexusContainer$SetupModule.configure(DefaultPlexusContainer.java:781) 1 error com.google.inject.CreationException: Guice creation errors: 1) Error injecting method, java.lang.NoSuchMethodError: com.google.inject.Injector.getTypeConverterBindings()Ljava/util/List; at org.sonatype.guice.plexus.converters.PlexusXmlBeanConverter.setTypeConverterBindings(PlexusXmlBeanConverter.java:101) at org.codehaus.plexus.DefaultPlexusContainer$SetupModule.configure(DefaultPlexusContainer.java:781) 1 error at com.google.inject.internal.Errors.throwCreationExceptionIfErrorsExist(Errors.java:437) at com.google.inject.internal.InternalInjectorCreator.injectDynamically(InternalInjectorCreator.java:176) at com.google.inject.internal.InternalInjectorCreator.build(InternalInjectorCreator.java:110) at com.google.inject.Guice.createInjector(Guice.java:94) at com.google.inject.Guice.createInjector(Guice.java:71) at com.google.inject.Guice.createInjector(Guice.java:61) at org.codehaus.plexus.DefaultPlexusContainer.addPlexusInjector(DefaultPlexusContainer.java:456) at org.codehaus.plexus.DefaultPlexusContainer.<init>(DefaultPlexusContainer.java:190) at org.codehaus.plexus.DefaultPlexusContainer.<init>(DefaultPlexusContainer.java:149) at hudson.maven.MavenEmbedderUtils.buildPlexusContainer(MavenEmbedderUtils.java:148) at hudson.maven.MavenEmbedderUtils.buildPlexusContainer(MavenEmbedderUtils.java:141) at hudson.maven.MavenEmbedder.<init>(MavenEmbedder.java:111) at hudson.maven.MavenEmbedder.<init>(MavenEmbedder.java:138) at hudson.maven.MavenUtil.createEmbedder(MavenUtil.java:208) at hudson.maven.MavenModuleSetBuild$PomParser.invoke(MavenModuleSetBuild.java:1258) at hudson.maven.MavenModuleSetBuild$PomParser.invoke(MavenModuleSetBuild.java:1097) at hudson.FilePath.act(FilePath.java:852) at hudson.FilePath.act(FilePath.java:825) at hudson.maven.MavenModuleSetBuild$RunnerImpl.parsePoms(MavenModuleSetBuild.java:804) at hudson.maven.MavenModuleSetBuild$RunnerImpl.doRun(MavenModuleSetBuild.java:604) at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:499) at hudson.model.Run.execute(Run.java:1502) at hudson.model.Run.run(Run.java:1448) at hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:454) at hudson.model.ResourceController.execute(ResourceController.java:88) at hudson.model.Executor.run(Executor.java:236) Caused by: java.lang.NoSuchMethodError: com.google.inject.Injector.getTypeConverterBindings()Ljava/util/List; at org.sonatype.guice.plexus.converters.PlexusXmlBeanConverter.setTypeConverterBindings(PlexusXmlBeanConverter.java:101) at org.sonatype.guice.plexus.converters.PlexusXmlBeanConverter$$FastClassByGuice$$fd6c46cc.invoke(<generated>) at com.google.inject.internal.cglib.reflect.$FastMethod.invoke(FastMethod.java:53) at com.google.inject.internal.SingleMethodInjector$1.invoke(SingleMethodInjector.java:57) at com.google.inject.internal.SingleMethodInjector.inject(SingleMethodInjector.java:91) at com.google.inject.internal.MembersInjectorImpl.injectMembers(MembersInjectorImpl.java:118) at com.google.inject.internal.MembersInjectorImpl$1.call(MembersInjectorImpl.java:80) at com.google.inject.internal.MembersInjectorImpl$1.call(MembersInjectorImpl.java:76) at com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1011) at com.google.inject.internal.MembersInjectorImpl.injectAndNotify(MembersInjectorImpl.java:76) at com.google.inject.internal.Initializer$InjectableReference.get(Initializer.java:153) at com.google.inject.internal.Initializer.injectAll(Initializer.java:96) at com.google.inject.internal.InternalInjectorCreator.injectDynamically(InternalInjectorCreator.java:174) ... 24 more

    Jenkins JIRA | 4 years ago | Bram P
    java.lang.NoSuchMethodError: com.google.inject.Injector.getTypeConverterBindings()Ljava/util/List;
  3. 0

    GitHub comment 6290#222516503

    GitHub | 6 months ago | tombentley
    java.lang.NoSuchMethodError: org.codehaus.groovy.runtime.DefaultGroovyMethods.flatten(Ljava/util/List;)Ljava/util/List;
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    NoSuchMethodError on ContainerUtil.notNullize in PHPStorm 7.1.5

    GitHub | 6 months ago | mikmanic
    java.lang.NoSuchMethodError: com.intellij.util.containers.ContainerUtil.notNullize(Ljava/util/List;)Ljava/util/List;
  6. 0

    Getting started, java.lang.NoClassDefFoundError: com/google/common/util/concurrent/SettableFuture

    Google Groups | 3 years ago | Richard Gorowsky
    java.lang.NoSuchMethodError: com.google.common.collect.Lists.reverse(Ljava/util/List;)Ljava/util/List;

    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.NoSuchMethodError

      com.google.inject.Injector.getTypeConverterBindings()Ljava/util/List;

      at org.sonatype.guice.plexus.converters.PlexusXmlBeanConverter.setTypeConverterBindings()
    2. org.sonatype.guice
      PlexusXmlBeanConverter.setTypeConverterBindings
      1. org.sonatype.guice.plexus.converters.PlexusXmlBeanConverter.setTypeConverterBindings(PlexusXmlBeanConverter.java:101)
      1 frame
    3. Plexus
      DefaultPlexusContainer$SetupModule.configure
      1. org.codehaus.plexus.DefaultPlexusContainer$SetupModule.configure(DefaultPlexusContainer.java:781)
      1 frame