java.lang.NoSuchMethodError: org.apache.commons.collections.CollectionUtils.isEmpty(Ljava/util/Collection;)Z

Google Groups | Ilyas Patel | 5 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

    Thucydides with Firefox 12 and 13 have stopped working

    Google Groups | 5 years ago | Ilyas Patel
    java.lang.NoSuchMethodError: org.apache.commons.collections.CollectionUtils.isEmpty(Ljava/util/Collection;)Z

    Root Cause Analysis

    1. java.lang.NoSuchMethodError

      org.apache.commons.collections.CollectionUtils.isEmpty(Ljava/util/Collection;)Z

      at net.thucydides.core.reports.xml.TestOutcomeConverter.addTagsTo()
    2. thucydides-core
      TestOutcomeConverter.marshal
      1. net.thucydides.core.reports.xml.TestOutcomeConverter.addTagsTo(TestOutcomeConverter.java:182)
      2. net.thucydides.core.reports.xml.TestOutcomeConverter.marshal(TestOutcomeConverter.java:104)
      2 frames
    3. XStream Core
      XStream.toXML
      1. com.thoughtworks.xstream.core.AbstractReferenceMarshaller.convert(AbstractReferenceMarshaller.java:69)
      2. com.thoughtworks.xstream.core.TreeMarshaller.convertAnother(TreeMarshaller.java:59)
      3. com.thoughtworks.xstream.core.TreeMarshaller.convertAnother(TreeMarshaller.java:44)
      4. com.thoughtworks.xstream.core.TreeMarshaller.start(TreeMarshaller.java:79)
      5. com.thoughtworks.xstream.core.AbstractTreeMarshallingStrategy.marshal(AbstractTreeMarshallingStrategy.java:37)
      6. com.thoughtworks.xstream.XStream.marshal(XStream.java:877)
      7. com.thoughtworks.xstream.XStream.marshal(XStream.java:866)
      8. com.thoughtworks.xstream.XStream.toXML(XStream.java:839)
      9. com.thoughtworks.xstream.XStream.toXML(XStream.java:826)
      9 frames
    4. thucydides-core
      ReportService$generateReportsFor.call
      1. net.thucydides.core.reports.xml.XMLTestOutcomeReporter.generateReportFor(XMLTestOutcomeReporter.java:63)
      2. net.thucydides.core.reports.ReportService.generateReportFor(ReportService.java:103)
      3. net.thucydides.core.reports.ReportService.generateReportsFor(ReportService.java:79)
      4. net.thucydides.core.reports.ReportService$generateReportsFor.call(Unknown Source)
      4 frames
    5. Groovy
      AbstractCallSite.call
      1. org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:42)
      2. org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:108)
      3. org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:116)
      3 frames
    6. net.thucydides.easyb
      ThucydidesPlugin$generateReportsFor.callCurrent
      1. net.thucydides.easyb.ThucydidesPlugin.generateReportsFor(ThucydidesPlugin.groovy:301)
      2. net.thucydides.easyb.ThucydidesPlugin$generateReportsFor.callCurrent(Unknown Source)
      2 frames
    7. Groovy
      AbstractCallSite.callCurrent
      1. org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCallCurrent(CallSiteArray.java:46)
      2. org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(AbstractCallSite.java:133)
      3. org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(AbstractCallSite.java:141)
      3 frames
    8. net.thucydides.easyb
      ThucydidesPlugin.afterStory
      1. net.thucydides.easyb.ThucydidesPlugin.afterStory(ThucydidesPlugin.groovy:229)
      1 frame
    9. org.easyb.plugin
      EasybPlugin$afterStory.call
      1. org.easyb.plugin.EasybPlugin$afterStory.call(Unknown Source)
      1 frame
    10. Groovy
      AbstractCallSite.call
      1. org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:42)
      2. org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:108)
      3. org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:116)
      3 frames
    11. org.easyb
      StoryProcessing$_runContext_closure4.doCall
      1. org.easyb.StoryProcessing$_runContext_closure4.doCall(StoryProcessing.groovy:126)
      1 frame
    12. 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
    13. 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:272)
      4. groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:884)
      5. org.codehaus.groovy.runtime.callsite.PogoMetaClassSite.call(PogoMetaClassSite.java:39)
      6. org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:42)
      7. org.codehaus.groovy.runtime.callsite.PogoMetaClassSite.call(PogoMetaClassSite.java:54)
      8. org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:120)
      8 frames
    14. org.easyb
      StoryContext$_notifyPlugins_closure1.doCall
      1. org.easyb.StoryContext$_notifyPlugins_closure1.doCall(StoryContext.groovy:69)
      1 frame
    15. 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
    16. 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:272)
      4. groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:884)
      5. groovy.lang.Closure.call(Closure.java:412)
      6. groovy.lang.Closure.call(Closure.java:425)
      7. org.codehaus.groovy.runtime.DefaultGroovyMethods.each(DefaultGroovyMethods.java:1377)
      8. org.codehaus.groovy.runtime.DefaultGroovyMethods.each(DefaultGroovyMethods.java:1349)
      9. org.codehaus.groovy.runtime.dgm$149.invoke(Unknown Source)
      10. org.codehaus.groovy.runtime.callsite.PojoMetaMethodSite$PojoMetaMethodSiteNoUnwrapNoCoerce.invoke(PojoMetaMethodSite.java:271)
      11. org.codehaus.groovy.runtime.callsite.PojoMetaMethodSite.call(PojoMetaMethodSite.java:53)
      12. org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:116)
      12 frames
    17. org.easyb
      StoryContext$notifyPlugins.call
      1. org.easyb.StoryContext.notifyPlugins(StoryContext.groovy:68)
      2. org.easyb.StoryContext$notifyPlugins.call(Unknown Source)
      2 frames
    18. Groovy
      AbstractCallSite.call
      1. org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:42)
      2. org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:108)
      3. org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:116)
      3 frames
    19. org.easyb
      StoryProcessing$this$2$runContext.callCurrent
      1. org.easyb.StoryProcessing.runContext(StoryProcessing.groovy:126)
      2. org.easyb.StoryProcessing.this$2$runContext(StoryProcessing.groovy)
      3. org.easyb.StoryProcessing$this$2$runContext.callCurrent(Unknown Source)
      3 frames
    20. Groovy
      AbstractCallSite.callCurrent
      1. org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCallCurrent(CallSiteArray.java:46)
      2. org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(AbstractCallSite.java:133)
      3. org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(AbstractCallSite.java:145)
      3 frames
    21. org.easyb
      StoryProcessing$processStory.call
      1. org.easyb.StoryProcessing.processStory(StoryProcessing.groovy:35)
      2. org.easyb.StoryProcessing$processStory.call(Unknown Source)
      2 frames
    22. Groovy
      AbstractCallSite.call
      1. org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:42)
      2. org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:108)
      3. org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:124)
      3 frames
    23. org.easyb
      StoryKeywords$replaySteps.call
      1. org.easyb.StoryKeywords.replaySteps(StoryKeywords.groovy:219)
      2. org.easyb.StoryKeywords$replaySteps.call(Unknown Source)
      2 frames
    24. Groovy
      AbstractCallSite.call
      1. org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:42)
      2. org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:108)
      3. org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:120)
      3 frames
    25. org.easyb
      StoryBinding.replaySteps
      1. org.easyb.StoryBinding.replaySteps(StoryBinding.groovy:25)
      1 frame
    26. org.easyb.domain
      Story.execute
      1. org.easyb.domain.Story.execute(Story.java:57)
      1 frame
    27. org.easyb
      BehaviorRunner.main
      1. org.easyb.BehaviorRunner.executeBehaviors(BehaviorRunner.java:131)
      2. org.easyb.BehaviorRunner.runBehaviors(BehaviorRunner.java:83)
      3. org.easyb.BehaviorRunner.main(BehaviorRunner.java:60)
      3 frames