scala.MatchError: 1.0 (of class java.lang.Double)

GitHub | nicolaspayette | 7 months 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.

Root Cause Analysis

  1. scala.MatchError

    1.0 (of class java.lang.Double)

    at org.nlogo.extensions.csv.CSVExtension$ToFile$$anonfun$perform$1$$anonfun$apply$2.apply()
  2. org.nlogo.extensions
    CSVExtension$ToFile$$anonfun$perform$1$$anonfun$apply$2.apply
    1. org.nlogo.extensions.csv.CSVExtension$ToFile$$anonfun$perform$1$$anonfun$apply$2.apply(CSVExtension.scala:88)
    2. org.nlogo.extensions.csv.CSVExtension$ToFile$$anonfun$perform$1$$anonfun$apply$2.apply(CSVExtension.scala:88)
    2 frames
  3. Scala
    VectorIterator.foreach
    1. scala.collection.Iterator$class.foreach(Iterator.scala:772)
    2. scala.collection.immutable.VectorIterator.foreach(Vector.scala:648)
    2 frames
  4. org.nlogo.extensions
    CSVExtension$ToFile.perform
    1. org.nlogo.extensions.csv.CSVExtension$ToFile$$anonfun$perform$1.apply(CSVExtension.scala:88)
    2. org.nlogo.extensions.csv.CSVExtension$ToFile$$anonfun$perform$1.apply(CSVExtension.scala:87)
    3. org.nlogo.extensions.csv.CSVExtension.using(CSVExtension.scala:110)
    4. org.nlogo.extensions.csv.CSVExtension$ToFile.perform(CSVExtension.scala:87)
    4 frames
  5. org.nlogo.prim
    _extern.perform
    1. org.nlogo.prim._extern.perform(_extern.java:54)
    1 frame
  6. org.nlogo.nvm
    ConcurrentJob.step
    1. org.nlogo.nvm.Context.stepConcurrent(Context.java:91)
    2. org.nlogo.nvm.ConcurrentJob.step(ConcurrentJob.java:82)
    2 frames
  7. org.nlogo.job
    JobThread$$anonfun$run$1.apply
    1. org.nlogo.job.JobThread.org$nlogo$job$JobThread$$runPrimaryJobs(JobThread.scala:143)
    2. org.nlogo.job.JobThread$$anonfun$run$1.apply$mcV$sp(JobThread.scala:78)
    3. org.nlogo.job.JobThread$$anonfun$run$1.apply(JobThread.scala:76)
    4. org.nlogo.job.JobThread$$anonfun$run$1.apply(JobThread.scala:76)
    4 frames
  8. Scala
    Exception$Catch.apply
    1. scala.util.control.Exception$Catch.apply(Exception.scala:88)
    1 frame
  9. org.nlogo.util
    Exceptions$.handling
    1. org.nlogo.util.Exceptions$.handling(Exceptions.scala:41)
    1 frame
  10. org.nlogo.job
    JobThread.run
    1. org.nlogo.job.JobThread.run(JobThread.scala:75)
    1 frame