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

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via GitHub by diegoscl
, 1 year ago
(SyntaxError) <script>:2: invalid multibyte char (UTF-8)
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 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 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)

Users with the same issue

You are the first who have seen this exception.

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.