java.lang.NoSuchMethodError: com.fasterxml.jackson.databind.ObjectMapper.readerFor(Ljava/lang/Class;)Lcom/fasterxml/jackson/databind/ObjectReader;

Google Groups | Jonathan Vaughn | 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

    Trying to create feeder causes java.lang.NoSuchMethodError

    Google Groups | 6 months ago | Jonathan Vaughn
    java.lang.NoSuchMethodError: com.fasterxml.jackson.databind.ObjectMapper.readerFor(Ljava/lang/Class;)Lcom/fasterxml/jackson/databind/ObjectReader;

    Root Cause Analysis

    1. java.lang.NoSuchMethodError

      com.fasterxml.jackson.databind.ObjectMapper.readerFor(Ljava/lang/Class;)Lcom/fasterxml/jackson/databind/ObjectReader;

      at io.gatling.core.feeder.SeparatedValuesParser$.stream()
    2. gatling-core
      SeparatedValuesParser$lambda$$parse$1.apply
      1. io.gatling.core.feeder.SeparatedValuesParser$.stream(SeparatedValuesParser.scala:46)
      2. io.gatling.core.feeder.SeparatedValuesParser$.io$gatling$core$feeder$SeparatedValuesParser$$$anonfun$1(SeparatedValuesParser.scala:38)
      3. io.gatling.core.feeder.SeparatedValuesParser$lambda$$parse$1.apply(SeparatedValuesParser.scala:37)
      4. io.gatling.core.feeder.SeparatedValuesParser$lambda$$parse$1.apply(SeparatedValuesParser.scala:37)
      4 frames
    3. io.gatling.commons
      Io$.withCloseable
      1. io.gatling.commons.util.Io$.withCloseable(Io.scala:146)
      1 frame
    4. gatling-core
      Predef$.csv
      1. io.gatling.core.feeder.SeparatedValuesParser$.parse(SeparatedValuesParser.scala:37)
      2. io.gatling.core.feeder.FeederSupport$class.io$gatling$core$feeder$FeederSupport$class$$$anonfun$1(FeederSupport.scala:44)
      3. io.gatling.core.feeder.FeederSupport$class$lambda$$separatedValues$1.apply(FeederSupport.scala:44)
      4. io.gatling.core.feeder.FeederSupport$class$lambda$$separatedValues$1.apply(FeederSupport.scala:44)
      5. io.gatling.core.feeder.FeederSupport$class.feederBuilder(FeederSupport.scala:52)
      6. io.gatling.core.Predef$.feederBuilder(Predef.scala:22)
      7. io.gatling.core.feeder.FeederSupport$class.separatedValues(FeederSupport.scala:44)
      8. io.gatling.core.Predef$.separatedValues(Predef.scala:22)
      9. io.gatling.core.feeder.FeederSupport$class.separatedValues(FeederSupport.scala:41)
      10. io.gatling.core.Predef$.separatedValues(Predef.scala:22)
      11. io.gatling.core.feeder.FeederSupport$class.csv(FeederSupport.scala:34)
      12. io.gatling.core.Predef$.csv(Predef.scala:22)
      12 frames
    5. magento
      MagentoSimulation.<init>
      1. magento.Login$.<init>(Login.scala:19)
      2. magento.Login$.<clinit>(Login.scala)
      3. magento.MagentoSimulation.<init>(MagentoSimulation.scala:51)
      3 frames
    6. Java RT
      Class.newInstance
      1. sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
      2. sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
      3. sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
      4. java.lang.reflect.Constructor.newInstance(Constructor.java:423)
      5. java.lang.Class.newInstance(Class.java:442)
      5 frames
    7. gatling-app
      Gatling.main
      1. io.gatling.app.Gatling$.io$gatling$app$Gatling$$$anonfun$1(Gatling.scala:41)
      2. io.gatling.app.Gatling$lambda$1.apply(Gatling.scala:41)
      3. io.gatling.app.Gatling$lambda$1.apply(Gatling.scala:41)
      4. io.gatling.app.Gatling.run(Gatling.scala:92)
      5. io.gatling.app.Gatling.runIfNecessary(Gatling.scala:75)
      6. io.gatling.app.Gatling.start(Gatling.scala:65)
      7. io.gatling.app.Gatling$.start(Gatling.scala:57)
      8. io.gatling.app.Gatling$.fromArgs(Gatling.scala:49)
      9. io.gatling.app.Gatling$.main(Gatling.scala:43)
      10. io.gatling.app.Gatling.main(Gatling.scala)
      10 frames