Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save magnusart/74bed5d66c0e96bd58be to your computer and use it in GitHub Desktop.
Save magnusart/74bed5d66c0e96bd58be to your computer and use it in GitHub Desktop.
SBT Native Packager Stacktrace for Universal file handlers error.
Could not create file /pipeline/build/target/streams/compile/$global/$global/discoveredMainClasses/datajava.io.IOException: Too many open files
at sbt.ErrorHandling$.translate(ErrorHandling.scala:11)
at sbt.IO$.touch(IO.scala:131)
at sbt.std.Streams$$anon$3$$anon$2.make(Streams.scala:127)
at sbt.std.Streams$$anon$3$$anon$2.binary(Streams.scala:114)
at sbt.SessionVar$$anonfun$persist$1.apply(SessionVar.scala:28)
at sbt.SessionVar$$anonfun$persist$1.apply(SessionVar.scala:27)
at sbt.std.Streams$class.use(Streams.scala:72)
at sbt.std.Streams$$anon$3.use(Streams.scala:98)
at sbt.SessionVar$.persist(SessionVar.scala:27)
at sbt.SessionVar$.persistAndSet(SessionVar.scala:22)
at sbt.Project$RichTaskSessionVar$$anonfun$storeAs$1$$anonfun$apply$5.apply(Project.scala:535)
at sbt.Project$RichTaskSessionVar$$anonfun$storeAs$1$$anonfun$apply$5.apply(Project.scala:535)
at sbt.SessionVar$$anonfun$1$$anonfun$apply$1.apply(SessionVar.scala:41)
at sbt.SessionVar$$anonfun$1$$anonfun$apply$1.apply(SessionVar.scala:41)
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.IndexedSeqOptimized$class.foldl(IndexedSeqOptimized.scala:51)
at scala.collection.IndexedSeqOptimized$class.foldLeft(IndexedSeqOptimized.scala:60)
at scala.collection.mutable.ArrayBuffer.foldLeft(ArrayBuffer.scala:47)
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 sbt.EvaluateTask$.applyResults(EvaluateTask.scala:372)
at sbt.EvaluateTask$.liftedTree1$1(EvaluateTask.scala:346)
at sbt.EvaluateTask$.run$1(EvaluateTask.scala:343)
at sbt.EvaluateTask$.runTask(EvaluateTask.scala:363)
at sbt.Aggregation$$anonfun$3.apply(Aggregation.scala:67)
at sbt.Aggregation$$anonfun$3.apply(Aggregation.scala:65)
at sbt.EvaluateTask$.withStreams(EvaluateTask.scala:294)
at sbt.Aggregation$.timedRun(Aggregation.scala:65)
at sbt.Aggregation$.runTasks(Aggregation.scala:74)
at sbt.Aggregation$$anonfun$applyTasks$1.apply(Aggregation.scala:34)
at sbt.Aggregation$$anonfun$applyTasks$1.apply(Aggregation.scala:33)
at sbt.Command$$anonfun$applyEffect$2$$anonfun$apply$3.apply(Command.scala:62)
at sbt.Command$$anonfun$applyEffect$2$$anonfun$apply$3.apply(Command.scala:62)
at sbt.Aggregation$$anonfun$evaluatingParser$4$$anonfun$apply$5.apply(Aggregation.scala:159)
at sbt.Aggregation$$anonfun$evaluatingParser$4$$anonfun$apply$5.apply(Aggregation.scala:158)
at sbt.Act$$anonfun$sbt$Act$$actParser0$1$$anonfun$sbt$Act$$anonfun$$evaluate$1$1$$anonfun$apply$10.apply(Act.scala:247)
at sbt.Act$$anonfun$sbt$Act$$actParser0$1$$anonfun$sbt$Act$$anonfun$$evaluate$1$1$$anonfun$apply$10.apply(Act.scala:244)
at sbt.Command$.process(Command.scala:95)
at sbt.MainLoop$$anonfun$1$$anonfun$apply$1.apply(MainLoop.scala:100)
at sbt.MainLoop$$anonfun$1$$anonfun$apply$1.apply(MainLoop.scala:100)
at sbt.State$$anon$1.process(State.scala:179)
at sbt.MainLoop$$anonfun$1.apply(MainLoop.scala:100)
at sbt.MainLoop$$anonfun$1.apply(MainLoop.scala:100)
at sbt.ErrorHandling$.wideConvert(ErrorHandling.scala:18)
at sbt.MainLoop$.next(MainLoop.scala:100)
at sbt.MainLoop$.run(MainLoop.scala:93)
at sbt.MainLoop$$anonfun$runWithNewLog$1.apply(MainLoop.scala:71)
at sbt.MainLoop$$anonfun$runWithNewLog$1.apply(MainLoop.scala:66)
at sbt.Using.apply(Using.scala:25)
at sbt.MainLoop$.runWithNewLog(MainLoop.scala:66)
at sbt.MainLoop$.runAndClearLast(MainLoop.scala:49)
at sbt.MainLoop$.runLoggedLoop(MainLoop.scala:33)
at sbt.MainLoop$.runLogged(MainLoop.scala:25)
at sbt.StandardMain$.runManaged(Main.scala:57)
at sbt.xMain.run(Main.scala:29)
at xsbt.boot.Launch$$anonfun$run$1.apply(Launch.scala:109)
at xsbt.boot.Launch$.withContextLoader(Launch.scala:129)
at xsbt.boot.Launch$.run(Launch.scala:109)
at xsbt.boot.Launch$$anonfun$apply$1.apply(Launch.scala:36)
at xsbt.boot.Launch$.launch(Launch.scala:117)
at xsbt.boot.Launch$.apply(Launch.scala:19)
at xsbt.boot.Boot$.runImpl(Boot.scala:44)
at xsbt.boot.Boot$.main(Boot.scala:20)
at xsbt.boot.Boot.main(Boot.scala)
Caused by: java.io.IOException: Too many open files
at java.io.UnixFileSystem.createFileExclusively(Native Method)
at java.io.File.createNewFile(File.java:1006)
at sbt.IO$$anonfun$1.apply$mcZ$sp(IO.scala:131)
at sbt.IO$$anonfun$1.apply(IO.scala:131)
at sbt.IO$$anonfun$1.apply(IO.scala:131)
at sbt.ErrorHandling$.translate(ErrorHandling.scala:11)
at sbt.IO$.touch(IO.scala:131)
at sbt.std.Streams$$anon$3$$anon$2.make(Streams.scala:127)
at sbt.std.Streams$$anon$3$$anon$2.binary(Streams.scala:114)
at sbt.SessionVar$$anonfun$persist$1.apply(SessionVar.scala:28)
at sbt.SessionVar$$anonfun$persist$1.apply(SessionVar.scala:27)
at sbt.std.Streams$class.use(Streams.scala:72)
at sbt.std.Streams$$anon$3.use(Streams.scala:98)
at sbt.SessionVar$.persist(SessionVar.scala:27)
at sbt.SessionVar$.persistAndSet(SessionVar.scala:22)
at sbt.Project$RichTaskSessionVar$$anonfun$storeAs$1$$anonfun$apply$5.apply(Project.scala:535)
at sbt.Project$RichTaskSessionVar$$anonfun$storeAs$1$$anonfun$apply$5.apply(Project.scala:535)
at sbt.SessionVar$$anonfun$1$$anonfun$apply$1.apply(SessionVar.scala:41)
at sbt.SessionVar$$anonfun$1$$anonfun$apply$1.apply(SessionVar.scala:41)
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.IndexedSeqOptimized$class.foldl(IndexedSeqOptimized.scala:51)
at scala.collection.IndexedSeqOptimized$class.foldLeft(IndexedSeqOptimized.scala:60)
at scala.collection.mutable.ArrayBuffer.foldLeft(ArrayBuffer.scala:47)
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 sbt.EvaluateTask$.applyResults(EvaluateTask.scala:372)
at sbt.EvaluateTask$.liftedTree1$1(EvaluateTask.scala:346)
at sbt.EvaluateTask$.run$1(EvaluateTask.scala:343)
at sbt.EvaluateTask$.runTask(EvaluateTask.scala:363)
at sbt.Aggregation$$anonfun$3.apply(Aggregation.scala:67)
at sbt.Aggregation$$anonfun$3.apply(Aggregation.scala:65)
at sbt.EvaluateTask$.withStreams(EvaluateTask.scala:294)
at sbt.Aggregation$.timedRun(Aggregation.scala:65)
at sbt.Aggregation$.runTasks(Aggregation.scala:74)
at sbt.Aggregation$$anonfun$applyTasks$1.apply(Aggregation.scala:34)
at sbt.Aggregation$$anonfun$applyTasks$1.apply(Aggregation.scala:33)
at sbt.Command$$anonfun$applyEffect$2$$anonfun$apply$3.apply(Command.scala:62)
at sbt.Command$$anonfun$applyEffect$2$$anonfun$apply$3.apply(Command.scala:62)
at sbt.Aggregation$$anonfun$evaluatingParser$4$$anonfun$apply$5.apply(Aggregation.scala:159)
at sbt.Aggregation$$anonfun$evaluatingParser$4$$anonfun$apply$5.apply(Aggregation.scala:158)
at sbt.Act$$anonfun$sbt$Act$$actParser0$1$$anonfun$sbt$Act$$anonfun$$evaluate$1$1$$anonfun$apply$10.apply(Act.scala:247)
at sbt.Act$$anonfun$sbt$Act$$actParser0$1$$anonfun$sbt$Act$$anonfun$$evaluate$1$1$$anonfun$apply$10.apply(Act.scala:244)
at sbt.Command$.process(Command.scala:95)
at sbt.MainLoop$$anonfun$1$$anonfun$apply$1.apply(MainLoop.scala:100)
at sbt.MainLoop$$anonfun$1$$anonfun$apply$1.apply(MainLoop.scala:100)
at sbt.State$$anon$1.process(State.scala:179)
at sbt.MainLoop$$anonfun$1.apply(MainLoop.scala:100)
at sbt.MainLoop$$anonfun$1.apply(MainLoop.scala:100)
at sbt.ErrorHandling$.wideConvert(ErrorHandling.scala:18)
at sbt.MainLoop$.next(MainLoop.scala:100)
at sbt.MainLoop$.run(MainLoop.scala:93)
at sbt.MainLoop$$anonfun$runWithNewLog$1.apply(MainLoop.scala:71)
at sbt.MainLoop$$anonfun$runWithNewLog$1.apply(MainLoop.scala:66)
at sbt.Using.apply(Using.scala:25)
at sbt.MainLoop$.runWithNewLog(MainLoop.scala:66)
at sbt.MainLoop$.runAndClearLast(MainLoop.scala:49)
at sbt.MainLoop$.runLoggedLoop(MainLoop.scala:33)
at sbt.MainLoop$.runLogged(MainLoop.scala:25)
at sbt.StandardMain$.runManaged(Main.scala:57)
at sbt.xMain.run(Main.scala:29)
at xsbt.boot.Launch$$anonfun$run$1.apply(Launch.scala:109)
at xsbt.boot.Launch$.withContextLoader(Launch.scala:129)
at xsbt.boot.Launch$.run(Launch.scala:109)
at xsbt.boot.Launch$$anonfun$apply$1.apply(Launch.scala:36)
at xsbt.boot.Launch$.launch(Launch.scala:117)
at xsbt.boot.Launch$.apply(Launch.scala:19)
at xsbt.boot.Boot$.runImpl(Boot.scala:44)
at xsbt.boot.Boot$.main(Boot.scala:20)
at xsbt.boot.Boot.main(Boot.scala)
[error] Could not create file /pipeline/build/target/streams/compile/$global/$global/discoveredMainClasses/datajava.io.IOException: Too many open files
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment