java.lang.NoClassDefFoundError: org/jaxen/XPath

Gradle Issues | Olivier Girardot | 5 years ago
  1. 0

    Hi everyone, i'm running into a few troubles using the milestone 3, for the context part, i'm running sonar task on a multi-project build, it works correctly for a few projects then, it reaches the forth one and it fails like this : FAILURE: Build aborted because of an internal error. * What went wrong: Build aborted because of an unexpected internal error. Please file an issue at: http://www.gradle.org. * Try: Run with --debug option to get additional debug info. * Exception is: java.lang.NoClassDefFoundError: org/jaxen/XPath at java.lang.Class.getDeclaredConstructors0(Native Method) at java.lang.Class.privateGetDeclaredConstructors(Class.java:2389) at java.lang.Class.getConstructor0(Class.java:2699) at java.lang.Class.newInstance0(Class.java:326) at java.lang.Class.newInstance(Class.java:308) at net.sourceforge.pmd.RuleSetFactory.parseSingleRuleNode(RuleSetFactory.java:309) at net.sourceforge.pmd.RuleSetFactory.parseRuleNode(RuleSetFactory.java:253) at net.sourceforge.pmd.RuleSetFactory.parseRuleSetNode(RuleSetFactory.java:209) at net.sourceforge.pmd.RuleSetFactory.createRuleSet(RuleSetFactory.java:157) at net.sourceforge.pmd.RuleSetFactory.createRuleSet(RuleSetFactory.java:146) at net.sourceforge.pmd.RuleSetFactory.parseRuleReferenceNode(RuleSetFactory.java:365) at net.sourceforge.pmd.RuleSetFactory.parseRuleNode(RuleSetFactory.java:255) at net.sourceforge.pmd.RuleSetFactory.parseRuleSetNode(RuleSetFactory.java:209) at net.sourceforge.pmd.RuleSetFactory.createRuleSet(RuleSetFactory.java:157) at net.sourceforge.pmd.RuleSetFactory.createRuleSet(RuleSetFactory.java:146) at org.sonar.plugins.pmd.PmdExecutor.createRulesets(PmdExecutor.java:100) at org.sonar.plugins.pmd.PmdExecutor.execute(PmdExecutor.java:64) at org.sonar.plugins.pmd.PmdSensor.analyse(PmdSensor.java:45) at org.sonar.batch.phases.SensorsExecutor.execute(SensorsExecutor.java:58) at org.sonar.batch.phases.Phases.execute(Phases.java:80) at org.sonar.batch.ProjectBatch.execute(ProjectBatch.java:59) at org.sonar.batch.Batch.analyzeModule(Batch.java:164) at org.sonar.batch.Batch.analyzeModules(Batch.java:82) at org.sonar.batch.Batch.execute(Batch.java:62) at org.sonar.batch.Batch$execute.call(Unknown Source) at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:40) at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:116) at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:120) at org.gradle.api.plugins.sonar.internal.SonarCodeAnalyzer.execute(SonarCodeAnalyzer.groovy:52) at org.gradle.api.plugins.sonar.internal.SonarCodeAnalyzer$execute.call(Unknown Source) at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:40) at org.gradle.api.plugins.sonar.internal.SonarCodeAnalyzer$execute.call(Unknown Source) at org.gradle.api.plugins.sonar.Sonar$_execute_closure1.doCall(Sonar.groovy:116) 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.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:90) at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:233) at org.codehaus.groovy.runtime.metaclass.ClosureMetaClass.invokeMethod(ClosureMetaClass.java:273) at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:886) at org.codehaus.groovy.runtime.callsite.PogoMetaClassSite.callCurrent(PogoMetaClassSite.java:66) at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(AbstractCallSite.java:149) at org.gradle.api.plugins.sonar.Sonar$_execute_closure1.doCall(Sonar.groovy) 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.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:90) at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:233) at org.codehaus.groovy.runtime.metaclass.ClosureMetaClass.invokeMethod(ClosureMetaClass.java:273) at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:886) at org.codehaus.groovy.runtime.callsite.PogoMetaClassSite.call(PogoMetaClassSite.java:39) at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:120) at org.gradle.api.plugins.sonar.Sonar.withErrorSqlLogging(Sonar.groovy:253) at org.gradle.api.plugins.sonar.Sonar.this$5$withErrorSqlLogging(Sonar.groovy) at org.gradle.api.plugins.sonar.Sonar$this$5$withErrorSqlLogging.callCurrent(Unknown Source) at org.gradle.api.plugins.sonar.Sonar.execute(Sonar.groovy:104) at org.gradle.execution.DefaultTaskGraphExecuter.executeTask(DefaultTaskGraphExecuter.java:167) at org.gradle.execution.DefaultTaskGraphExecuter.doExecute(DefaultTaskGraphExecuter.java:160) at org.gradle.execution.DefaultTaskGraphExecuter.execute(DefaultTaskGraphExecuter.java:78) at org.gradle.execution.TaskNameResolvingBuildExecuter.execute(TaskNameResolvingBuildExecuter.java:113) at org.gradle.execution.DelegatingBuildExecuter.execute(DelegatingBuildExecuter.java:54) at org.gradle.initialization.DefaultGradleLauncher.doBuildStages(DefaultGradleLauncher.java:158) at org.gradle.initialization.DefaultGradleLauncher.doBuild(DefaultGradleLauncher.java:112) at org.gradle.initialization.DefaultGradleLauncher.run(DefaultGradleLauncher.java:80) at org.gradle.launcher.RunBuildAction.execute(RunBuildAction.java:41) at org.gradle.launcher.RunBuildAction.execute(RunBuildAction.java:27) at org.gradle.launcher.ExceptionReportingAction.execute(ExceptionReportingAction.java:32) at org.gradle.launcher.ExceptionReportingAction.execute(ExceptionReportingAction.java:21) at org.gradle.launcher.CommandLineActionFactory$WithLoggingAction.execute(CommandLineActionFactory.java:219) at org.gradle.launcher.CommandLineActionFactory$WithLoggingAction.execute(CommandLineActionFactory.java:203) at org.gradle.launcher.Main.execute(Main.java:55) at org.gradle.launcher.Main.main(Main.java:40) 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.gradle.launcher.ProcessBootstrap.runNoExit(ProcessBootstrap.java:46) at org.gradle.launcher.ProcessBootstrap.run(ProcessBootstrap.java:28) at org.gradle.launcher.GradleMain.main(GradleMain.java:24) Caused by: java.lang.ClassNotFoundException: org.jaxen.XPath at org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy.loadClass(SelfFirstStrategy.java:50) at org.codehaus.plexus.classworlds.realm.ClassRealm.loadClass(ClassRealm.java:244) at org.codehaus.plexus.classworlds.realm.ClassRealm.loadClass(ClassRealm.java:230) ... 81 more I tried to run it into debug mode, but i haven't got much more info to give you. Now this is for milestone-3, i tried also with the latest build for milestone-4 : And i've got the following stacktrace : Fail to stop IoC container java.lang.IllegalStateException: Cannot stop. Current container state was: CONSTRUCTED at org.picocontainer.lifecycle.DefaultLifecycleState.stopping(DefaultLifecycleState.java:72) at org.picocontainer.DefaultPicoContainer.stop(DefaultPicoContainer.java:773) at org.picocontainer.DefaultPicoContainer.stop(DefaultPicoContainer.java:778) at org.picocontainer.DefaultPicoContainer.stop(DefaultPicoContainer.java:778) at org.sonar.batch.Module.stop(Module.java:96) at org.sonar.batch.Batch.execute(Batch.java:66) at org.sonar.batch.Batch$execute.call(Unknown Source) at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:40) at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:116) at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:120) at org.gradle.api.plugins.sonar.internal.SonarCodeAnalyzer.execute(SonarCodeAnalyzer.groovy:52) at org.gradle.api.plugins.sonar.internal.SonarCodeAnalyzer$execute.call(Unknown Source) at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:40) at org.gradle.api.plugins.sonar.internal.SonarCodeAnalyzer$execute.call(Unknown Source) at org.gradle.api.plugins.sonar.Sonar$_execute_closure1.doCall(Sonar.groovy:116) 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.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:90) at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:233) at org.codehaus.groovy.runtime.metaclass.ClosureMetaClass.invokeMethod(ClosureMetaClass.java:273) at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:886) at org.codehaus.groovy.runtime.callsite.PogoMetaClassSite.callCurrent(PogoMetaClassSite.java:66) at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(AbstractCallSite.java:149) at org.gradle.api.plugins.sonar.Sonar$_execute_closure1.doCall(Sonar.groovy) 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.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:90) at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:233) at org.codehaus.groovy.runtime.metaclass.ClosureMetaClass.invokeMethod(ClosureMetaClass.java:273) at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:886) at org.codehaus.groovy.runtime.callsite.PogoMetaClassSite.call(PogoMetaClassSite.java:39) at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:120) at org.gradle.api.plugins.sonar.Sonar.withErrorSqlLogging(Sonar.groovy:253) at org.gradle.api.plugins.sonar.Sonar.this$5$withErrorSqlLogging(Sonar.groovy) at org.gradle.api.plugins.sonar.Sonar$this$5$withErrorSqlLogging.callCurrent(Unknown Source) at org.gradle.api.plugins.sonar.Sonar.execute(Sonar.groovy:104) at org.gradle.execution.DefaultTaskGraphExecuter.executeTask(DefaultTaskGraphExecuter.java:167) at org.gradle.execution.DefaultTaskGraphExecuter.doExecute(DefaultTaskGraphExecuter.java:160) at org.gradle.execution.DefaultTaskGraphExecuter.execute(DefaultTaskGraphExecuter.java:78) at org.gradle.execution.TaskNameResolvingBuildExecuter.execute(TaskNameResolvingBuildExecuter.java:113) at org.gradle.execution.DelegatingBuildExecuter.execute(DelegatingBuildExecuter.java:54) at org.gradle.initialization.DefaultGradleLauncher.doBuildStages(DefaultGradleLauncher.java:158) at org.gradle.initialization.DefaultGradleLauncher.doBuild(DefaultGradleLauncher.java:112) at org.gradle.initialization.DefaultGradleLauncher.run(DefaultGradleLauncher.java:80) at org.gradle.launcher.RunBuildAction.execute(RunBuildAction.java:41) at org.gradle.launcher.RunBuildAction.execute(RunBuildAction.java:27) at org.gradle.launcher.ExceptionReportingAction.execute(ExceptionReportingAction.java:32) at org.gradle.launcher.ExceptionReportingAction.execute(ExceptionReportingAction.java:21) at org.gradle.launcher.CommandLineActionFactory$WithLoggingAction.execute(CommandLineActionFactory.java:219) at org.gradle.launcher.CommandLineActionFactory$WithLoggingAction.execute(CommandLineActionFactory.java:203) at org.gradle.launcher.Main.execute(Main.java:55) at org.gradle.launcher.Main.main(Main.java:40) 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.gradle.launcher.ProcessBootstrap.runNoExit(ProcessBootstrap.java:49) at org.gradle.launcher.ProcessBootstrap.run(ProcessBootstrap.java:31) at org.gradle.launcher.GradleMain.main(GradleMain.java:24) FAILURE: Build aborted because of an internal error. * What went wrong: Build aborted because of an unexpected internal error. Please file an issue at: http://www.gradle.org. * Try: Run with --debug option to get additional debug info. * Exception is: java.lang.NoClassDefFoundError: edu/umd/cs/findbugs/Project at java.lang.Class.getDeclaredMethods0(Native Method) at java.lang.Class.privateGetDeclaredMethods(Class.java:2427) at java.lang.Class.getDeclaredMethods(Class.java:1791) at org.picocontainer.injectors.AdaptingInjection$1.run(AdaptingInjection.java:203) at java.security.AccessController.doPrivileged(Native Method) at org.picocontainer.injectors.AdaptingInjection.injectionMethodAnnotated(AdaptingInjection.java:200) at org.picocontainer.injectors.AdaptingInjection.methodAnnotatedInjectionAdapter(AdaptingInjection.java:171) at org.picocontainer.injectors.AdaptingInjection.createComponentAdapter(AdaptingInjection.java:70) at org.picocontainer.behaviors.AbstractBehaviorFactory.createComponentAdapter(AbstractBehaviorFactory.java:44) at org.picocontainer.behaviors.OptInCaching.createComponentAdapter(OptInCaching.java:45) at org.picocontainer.DefaultPicoContainer.addComponent(DefaultPicoContainer.java:535) at org.picocontainer.DefaultPicoContainer.access$300(DefaultPicoContainer.java:80) at org.picocontainer.DefaultPicoContainer$AsPropertiesPicoContainer.addComponent(DefaultPicoContainer.java:1130) at org.sonar.core.plugin.AbstractPluginRepository.registerExtension(AbstractPluginRepository.java:76) at org.sonar.core.plugin.AbstractPluginRepository.registerPlugin(AbstractPluginRepository.java:51) at org.sonar.batch.bootstrap.BatchPluginRepository.registerPlugins(BatchPluginRepository.java:129) at org.sonar.batch.ProjectBatch$ProjectComponents.configure(ProjectBatch.java:125) at org.sonar.batch.Module.init(Module.java:51) at org.sonar.batch.Module.installChild(Module.java:76) at org.sonar.batch.ProjectBatch.startChildContainer(ProjectBatch.java:74) at org.sonar.batch.ProjectBatch.execute(ProjectBatch.java:57) at org.sonar.batch.Batch.analyzeModule(Batch.java:164) at org.sonar.batch.Batch.analyzeModules(Batch.java:82) at org.sonar.batch.Batch.execute(Batch.java:62) at org.sonar.batch.Batch$execute.call(Unknown Source) at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:40) at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:116) at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:120) at org.gradle.api.plugins.sonar.internal.SonarCodeAnalyzer.execute(SonarCodeAnalyzer.groovy:52) at org.gradle.api.plugins.sonar.internal.SonarCodeAnalyzer$execute.call(Unknown Source) at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:40) at org.gradle.api.plugins.sonar.internal.SonarCodeAnalyzer$execute.call(Unknown Source) at org.gradle.api.plugins.sonar.Sonar$_execute_closure1.doCall(Sonar.groovy:116) 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.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:90) at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:233) at org.codehaus.groovy.runtime.metaclass.ClosureMetaClass.invokeMethod(ClosureMetaClass.java:273) at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:886) at org.codehaus.groovy.runtime.callsite.PogoMetaClassSite.callCurrent(PogoMetaClassSite.java:66) at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(AbstractCallSite.java:149) at org.gradle.api.plugins.sonar.Sonar$_execute_closure1.doCall(Sonar.groovy) 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.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:90) at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:233) at org.codehaus.groovy.runtime.metaclass.ClosureMetaClass.invokeMethod(ClosureMetaClass.java:273) at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:886) at org.codehaus.groovy.runtime.callsite.PogoMetaClassSite.call(PogoMetaClassSite.java:39) at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:120) at org.gradle.api.plugins.sonar.Sonar.withErrorSqlLogging(Sonar.groovy:253) at org.gradle.api.plugins.sonar.Sonar.this$5$withErrorSqlLogging(Sonar.groovy) at org.gradle.api.plugins.sonar.Sonar$this$5$withErrorSqlLogging.callCurrent(Unknown Source) at org.gradle.api.plugins.sonar.Sonar.execute(Sonar.groovy:104) at org.gradle.execution.DefaultTaskGraphExecuter.executeTask(DefaultTaskGraphExecuter.java:167) at org.gradle.execution.DefaultTaskGraphExecuter.doExecute(DefaultTaskGraphExecuter.java:160) at org.gradle.execution.DefaultTaskGraphExecuter.execute(DefaultTaskGraphExecuter.java:78) at org.gradle.execution.TaskNameResolvingBuildExecuter.execute(TaskNameResolvingBuildExecuter.java:113) at org.gradle.execution.DelegatingBuildExecuter.execute(DelegatingBuildExecuter.java:54) at org.gradle.initialization.DefaultGradleLauncher.doBuildStages(DefaultGradleLauncher.java:158) at org.gradle.initialization.DefaultGradleLauncher.doBuild(DefaultGradleLauncher.java:112) at org.gradle.initialization.DefaultGradleLauncher.run(DefaultGradleLauncher.java:80) at org.gradle.launcher.RunBuildAction.execute(RunBuildAction.java:41) at org.gradle.launcher.RunBuildAction.execute(RunBuildAction.java:27) at org.gradle.launcher.ExceptionReportingAction.execute(ExceptionReportingAction.java:32) at org.gradle.launcher.ExceptionReportingAction.execute(ExceptionReportingAction.java:21) at org.gradle.launcher.CommandLineActionFactory$WithLoggingAction.execute(CommandLineActionFactory.java:219) at org.gradle.launcher.CommandLineActionFactory$WithLoggingAction.execute(CommandLineActionFactory.java:203) at org.gradle.launcher.Main.execute(Main.java:55) at org.gradle.launcher.Main.main(Main.java:40) 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.gradle.launcher.ProcessBootstrap.runNoExit(ProcessBootstrap.java:49) at org.gradle.launcher.ProcessBootstrap.run(ProcessBootstrap.java:31) at org.gradle.launcher.GradleMain.main(GradleMain.java:24) Caused by: java.lang.ClassNotFoundException: edu.umd.cs.findbugs.Project at org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy.loadClass(SelfFirstStrategy.java:50) at org.codehaus.plexus.classworlds.realm.ClassRealm.loadClass(ClassRealm.java:244) at org.codehaus.plexus.classworlds.realm.ClassRealm.loadClass(ClassRealm.java:230) ... 81 more Thank you for your time. Olivier.

    Gradle Issues | 5 years ago | Olivier Girardot
    java.lang.NoClassDefFoundError: org/jaxen/XPath
  2. 0

    rexsl-maven-plugin doesn't work with Maven 3.1

    GitHub | 3 years ago | yegor256
    java.lang.ClassNotFoundException: org.sonatype.aether.RepositorySystemSession
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0

    GitHub comment 1#25296194

    GitHub | 3 years ago | dzwicker
    java.lang.NoClassDefFoundError: Lorg/sonatype/aether/RepositorySystemSession;

  1. andyglick 2 times, last 3 weeks ago
  2. andyglick 3 times, last 3 weeks ago
  3. davidvanlaatum 1 times, last 3 weeks ago
  4. davidvanlaatum 15 times, last 3 months ago
  5. Adarro 1 times, last 4 months ago
