com.google.common.util.concurrent.ExecutionError: java.lang.NoSuchMethodError: com.google.common.collect.Range.closed(Ljava/lang/Comparable;Ljava/lang/Comparable;)Lcom/google/common/collect/Range;

GitHub | ligadata-william | 5 months ago
  1. 0

    PMML models throw exception when "Range" is called

    GitHub | 5 months ago | ligadata-william
    com.google.common.util.concurrent.ExecutionError: java.lang.NoSuchMethodError: com.google.common.collect.Range.closed(Ljava/lang/Comparable;Ljava/lang/Comparable;)Lcom/google/common/collect/Range;
  2. 0

    GitHub comment 1#104652958

    GitHub | 2 years ago | prinzemathew
    cascading.pipe.OperatorException: [pmml][org.jpmml.cascading.PMMLPlanner.resolveAssembly(PMMLPlanner.java:140)] operator Each failed executing operation
  3. 0

    GitHub comment 1#104652958

    GitHub | 2 years ago | prinzemathew
    java.lang.Exception: cascading.pipe.OperatorException: [pmml][org.jpmml.cascading.PMMLPlanner.resolveAssembly(PMMLPlanner.java:140)] operator Each failed executing operation
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Spark JPMML import Issue

    Stack Overflow | 1 year ago | Vijeth Hegde
    java.lang.NoSuchMethodError: com.google.common.collect.Range.closed(Ljava/lang/Comparable;Ljava/lang/Comparable;)Lcom/google/common/collect/Range;

    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.common.collect.Range.closed(Ljava/lang/Comparable;Ljava/lang/Comparable;)Lcom/google/common/collect/Range;

      at org.jpmml.evaluator.DiscretizationUtil.toRange()
    2. org.jpmml.evaluator
      FieldValueUtil$3.load
      1. org.jpmml.evaluator.DiscretizationUtil.toRange(DiscretizationUtil.java:167)[ExtDependencyLibs_2.11-1.4.2.jar:1.0]
      2. org.jpmml.evaluator.FieldValueUtil.parseValidRanges(FieldValueUtil.java:596)[ExtDependencyLibs_2.11-1.4.2.jar:1.0]
      3. org.jpmml.evaluator.FieldValueUtil.access$000(FieldValueUtil.java:51)[ExtDependencyLibs_2.11-1.4.2.jar:1.0]
      4. org.jpmml.evaluator.FieldValueUtil$3.load(FieldValueUtil.java:649)[ExtDependencyLibs_2.11-1.4.2.jar:1.0]
      5. org.jpmml.evaluator.FieldValueUtil$3.load(FieldValueUtil.java:645)[ExtDependencyLibs_2.11-1.4.2.jar:1.0]
      5 frames
    3. Guava
      LocalCache$LocalLoadingCache.get
      1. com.google.common.cache.LocalCache$LoadingValueReference.loadFuture(LocalCache.java:3584)[ExtDependencyLibs2_2.11-1.4.2.jar:1.0]
      2. com.google.common.cache.LocalCache$Segment.loadSync(LocalCache.java:2372)[ExtDependencyLibs2_2.11-1.4.2.jar:1.0]
      3. com.google.common.cache.LocalCache$Segment.lockedGetOrLoad(LocalCache.java:2335)[ExtDependencyLibs2_2.11-1.4.2.jar:1.0]
      4. com.google.common.cache.LocalCache$Segment.get(LocalCache.java:2250)[ExtDependencyLibs2_2.11-1.4.2.jar:1.0]
      5. com.google.common.cache.LocalCache.get(LocalCache.java:3985)[ExtDependencyLibs2_2.11-1.4.2.jar:1.0]
      6. com.google.common.cache.LocalCache.getOrLoad(LocalCache.java:3989)[ExtDependencyLibs2_2.11-1.4.2.jar:1.0]
      7. com.google.common.cache.LocalCache$LocalLoadingCache.get(LocalCache.java:4873)[ExtDependencyLibs2_2.11-1.4.2.jar:1.0]
      7 frames
    4. org.jpmml.evaluator
      EvaluatorUtil.prepare
      1. org.jpmml.evaluator.CacheUtil.getValue(CacheUtil.java:49)[ExtDependencyLibs_2.11-1.4.2.jar:1.0]
      2. org.jpmml.evaluator.FieldValueUtil.getValidRanges(FieldValueUtil.java:544)[ExtDependencyLibs_2.11-1.4.2.jar:1.0]
      3. org.jpmml.evaluator.FieldValueUtil.getStatus(FieldValueUtil.java:237)[ExtDependencyLibs_2.11-1.4.2.jar:1.0]
      4. org.jpmml.evaluator.FieldValueUtil.prepare(FieldValueUtil.java:67)[ExtDependencyLibs_2.11-1.4.2.jar:1.0]
      5. org.jpmml.evaluator.ModelEvaluator.prepare(ModelEvaluator.java:239)[ExtDependencyLibs_2.11-1.4.2.jar:1.0]
      6. org.jpmml.evaluator.EvaluatorUtil.prepare(EvaluatorUtil.java:125)[ExtDependencyLibs_2.11-1.4.2.jar:1.0]
      6 frames
    5. com.ligadata.jpmml
      JpmmlAdapter$$anonfun$prepareFields$1$$anonfun$apply$2.apply
      1. com.ligadata.jpmml.JpmmlAdapter$$anonfun$prepareFields$1$$anonfun$apply$2.apply(JpmmlFactoryOfModelInstanceFactory.scala:246)[KamanjaInternalDeps_2.11-1.4.2.jar:0.1-SNAPSHOT]
      2. com.ligadata.jpmml.JpmmlAdapter$$anonfun$prepareFields$1$$anonfun$apply$2.apply(JpmmlFactoryOfModelInstanceFactory.scala:245)[KamanjaInternalDeps_2.11-1.4.2.jar:0.1-SNAPSHOT]
      2 frames
    6. Scala
      Option.fold
      1. scala.Option.fold(Option.scala:158)[ExtDependencyLibs2_2.11-1.4.2.jar:1.0]
      1 frame
    7. com.ligadata.jpmml
      JpmmlAdapter$$anonfun$prepareFields$1.apply
      1. com.ligadata.jpmml.JpmmlAdapter$$anonfun$prepareFields$1.apply(JpmmlFactoryOfModelInstanceFactory.scala:245)[KamanjaInternalDeps_2.11-1.4.2.jar:0.1-SNAPSHOT]
      2. com.ligadata.jpmml.JpmmlAdapter$$anonfun$prepareFields$1.apply(JpmmlFactoryOfModelInstanceFactory.scala:243)[KamanjaInternalDeps_2.11-1.4.2.jar:0.1-SNAPSHOT]
      2 frames
    8. Scala
      AbstractTraversable.foldLeft
      1. scala.collection.TraversableOnce$$anonfun$foldLeft$1.apply(TraversableOnce.scala:155)[ExtDependencyLibs2_2.11-1.4.2.jar:1.0]
      2. scala.collection.TraversableOnce$$anonfun$foldLeft$1.apply(TraversableOnce.scala:155)[ExtDependencyLibs2_2.11-1.4.2.jar:1.0]
      3. scala.collection.Iterator$class.foreach(Iterator.scala:742)[ExtDependencyLibs2_2.11-1.4.2.jar:1.0]
      4. scala.collection.AbstractIterator.foreach(Iterator.scala:1194)[ExtDependencyLibs2_2.11-1.4.2.jar:1.0]
      5. scala.collection.IterableLike$class.foreach(IterableLike.scala:72)[ExtDependencyLibs2_2.11-1.4.2.jar:1.0]
      6. scala.collection.AbstractIterable.foreach(Iterable.scala:54)[ExtDependencyLibs2_2.11-1.4.2.jar:1.0]
      7. scala.collection.TraversableOnce$class.foldLeft(TraversableOnce.scala:155)[ExtDependencyLibs2_2.11-1.4.2.jar:1.0]
      8. scala.collection.AbstractTraversable.foldLeft(Traversable.scala:104)[ExtDependencyLibs2_2.11-1.4.2.jar:1.0]
      8 frames
    9. com.ligadata.jpmml
      JpmmlAdapter.execute
      1. com.ligadata.jpmml.JpmmlAdapter.prepareFields(JpmmlFactoryOfModelInstanceFactory.scala:243)[KamanjaInternalDeps_2.11-1.4.2.jar:0.1-SNAPSHOT]
      2. com.ligadata.jpmml.JpmmlAdapter.evaluateModel(JpmmlFactoryOfModelInstanceFactory.scala:197)[KamanjaInternalDeps_2.11-1.4.2.jar:0.1-SNAPSHOT]
      3. com.ligadata.jpmml.JpmmlAdapter.execute(JpmmlFactoryOfModelInstanceFactory.scala:186)[KamanjaInternalDeps_2.11-1.4.2.jar:0.1-SNAPSHOT]
      3 frames
    10. com.ligadata.KamanjaBase
      ModelInstance.execute
      1. com.ligadata.KamanjaBase.ModelInstance.execute(ModelBase.scala:601)[KamanjaInternalDeps_2.11-1.4.2.jar:0.1-SNAPSHOT]
      1 frame
    11. com.ligadata.KamanjaManager
      ExecContextImpl.executeMessage
      1. com.ligadata.KamanjaManager.LearningEngine.execute(LearningEngine.scala:194)[kamanjamanager_2.11-1.4.2.jar:1.4.2]
      2. com.ligadata.KamanjaManager.ExecContextImpl.executeMessage(ExecContext.scala:117)[kamanjamanager_2.11-1.4.2.jar:1.4.2]
      2 frames
    12. com.ligadata.InputOutputAdapterInfo
      ExecContext$class.execute
      1. com.ligadata.InputOutputAdapterInfo.ExecContext$class.execute(InputOutputAdapterInfo.scala:266)[KamanjaInternalDeps_2.11-1.4.2.jar:0.1-SNAPSHOT]
      1 frame
    13. com.ligadata.KamanjaManager
      ExecContextImpl.execute
      1. com.ligadata.KamanjaManager.ExecContextImpl.execute(ExecContext.scala:41)[kamanjamanager_2.11-1.4.2.jar:1.4.2]
      1 frame
    14. com.ligadata.InputOutputAdapterInfo
      ExecContext$class.execute
      1. com.ligadata.InputOutputAdapterInfo.ExecContext$class.execute(InputOutputAdapterInfo.scala:311)[KamanjaInternalDeps_2.11-1.4.2.jar:0.1-SNAPSHOT]
      1 frame
    15. com.ligadata.KamanjaManager
      ExecContextImpl.execute
      1. com.ligadata.KamanjaManager.ExecContextImpl.execute(ExecContext.scala:41)[kamanjamanager_2.11-1.4.2.jar:1.4.2]
      1 frame
    16. com.ligadata.InputAdapters
      KafkaSimpleConsumer$$anonfun$StartProcessing$3$$anon$1$$anonfun$run$1$$anonfun$apply$1.apply$mcV$sp
      1. com.ligadata.InputAdapters.KafkaSimpleConsumer$$anonfun$StartProcessing$3$$anon$1$$anonfun$run$1$$anonfun$apply$1.apply$mcV$sp(KafkaSimpleConsumer.scala:408)[KamanjaInternalDeps_2.11-1.4.2.jar:0.1-SNAPSHOT]
      1 frame
    17. Scala
      Breaks.breakable
      1. scala.util.control.Breaks.breakable(Breaks.scala:38)[ExtDependencyLibs2_2.11-1.4.2.jar:1.0]
      1 frame
    18. com.ligadata.InputAdapters
      KafkaSimpleConsumer$$anonfun$StartProcessing$3$$anon$1$$anonfun$run$1.apply
      1. com.ligadata.InputAdapters.KafkaSimpleConsumer$$anonfun$StartProcessing$3$$anon$1$$anonfun$run$1.apply(KafkaSimpleConsumer.scala:382)[KamanjaInternalDeps_2.11-1.4.2.jar:0.1-SNAPSHOT]
      2. com.ligadata.InputAdapters.KafkaSimpleConsumer$$anonfun$StartProcessing$3$$anon$1$$anonfun$run$1.apply(KafkaSimpleConsumer.scala:378)[KamanjaInternalDeps_2.11-1.4.2.jar:0.1-SNAPSHOT]
      2 frames
    19. Scala
      Iterator$class.foreach
      1. scala.collection.Iterator$class.foreach(Iterator.scala:742)[ExtDependencyLibs2_2.11-1.4.2.jar:1.0]
      1 frame
    20. Apache Kafka
      IteratorTemplate.foreach
      1. kafka.utils.IteratorTemplate.foreach(IteratorTemplate.scala:32)[ExtDependencyLibs_2.11-1.4.2.jar:1.0]
      1 frame
    21. Scala
      IterableLike$class.foreach
      1. scala.collection.IterableLike$class.foreach(IterableLike.scala:72)[ExtDependencyLibs2_2.11-1.4.2.jar:1.0]
      1 frame
    22. Apache Kafka
      MessageSet.foreach
      1. kafka.message.MessageSet.foreach(MessageSet.scala:67)[ExtDependencyLibs_2.11-1.4.2.jar:1.0]
      1 frame
    23. com.ligadata.InputAdapters
      KafkaSimpleConsumer$$anonfun$StartProcessing$3$$anon$1.run
      1. com.ligadata.InputAdapters.KafkaSimpleConsumer$$anonfun$StartProcessing$3$$anon$1.run(KafkaSimpleConsumer.scala:378)[KamanjaInternalDeps_2.11-1.4.2.jar:0.1-SNAPSHOT]
      1 frame
    24. Scala Actors library
      ThreadPoolExecutor$Worker.run
      1. scala.actors.threadpool.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1060)[ExtDependencyLibs_2.11-1.4.2.jar:1.0]
      2. scala.actors.threadpool.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:574)[ExtDependencyLibs_2.11-1.4.2.jar:1.0]
      2 frames
    25. Java RT
      Thread.run
      1. java.lang.Thread.run(Thread.java:745)[?:1.7.0_79]
      1 frame