org.jruby.exceptions.RaiseException: (SyntaxError) <script>:2: invalid multibyte char (UTF-8)

GitHub | diegoscl | 6 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.
  1. 0

    Error after macOS Sierra upgrade

    GitHub | 6 months ago | diegoscl
    org.jruby.exceptions.RaiseException: (SyntaxError) <script>:2: invalid multibyte char (UTF-8)

    Root Cause Analysis

    1. org.jruby.exceptions.RaiseException

      (SyntaxError) <script>:2: invalid multibyte char (UTF-8)

      at s3.website.Ruby$.rubyRegexMatches()
    2. s3.website
      package$S3KeyRegex.matches
      1. s3.website.Ruby$.rubyRegexMatches(Ruby.scala:7)
      2. s3.website.package$S3KeyRegex.matches(package.scala:60)
      2 frames
    3. s3.website.model
      Files$$anonfun$7$$anonfun$apply$9.apply
      1. s3.website.model.Files$$anonfun$7$$anonfun$apply$9.apply(push.scala:164)
      2. s3.website.model.Files$$anonfun$7$$anonfun$apply$9.apply(push.scala:164)
      2 frames
    4. Scala
      List.exists
      1. scala.collection.LinearSeqOptimized$class.exists(LinearSeqOptimized.scala:93)
      2. scala.collection.immutable.List.exists(List.scala:84)
      2 frames
    5. s3.website.model
      Files$$anonfun$7.apply
      1. s3.website.model.Files$$anonfun$7.apply(push.scala:164)
      2. s3.website.model.Files$$anonfun$7.apply(push.scala:164)
      2 frames
    6. Scala
      Option.exists
      1. scala.Option.exists(Option.scala:240)
      1 frame
    7. s3.website.model
      Files$$anonfun$listSiteFiles$2.apply
      1. s3.website.model.Files$.s3$website$model$Files$$excludeFromUpload$1(push.scala:163)
      2. s3.website.model.Files$$anonfun$listSiteFiles$2.apply(push.scala:173)
      3. s3.website.model.Files$$anonfun$listSiteFiles$2.apply(push.scala:173)
      3 frames
    8. Scala
      AbstractTraversable.filterNot
      1. scala.collection.TraversableLike$$anonfun$filterImpl$1.apply(TraversableLike.scala:259)
      2. scala.collection.mutable.ArraySeq.foreach(ArraySeq.scala:74)
      3. scala.collection.TraversableLike$class.filterImpl(TraversableLike.scala:258)
      4. scala.collection.TraversableLike$class.filterNot(TraversableLike.scala:278)
      5. scala.collection.AbstractTraversable.filterNot(Traversable.scala:104)
      5 frames
    9. s3.website.model
      Files$.listSiteFiles
      1. s3.website.model.Files$.listSiteFiles(push.scala:173)
      1 frame
    10. s3.website
      Push$$anonfun$7$$anonfun$apply$8.apply
      1. s3.website.UploadHelper$.resolveDeletes(UploadHelper.scala:56)
      2. s3.website.Push$$anonfun$7$$anonfun$apply$8.apply(Push.scala:98)
      3. s3.website.Push$$anonfun$7$$anonfun$apply$8.apply(Push.scala:98)
      3 frames
    11. Scala
      Either.fold
      1. scala.util.Either.fold(Either.scala:99)
      1 frame
    12. s3.website
      Push$$anonfun$7.apply
      1. s3.website.Push$$anonfun$7.apply(Push.scala:96)
      2. s3.website.Push$$anonfun$7.apply(Push.scala:95)
      2 frames
    13. Scala
      CallbackRunnable.run
      1. scala.concurrent.Future$$anonfun$flatMap$1.apply(Future.scala:251)
      2. scala.concurrent.Future$$anonfun$flatMap$1.apply(Future.scala:249)
      3. scala.concurrent.impl.CallbackRunnable.run(Promise.scala:32)
      3 frames