java.io.FileNotFoundException

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • too many open files
    via GitHub by fommil
    ,
  • Unable to zip files using zip4j
    via Stack Overflow by kittu
    ,
  • Too many open files
    via GitHub by fxprunayre
    ,
  • Error On Connection to Database
    via GitHub by codeniac
    ,
  • JWNL for word stemming
    via Stack Overflow by Mehar Ali
    ,
  • Run gradle from perl script
    via by Unknown author,
    • java.io.FileNotFoundException: /tmp/1471699337373-0/.ensime_cache/graph-2.3/field.pcl (Too many open files) at java.io.RandomAccessFile.open(Native Method) at java.io.RandomAccessFile.<init>(RandomAccessFile.java:241) at com.orientechnologies.orient.core.storage.fs.OFileClassic.openChannel(OFileClassic.java:791) at com.orientechnologies.orient.core.storage.fs.OFileClassic.create(OFileClassic.java:528) at com.orientechnologies.orient.core.storage.cache.local.OWOWCache.addFile(OWOWCache.java:1053) at com.orientechnologies.orient.core.storage.cache.local.OWOWCache.addFile(OWOWCache.java:370) at com.orientechnologies.orient.core.storage.cache.local.twoq.O2QCache.addFile(O2QCache.java:174) at com.orientechnologies.orient.core.storage.impl.local.paginated.base.ODurableComponent.addFile(ODurableComponent.java:178) at com.orientechnologies.orient.core.storage.impl.local.paginated.OPaginatedCluster.create(OPaginatedCluster.java:186) at com.orientechnologies.orient.core.storage.impl.local.OAbstractPaginatedStorage.addClusterInternal(OAbstractPaginatedStorage.java:3349) at com.orientechnologies.orient.core.storage.impl.local.OAbstractPaginatedStorage.doAddCluster(OAbstractPaginatedStorage.java:3330) at com.orientechnologies.orient.core.storage.impl.local.OAbstractPaginatedStorage.addCluster(OAbstractPaginatedStorage.java:511) at com.orientechnologies.orient.core.db.document.ODatabaseDocumentTx.addCluster(ODatabaseDocumentTx.java:1274) at com.orientechnologies.orient.core.metadata.schema.OSchemaShared.createClusters(OSchemaShared.java:1224) at com.orientechnologies.orient.core.metadata.schema.OSchemaShared.createClusters(OSchemaShared.java:1192) at com.orientechnologies.orient.core.metadata.schema.OSchemaShared.createClass(OSchemaShared.java:382) at com.orientechnologies.orient.core.metadata.schema.OSchemaShared.createClass(OSchemaShared.java:363) at com.orientechnologies.orient.core.metadata.schema.OSchemaProxy.createClass(OSchemaProxy.java:95) at com.tinkerpop.blueprints.impls.orient.OrientBaseGraph$5.call(OrientBaseGraph.java:1309) at com.tinkerpop.blueprints.impls.orient.OrientBaseGraph$5.call(OrientBaseGraph.java:1307) at com.tinkerpop.blueprints.impls.orient.OrientBaseGraph.executeOutsideTx(OrientBaseGraph.java:1817) at com.tinkerpop.blueprints.impls.orient.OrientBaseGraph.createVertexType(OrientBaseGraph.java:1307) at com.tinkerpop.blueprints.impls.orient.OrientBaseGraph.createVertexType(OrientBaseGraph.java:1274) at com.tinkerpop.blueprints.impls.orient.OrientBaseGraph.createVertexType(OrientBaseGraph.java:1245) at org.ensime.indexer.orientdb.syntax.package$RichOrientGraph.createVertexFrom(SimpleOrient.scala:92) at org.ensime.indexer.graph.GraphService.<init>(GraphService.scala:205) at org.ensime.indexer.SearchService.<init>(SearchService.scala:77) at org.ensime.fixture.IsolatedSearchServiceFixture$$anonfun$withSearchService$1.apply(SearchServiceFixture.scala:15) at org.ensime.fixture.IsolatedSearchServiceFixture$$anonfun$withSearchService$1.apply(SearchServiceFixture.scala:14) at org.ensime.fixture.IsolatedSourceResolverFixture$$anonfun$withSourceResolver$2.apply(SourceResolverFixture.scala:27) at org.ensime.fixture.IsolatedSourceResolverFixture$$anonfun$withSourceResolver$2.apply(SourceResolverFixture.scala:24) at org.ensime.fixture.IsolatedEnsimeConfigFixture$$anonfun$withEnsimeConfig$1.apply(EnsimeConfigFixture.scala:171) at org.ensime.fixture.IsolatedEnsimeConfigFixture$$anonfun$withEnsimeConfig$1.apply(EnsimeConfigFixture.scala:171) at org.ensime.util.file.package$.withTempDir(file.scala:42) at org.ensime.fixture.IsolatedEnsimeConfigFixture$class.withEnsimeConfig(EnsimeConfigFixture.scala:170) at org.ensime.core.RichPresentationCompilerSpec.withEnsimeConfig(RichPresentationCompilerSpec.scala:52) at org.ensime.fixture.IsolatedSourceResolverFixture$class.withSourceResolver(SourceResolverFixture.scala:24) at org.ensime.core.RichPresentationCompilerSpec.withSourceResolver(RichPresentationCompilerSpec.scala:52) at org.ensime.fixture.IsolatedSearchServiceFixture$class.withSearchService(SearchServiceFixture.scala:14) at org.ensime.core.RichPresentationCompilerSpec.withSearchService(RichPresentationCompilerSpec.scala:52) at org.ensime.fixture.IsolatedRichPresentationCompilerFixture$$anonfun$withRichPresentationCompiler$1$$anonfun$apply$1.apply(RichPresentationCompilerFixture.scala:86) at org.ensime.fixture.IsolatedRichPresentationCompilerFixture$$anonfun$withRichPresentationCompiler$1$$anonfun$apply$1.apply(RichPresentationCompilerFixture.scala:84) at org.ensime.fixture.IsolatedTestKitFixture$class.withTestKit(TestKitFixture.scala:41) at org.ensime.core.RichPresentationCompilerSpec.withTestKit(RichPresentationCompilerSpec.scala:52) at org.ensime.fixture.IsolatedRichPresentationCompilerFixture$$anonfun$withRichPresentationCompiler$1.apply(RichPresentationCompilerFixture.scala:84) at org.ensime.fixture.IsolatedRichPresentationCompilerFixture$$anonfun$withRichPresentationCompiler$1.apply(RichPresentationCompilerFixture.scala:83) at org.ensime.fixture.IsolatedEnsimeVFSFixture$class.withVFS(EnsimeVFSFixture.scala:18) at org.ensime.core.RichPresentationCompilerSpec.withVFS(RichPresentationCompilerSpec.scala:52) at org.ensime.fixture.IsolatedRichPresentationCompilerFixture$class.withRichPresentationCompiler(RichPresentationCompilerFixture.scala:83) at org.ensime.core.RichPresentationCompilerSpec.withRichPresentationCompiler(RichPresentationCompilerSpec.scala:52) at org.ensime.core.ReallyRichPresentationCompilerFixture$class.withPresCompiler(RichPresentationCompilerSpec.scala:496) at org.ensime.core.RichPresentationCompilerSpec.withPresCompiler(RichPresentationCompilerSpec.scala:52) at org.ensime.core.ReallyRichPresentationCompilerFixture$class.withPosInCompiledSource(RichPresentationCompilerSpec.scala:502) at org.ensime.core.RichPresentationCompilerSpec.withPosInCompiledSource(RichPresentationCompilerSpec.scala:52) at org.ensime.core.RichPresentationCompilerSpec$$anonfun$19.apply(RichPresentationCompilerSpec.scala:278) at org.scalatest.OutcomeOf$class.outcomeOf(OutcomeOf.scala:85) at org.scalatest.OutcomeOf$.outcomeOf(OutcomeOf.scala:104) at org.scalatest.Transformer.apply(Transformer.scala:22) at org.scalatest.Transformer.apply(Transformer.scala:20) at org.scalatest.FlatSpecLike$$anon$1.apply(FlatSpecLike.scala:1684) at org.scalatest.TestSuite$class.withFixture(TestSuite.scala:196) at org.ensime.core.RichPresentationCompilerSpec.org$ensime$util$EnsimeSpec$$super$withFixture(RichPresentationCompilerSpec.scala:52) at org.ensime.util.EnsimeSpec$class.withFixture(EnsimeSpec.scala:49) at org.ensime.core.RichPresentationCompilerSpec.withFixture(RichPresentationCompilerSpec.scala:52) at org.scalatest.FlatSpecLike$class.invokeWithFixture$1(FlatSpecLike.scala:1681) at org.scalatest.FlatSpecLike$$anonfun$runTest$1.apply(FlatSpecLike.scala:1694) at org.scalatest.FlatSpecLike$$anonfun$runTest$1.apply(FlatSpecLike.scala:1694) at org.scalatest.SuperEngine.runTestImpl(Engine.scala:299) at org.scalatest.FlatSpecLike$class.runTest(FlatSpecLike.scala:1694) at org.scalatest.FlatSpec.runTest(FlatSpec.scala:1691) at org.scalatest.FlatSpecLike$$anonfun$runTests$1.apply(FlatSpecLike.scala:1752) at org.scalatest.FlatSpecLike$$anonfun$runTests$1.apply(FlatSpecLike.scala:1752) at org.scalatest.SuperEngine$$anonfun$traverseSubNodes$1$1.apply(Engine.scala:406) at org.scalatest.SuperEngine$$anonfun$traverseSubNodes$1$1.apply(Engine.scala:394) at scala.collection.immutable.List.foreach(List.scala:381) at org.scalatest.SuperEngine.traverseSubNodes$1(Engine.scala:394) at org.scalatest.SuperEngine.org$scalatest$SuperEngine$$runTestsInBranch(Engine.scala:383) at org.scalatest.SuperEngine$$anonfun$traverseSubNodes$1$1.apply(Engine.scala:420) at org.scalatest.SuperEngine$$anonfun$traverseSubNodes$1$1.apply(Engine.scala:394) at scala.collection.immutable.List.foreach(List.scala:381) at org.scalatest.SuperEngine.traverseSubNodes$1(Engine.scala:394) at org.scalatest.SuperEngine.org$scalatest$SuperEngine$$runTestsInBranch(Engine.scala:389) at org.scalatest.SuperEngine.runTestsImpl(Engine.scala:471) at org.scalatest.FlatSpecLike$class.runTests(FlatSpecLike.scala:1752) at org.scalatest.FlatSpec.runTests(FlatSpec.scala:1691) at org.scalatest.Suite$class.run(Suite.scala:1147) at org.scalatest.FlatSpec.org$scalatest$FlatSpecLike$$super$run(FlatSpec.scala:1691) at org.scalatest.FlatSpecLike$$anonfun$run$1.apply(FlatSpecLike.scala:1798) at org.scalatest.FlatSpecLike$$anonfun$run$1.apply(FlatSpecLike.scala:1798) at org.scalatest.SuperEngine.runImpl(Engine.scala:535) at org.scalatest.FlatSpecLike$class.run(FlatSpecLike.scala:1798) at org.scalatest.FlatSpec.run(FlatSpec.scala:1691) at org.scalatest.tools.Framework.org$scalatest$tools$Framework$$runSuite(Framework.scala:314) at org.scalatest.tools.Framework$ScalaTestTask.execute(Framework.scala:470) at sbt.ForkMain$Run$2.call(ForkMain.java:296) at sbt.ForkMain$Run$2.call(ForkMain.java:286) 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)

    Users with the same issue

    Unknown visitor1 times, last one,
    Unknown visitor1 times, last one,
    Unknown visitor1 times, last one,
    Unknown visitor1 times, last one,
    Unknown visitor1 times, last one,
    32 more bugmates