org.jruby.exceptions.RaiseException

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

Samebug tips0

There are no available Samebug tips for this exception. If you know how to solve this issue, help other users by writing a short tip.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web41

  • via GitHub by diegoscl
    , 9 months ago
    (SyntaxError) <script>:2: invalid multibyte char (UTF-8)
  • via GitHub by dobermai
    , 1 year ago
    (SyntaxError) <script>:6: syntax error, unexpected ',' Asciidoctor.render_file({path, :in_place => true, :safe => Asciidoctor::SafeMode::UNSAFE, ^
  • via GitHub by LightGuard
    , 1 year ago
    (SyntaxError) <script>:6: syntax error, unexpected ',' Asciidoctor.render_file({path, :in_place => true, :safe => Asciidoctor::SafeMode::UNSAFE, ^
  • Stack trace

    • org.jruby.exceptions.RaiseException: (SyntaxError) <script>:2: invalid multibyte char (UTF-8) at s3.website.Ruby$.rubyRegexMatches(Ruby.scala:7) at s3.website.package$S3KeyRegex.matches(package.scala:60) at s3.website.model.Files$$anonfun$7$$anonfun$apply$9.apply(push.scala:164) at s3.website.model.Files$$anonfun$7$$anonfun$apply$9.apply(push.scala:164) at scala.collection.LinearSeqOptimized$class.exists(LinearSeqOptimized.scala:93) at scala.collection.immutable.List.exists(List.scala:84) at s3.website.model.Files$$anonfun$7.apply(push.scala:164) at s3.website.model.Files$$anonfun$7.apply(push.scala:164) at scala.Option.exists(Option.scala:240) at s3.website.model.Files$.s3$website$model$Files$$excludeFromUpload$1(push.scala:163) at s3.website.model.Files$$anonfun$listSiteFiles$2.apply(push.scala:173) at s3.website.model.Files$$anonfun$listSiteFiles$2.apply(push.scala:173) at scala.collection.TraversableLike$$anonfun$filterImpl$1.apply(TraversableLike.scala:259) at scala.collection.mutable.ArraySeq.foreach(ArraySeq.scala:74) at scala.collection.TraversableLike$class.filterImpl(TraversableLike.scala:258) at scala.collection.TraversableLike$class.filterNot(TraversableLike.scala:278) at scala.collection.AbstractTraversable.filterNot(Traversable.scala:104) at s3.website.model.Files$.listSiteFiles(push.scala:173) at s3.website.UploadHelper$.resolveDeletes(UploadHelper.scala:56) at s3.website.Push$$anonfun$7$$anonfun$apply$8.apply(Push.scala:98) at s3.website.Push$$anonfun$7$$anonfun$apply$8.apply(Push.scala:98) at scala.util.Either.fold(Either.scala:99) at s3.website.Push$$anonfun$7.apply(Push.scala:96) at s3.website.Push$$anonfun$7.apply(Push.scala:95) at scala.concurrent.Future$$anonfun$flatMap$1.apply(Future.scala:251) at scala.concurrent.Future$$anonfun$flatMap$1.apply(Future.scala:249) at scala.concurrent.impl.CallbackRunnable.run(Promise.scala:32)

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    You’re the first here who have seen this exception.