rgcottrell / sbt-imagemin

sbt-web plugin that optimizes images using imagemin
Other
6 stars 3 forks source link

Error when there is no images. #1

Open meloniasty opened 10 years ago

meloniasty commented 10 years ago

hi, i've got error (in stage or dist):

Stack trace suppressed: run last *:webPipeline for the full output.
[error] (*:webPipeline) java.lang.IllegalArgumentException: Timeout length must not be negative, question not sent to [Actor[akka://sbt-web/user/$E#1967523729]]

stack:

java.lang.IllegalArgumentException: Timeout length must not be negative, question not sent to [Actor[akka://sbt-web/user/$E#1967523729]]
    at akka.pattern.AskableActorRef$.ask$extension(AskSupport.scala:135)
    at akka.pattern.AskableActorRef$.$qmark$extension(AskSupport.scala:144)
    at com.typesafe.sbt.jse.SbtJsTask$.com$typesafe$sbt$jse$SbtJsTask$$executeJsOnEngine(SbtJsTask.scala:162)
    at com.typesafe.sbt.jse.SbtJsTask$$anonfun$executeJs$1.apply(SbtJsTask.scala:402)
    at com.typesafe.sbt.jse.SbtJsTask$$anonfun$executeJs$1.apply(SbtJsTask.scala:397)
    at com.typesafe.sbt.web.SbtWeb$.withActorRefFactory(SbtWeb.scala:564)
    at com.typesafe.sbt.jse.SbtJsTask$.executeJs(SbtJsTask.scala:396)
    at com.slidingautonomy.sbt.imagemin.SbtImageMin$$anonfun$runMinifier$1$$anonfun$apply$1$$anonfun$2.apply(SbtImageMin.scala:87)
    at com.slidingautonomy.sbt.imagemin.SbtImageMin$$anonfun$runMinifier$1$$anonfun$apply$1$$anonfun$2.apply(SbtImageMin.scala:65)
    at sbt.FileFunction$$anonfun$cached$1.apply(Tracked.scala:188)
    at sbt.FileFunction$$anonfun$cached$1.apply(Tracked.scala:188)
    at sbt.FileFunction$$anonfun$cached$2$$anonfun$apply$3$$anonfun$apply$4.apply(Tracked.scala:202)
    at sbt.FileFunction$$anonfun$cached$2$$anonfun$apply$3$$anonfun$apply$4.apply(Tracked.scala:198)
    at sbt.Difference.apply(Tracked.scala:177)
    at sbt.Difference.apply(Tracked.scala:158)
    at sbt.FileFunction$$anonfun$cached$2$$anonfun$apply$3.apply(Tracked.scala:198)
    at sbt.FileFunction$$anonfun$cached$2$$anonfun$apply$3.apply(Tracked.scala:197)
    at sbt.Difference.apply(Tracked.scala:177)
    at sbt.Difference.apply(Tracked.scala:152)
    at sbt.FileFunction$$anonfun$cached$2.apply(Tracked.scala:197)
    at sbt.FileFunction$$anonfun$cached$2.apply(Tracked.scala:195)
    at com.slidingautonomy.sbt.imagemin.SbtImageMin$$anonfun$runMinifier$1$$anonfun$apply$1.apply(SbtImageMin.scala:100)
    at com.slidingautonomy.sbt.imagemin.SbtImageMin$$anonfun$runMinifier$1$$anonfun$apply$1.apply(SbtImageMin.scala:52)
    at scala.Function$$anonfun$chain$1$$anonfun$apply$1.apply(Function.scala:24)
    at scala.Function$$anonfun$chain$1$$anonfun$apply$1.apply(Function.scala:24)
    at scala.collection.LinearSeqOptimized$class.foldLeft(LinearSeqOptimized.scala:111)
    at scala.collection.immutable.List.foldLeft(List.scala:84)
    at scala.collection.TraversableOnce$class.$div$colon(TraversableOnce.scala:138)
    at scala.collection.AbstractTraversable.$div$colon(Traversable.scala:105)
    at scala.Function$$anonfun$chain$1.apply(Function.scala:24)
    at com.typesafe.sbt.web.SbtWeb$$anonfun$projectSettings$43.apply(SbtWeb.scala:215)
    at com.typesafe.sbt.web.SbtWeb$$anonfun$projectSettings$43.apply(SbtWeb.scala:215)
    at scala.Function1$$anonfun$compose$1.apply(Function1.scala:47)
    at sbt.$tilde$greater$$anonfun$$u2219$1.apply(TypeFunctions.scala:42)
    at sbt.std.Transform$$anon$4.work(System.scala:64)
    at sbt.Execute$$anonfun$submit$1$$anonfun$apply$1.apply(Execute.scala:237)
    at sbt.Execute$$anonfun$submit$1$$anonfun$apply$1.apply(Execute.scala:237)
    at sbt.ErrorHandling$.wideConvert(ErrorHandling.scala:18)
    at sbt.Execute.work(Execute.scala:244)
    at sbt.Execute$$anonfun$submit$1.apply(Execute.scala:237)
    at sbt.Execute$$anonfun$submit$1.apply(Execute.scala:237)
    at sbt.ConcurrentRestrictions$$anon$4$$anonfun$1.apply(ConcurrentRestrictions.scala:160)
    at sbt.CompletionService$$anon$2.call(CompletionService.scala:30)
    at java.util.concurrent.FutureTask.run(FutureTask.java:262)
    at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
    at java.util.concurrent.FutureTask.run(FutureTask.java:262)
    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
    at java.lang.Thread.run(Thread.java:745)