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 aesteppics
, 1 year ago
unable to create new native thread
via GitHub by adatoo
, 2 years ago
unable to create new native thread
via Apache's JIRA Issue Tracker by Tim Bain, 1 year ago
via GitHub by viktomas
, 8 months ago
via Stack Overflow by paul
, 9 months ago
via mathworks.com by Unknown author, 2 years ago
java.lang.OutOfMemoryError: unable to create new native thread	at java.lang.Thread.start0(Native Method)	at java.lang.Thread.start(Thread.java:714)	at java.util.concurrent.ThreadPoolExecutor.addWorker(ThreadPoolExecutor.java:950)	at java.util.concurrent.ThreadPoolExecutor.execute(ThreadPoolExecutor.java:1357)	at scala.concurrent.impl.ExecutionContextImpl$$anon$1.execute(ExecutionContextImpl.scala:136)	at slick.backend.DatabaseComponent$DatabaseDef$class.runSynchronousDatabaseAction(DatabaseComponent.scala:224)	at slick.jdbc.JdbcBackend$DatabaseDef.runSynchronousDatabaseAction(JdbcBackend.scala:38)	at slick.backend.DatabaseComponent$DatabaseDef$class.runInContext(DatabaseComponent.scala:201)	at slick.jdbc.JdbcBackend$DatabaseDef.runInContext(JdbcBackend.scala:38)	at slick.backend.DatabaseComponent$DatabaseDef$class.runInternal(DatabaseComponent.scala:75)	at slick.jdbc.JdbcBackend$DatabaseDef.runInternal(JdbcBackend.scala:38)	at slick.backend.DatabaseComponent$DatabaseDef$class.run(DatabaseComponent.scala:72)	at slick.jdbc.JdbcBackend$DatabaseDef.run(JdbcBackend.scala:38)	at repositories.PWSql$.emailTemplates(PWSql.scala:236)	at services.EmailService.emailTemplates(EmailService.scala:68)	at controllers.EmailController$$anonfun$emailTemplates$1.apply(EmailController.scala:96)	at controllers.EmailController$$anonfun$emailTemplates$1.apply(EmailController.scala:93)	at play.api.mvc.ActionBuilder$$anonfun$apply$13.apply(Action.scala:371)	at play.api.mvc.ActionBuilder$$anonfun$apply$13.apply(Action.scala:370)	at play.api.mvc.Action$.invokeBlock(Action.scala:498)	at play.api.mvc.Action$.invokeBlock(Action.scala:495)	at play.api.mvc.ActionBuilder$$anon$2.apply(Action.scala:458)	at play.api.mvc.Action$$anonfun$apply$2$$anonfun$apply$5$$anonfun$apply$6.apply(Action.scala:112)	at play.api.mvc.Action$$anonfun$apply$2$$anonfun$apply$5$$anonfun$apply$6.apply(Action.scala:112)	at play.utils.Threads$.withContextClassLoader(Threads.scala:21)	at play.api.mvc.Action$$anonfun$apply$2$$anonfun$apply$5.apply(Action.scala:111)	at play.api.mvc.Action$$anonfun$apply$2$$anonfun$apply$5.apply(Action.scala:110)	at scala.Option.map(Option.scala:146)	at play.api.mvc.Action$$anonfun$apply$2.apply(Action.scala:110)	at play.api.mvc.Action$$anonfun$apply$2.apply(Action.scala:103)	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)	at akka.dispatch.BatchingExecutor$AbstractBatch.processBatch(BatchingExecutor.scala:55)	at akka.dispatch.BatchingExecutor$BlockableBatch$$anonfun$run$1.apply$mcV$sp(BatchingExecutor.scala:91)	at akka.dispatch.BatchingExecutor$BlockableBatch$$anonfun$run$1.apply(BatchingExecutor.scala:91)	at akka.dispatch.BatchingExecutor$BlockableBatch$$anonfun$run$1.apply(BatchingExecutor.scala:91)	at scala.concurrent.BlockContext$.withBlockContext(BlockContext.scala:72)	at akka.dispatch.BatchingExecutor$BlockableBatch.run(BatchingExecutor.scala:90)	at akka.dispatch.TaskInvocation.run(AbstractDispatcher.scala:39)	at akka.dispatch.ForkJoinExecutorConfigurator$AkkaForkJoinTask.exec(AbstractDispatcher.scala:405)	at scala.concurrent.forkjoin.ForkJoinTask.doExec(ForkJoinTask.java:260)	at scala.concurrent.forkjoin.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:1339)	at scala.concurrent.forkjoin.ForkJoinPool.runWorker(ForkJoinPool.java:1979)	at scala.concurrent.forkjoin.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:107)