java.lang.ClassCastException: org.codehaus.plexus.component.configurator.BasicComponentConfigurator cannot be cast to org.codehaus.plexus.component.configurator.ComponentConfigurator

jenkins-ci.org | 6 months ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    [JENKINS-11020] Jenkins maven jobs cannot compile with tycho-compiler-jdt compiler >= 0.11 - Jenkins JIRA

    jenkins-ci.org | 6 months ago
    java.lang.ClassCastException: org.codehaus.plexus.component.configurator.BasicComponentConfigurator cannot be cast to org.codehaus.plexus.component.configurator.ComponentConfigurator

    1 unregistered visitors

    Root Cause Analysis

    1. java.lang.ClassCastException

      org.codehaus.plexus.component.configurator.BasicComponentConfigurator cannot be cast to org.codehaus.plexus.component.configurator.ComponentConfigurator

      at hudson.maven.agent.PluginManagerInterceptor$1$1.wrap()
    2. Hudson M2
      PluginManagerInterceptor$1$1.lookup
      1. hudson.maven.agent.PluginManagerInterceptor$1$1.wrap(PluginManagerInterceptor.java:112)
      2. hudson.maven.agent.PluginManagerInterceptor$1$1.lookup(PluginManagerInterceptor.java:91)
      2 frames
    3. Maven Plugin
      DefaultPluginManager.executeMojo
      1. org.apache.maven.plugin.DefaultPluginManager.populatePluginFields(DefaultPluginManager.java:1351)
      2. org.apache.maven.plugin.DefaultPluginManager.getConfiguredMojo(DefaultPluginManager.java:724)
      3. org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:468)
      3 frames
    4. Hudson M2
      PluginManagerInterceptor.executeMojo
      1. hudson.maven.agent.PluginManagerInterceptor.executeMojo(PluginManagerInterceptor.java:182)
      1 frame
    5. Maven Core
      DefaultMaven.execute
      1. org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:694)
      2. org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:556)
      3. org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:535)
      4. org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:387)
      5. org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:348)
      6. org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:180)
      7. org.apache.maven.lifecycle.LifecycleExecutorInterceptor.execute(LifecycleExecutorInterceptor.java:65)
      8. org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:328)
      9. org.apache.maven.DefaultMaven.execute(DefaultMaven.java:138)
      9 frames
    6. M3 Interceptor
      MavenCli.main
      1. org.apache.maven.cli.MavenCli.main(MavenCli.java:362)
      1 frame
    7. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      4. java.lang.reflect.Method.invoke(Method.java:597)
      4 frames
    8. Plexus
      Launcher.launch
      1. org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
      2. org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
      2 frames
    9. Hudson M2
      Main.launch
      1. hudson.maven.agent.Main.launch(Main.java:173)
      1 frame
    10. Hudson Maven Embedder
      MavenModuleSetBuild$Builder.call
      1. hudson.maven.MavenBuilder.call(MavenBuilder.java:164)
      2. hudson.maven.MavenModuleSetBuild$Builder.call(MavenModuleSetBuild.java:987)
      3. hudson.maven.MavenModuleSetBuild$Builder.call(MavenModuleSetBuild.java:918)
      3 frames
    11. Hudson :: Remoting Layer
      Request$2.run
      1. hudson.remoting.UserRequest.perform(UserRequest.java:118)
      2. hudson.remoting.UserRequest.perform(UserRequest.java:48)
      3. hudson.remoting.Request$2.run(Request.java:283)
      3 frames
    12. Java RT
      Thread.run
      1. java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
      2. java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
      3. java.util.concurrent.FutureTask.run(FutureTask.java:138)
      4. java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
      5. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
      6. java.lang.Thread.run(Thread.java:662)
      6 frames