1 more registered users
90 unregistered visitors
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.ClassNotFoundException

    org.jaxen.XPath

    at org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy.loadClass()
  2. Plexus
    ClassRealm.loadClass
    1. org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy.loadClass(SelfFirstStrategy.java:50)
    2. org.codehaus.plexus.classworlds.realm.ClassRealm.loadClass(ClassRealm.java:244)
    3. org.codehaus.plexus.classworlds.realm.ClassRealm.loadClass(ClassRealm.java:230)
    3 frames
  3. Java RT
    Class.newInstance
    1. java.lang.Class.getDeclaredConstructors0(Native Method)
    2. java.lang.Class.privateGetDeclaredConstructors(Class.java:2389)
    3. java.lang.Class.getConstructor0(Class.java:2699)
    4. java.lang.Class.newInstance0(Class.java:326)
    5. java.lang.Class.newInstance(Class.java:308)
    5 frames
  4. PMD
    RuleSetFactory.createRuleSet
    1. net.sourceforge.pmd.RuleSetFactory.parseSingleRuleNode(RuleSetFactory.java:309)
    2. net.sourceforge.pmd.RuleSetFactory.parseRuleNode(RuleSetFactory.java:253)
    3. net.sourceforge.pmd.RuleSetFactory.parseRuleSetNode(RuleSetFactory.java:209)
    4. net.sourceforge.pmd.RuleSetFactory.createRuleSet(RuleSetFactory.java:157)
    5. net.sourceforge.pmd.RuleSetFactory.createRuleSet(RuleSetFactory.java:146)
    6. net.sourceforge.pmd.RuleSetFactory.parseRuleReferenceNode(RuleSetFactory.java:365)
    7. net.sourceforge.pmd.RuleSetFactory.parseRuleNode(RuleSetFactory.java:255)
    8. net.sourceforge.pmd.RuleSetFactory.parseRuleSetNode(RuleSetFactory.java:209)
    9. net.sourceforge.pmd.RuleSetFactory.createRuleSet(RuleSetFactory.java:157)
    10. net.sourceforge.pmd.RuleSetFactory.createRuleSet(RuleSetFactory.java:146)
    10 frames
  5. org.sonar.plugins
    PmdSensor.analyse
    1. org.sonar.plugins.pmd.PmdExecutor.createRulesets(PmdExecutor.java:100)
    2. org.sonar.plugins.pmd.PmdExecutor.execute(PmdExecutor.java:64)
    3. org.sonar.plugins.pmd.PmdSensor.analyse(PmdSensor.java:45)
    3 frames
  6. SonarQube
    Batch$execute.call
    1. org.sonar.batch.phases.SensorsExecutor.execute(SensorsExecutor.java:58)
    2. org.sonar.batch.phases.Phases.execute(Phases.java:80)
    3. org.sonar.batch.ProjectBatch.execute(ProjectBatch.java:59)
    4. org.sonar.batch.Batch.analyzeModule(Batch.java:164)
    5. org.sonar.batch.Batch.analyzeModules(Batch.java:82)
    6. org.sonar.batch.Batch.execute(Batch.java:62)
    7. org.sonar.batch.Batch$execute.call(Unknown Source)
    7 frames
  7. Groovy
    AbstractCallSite.call
    1. org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:40)
    2. org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:116)
    3. org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:120)
    3 frames
  8. org.gradle.api
    SonarCodeAnalyzer$execute.call
    1. org.gradle.api.plugins.sonar.internal.SonarCodeAnalyzer.execute(SonarCodeAnalyzer.groovy:52)
    2. org.gradle.api.plugins.sonar.internal.SonarCodeAnalyzer$execute.call(Unknown Source)
    2 frames
  9. Groovy
    CallSiteArray.defaultCall
    1. org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:40)
    1 frame
  10. org.gradle.api
    Sonar$_execute_closure1.doCall
    1. org.gradle.api.plugins.sonar.internal.SonarCodeAnalyzer$execute.call(Unknown Source)
    2. org.gradle.api.plugins.sonar.Sonar$_execute_closure1.doCall(Sonar.groovy:116)
    2 frames
  11. 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
  12. Groovy
    AbstractCallSite.callCurrent
    1. org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:90)
    2. groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:233)
    3. org.codehaus.groovy.runtime.metaclass.ClosureMetaClass.invokeMethod(ClosureMetaClass.java:273)
    4. groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:886)
    5. org.codehaus.groovy.runtime.callsite.PogoMetaClassSite.callCurrent(PogoMetaClassSite.java:66)
    6. org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(AbstractCallSite.java:149)
    6 frames
  13. org.gradle.api
    Sonar$_execute_closure1.doCall
    1. org.gradle.api.plugins.sonar.Sonar$_execute_closure1.doCall(Sonar.groovy)
    1 frame
  14. 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
  15. Groovy
    AbstractCallSite.call
    1. org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:90)
    2. groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:233)
    3. org.codehaus.groovy.runtime.metaclass.ClosureMetaClass.invokeMethod(ClosureMetaClass.java:273)
    4. groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:886)
    5. org.codehaus.groovy.runtime.callsite.PogoMetaClassSite.call(PogoMetaClassSite.java:39)
    6. org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:120)
    6 frames
  16. org.gradle.api
    Sonar.execute
    1. org.gradle.api.plugins.sonar.Sonar.withErrorSqlLogging(Sonar.groovy:253)
    2. org.gradle.api.plugins.sonar.Sonar.this$5$withErrorSqlLogging(Sonar.groovy)
    3. org.gradle.api.plugins.sonar.Sonar$this$5$withErrorSqlLogging.callCurrent(Unknown Source)
    4. org.gradle.api.plugins.sonar.Sonar.execute(Sonar.groovy:104)
    4 frames
  17. Gradle Core
    DefaultGradleLauncher.run
    1. org.gradle.execution.DefaultTaskGraphExecuter.executeTask(DefaultTaskGraphExecuter.java:167)
    2. org.gradle.execution.DefaultTaskGraphExecuter.doExecute(DefaultTaskGraphExecuter.java:160)
    3. org.gradle.execution.DefaultTaskGraphExecuter.execute(DefaultTaskGraphExecuter.java:78)
    4. org.gradle.execution.TaskNameResolvingBuildExecuter.execute(TaskNameResolvingBuildExecuter.java:113)
    5. org.gradle.execution.DelegatingBuildExecuter.execute(DelegatingBuildExecuter.java:54)
    6. org.gradle.initialization.DefaultGradleLauncher.doBuildStages(DefaultGradleLauncher.java:158)
    7. org.gradle.initialization.DefaultGradleLauncher.doBuild(DefaultGradleLauncher.java:112)
    8. org.gradle.initialization.DefaultGradleLauncher.run(DefaultGradleLauncher.java:80)
    8 frames
  18. Gradle Launcher
    Main.main
    1. org.gradle.launcher.RunBuildAction.execute(RunBuildAction.java:41)
    2. org.gradle.launcher.RunBuildAction.execute(RunBuildAction.java:27)
    3. org.gradle.launcher.ExceptionReportingAction.execute(ExceptionReportingAction.java:32)
    4. org.gradle.launcher.ExceptionReportingAction.execute(ExceptionReportingAction.java:21)
    5. org.gradle.launcher.CommandLineActionFactory$WithLoggingAction.execute(CommandLineActionFactory.java:219)
    6. org.gradle.launcher.CommandLineActionFactory$WithLoggingAction.execute(CommandLineActionFactory.java:203)
    7. org.gradle.launcher.Main.execute(Main.java:55)
    8. org.gradle.launcher.Main.main(Main.java:40)
    8 frames
  19. 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
  20. Gradle Launcher
    GradleMain.main
    1. org.gradle.launcher.ProcessBootstrap.runNoExit(ProcessBootstrap.java:46)
    2. org.gradle.launcher.ProcessBootstrap.run(ProcessBootstrap.java:28)
    3. org.gradle.launcher.GradleMain.main(GradleMain.java:24)
    3 frames