java.io.FileNotFoundException: C:\Work\perforce\run-sandbox\server\.BuildServer\system\artifacts\Project_1\1..\63290\.teamcity\logs\buildLog.msg5.i1 (The system cannot find the path specified)

YouTrack | 5 years ago
  1. 0

    Renaming a build configuration into a name with dots reports error, but renames it in UI

    YouTrack | 5 years ago
    java.io.FileNotFoundException: C:\Work\perforce\run-sandbox\server\.BuildServer\system\artifacts\Project_1\1..\63290\.teamcity\logs\buildLog.msg5.i1 (The system cannot find the path specified)
  2. 0

    java.io.FileNotFoundException: C:\opt\apache-tomcat-6.0.36-ins2\logs\localhost.2013-02-11.log (Access is denied)

    Stack Overflow | 4 years ago | ssgao
    java.io.FileNotFoundException: C:\opt\apache-tomcat-6.0.36-ins2\logs\localhost.2013-02-11.log (Access is denied)
  3. 0

    Reproduce steps: 1,Create cdh4 cluster with attached spec file:default_cdh4_ha_and_federation_hadoop_cluster.json 2,Run TestDFSIO job from Client with user joe; hadoop jar hadoop-test-2.0.0-mr1-cdh4.1.2.jar TestDFSIO -write -nrFiles 5 -fileSize 100 3,Clean temp files; hadoop jar hadoop-test-2.0.0-mr1-cdh4.1.2.jar TestDFSIO clean 4,Run TestDFSIO again(or swith active namenode twice if you can't reproduce the bug); Expected results: No error in step 2 and 4; Actual results: Find below messages after job running done. java.io.FileNotFoundException: TestDFSIO_results.log (Permission denied) at java.io.FileOutputStream.openAppend(Native Method) at java.io.FileOutputStream.<init>(FileOutputStream.java:192) at org.apache.hadoop.fs.TestDFSIO.analyzeResult(TestDFSIO.java:526) at org.apache.hadoop.fs.TestDFSIO.run(TestDFSIO.java:623) at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:70) at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:84) at org.apache.hadoop.fs.TestDFSIO.main(TestDFSIO.java:456) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.apache.hadoop.util.ProgramDriver$ProgramDescription.invoke(ProgramDriver.java:72) at org.apache.hadoop.util.ProgramDriver.driver(ProgramDriver.java:144) at org.apache.hadoop.test.AllTestDriver.main(AllTestDriver.java:81) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.apache.hadoop.util.RunJar.main(RunJar.java:208)

    SpringSource Issue Tracker | 4 years ago | Hong Cheng (c)
    java.io.FileNotFoundException: TestDFSIO_results.log (Permission denied)
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Reproduce steps: 1,Create cdh4 cluster with attached spec file:default_cdh4_ha_and_federation_hadoop_cluster.json 2,Run TestDFSIO job from Client with user joe; hadoop jar hadoop-test-2.0.0-mr1-cdh4.1.2.jar TestDFSIO -write -nrFiles 5 -fileSize 100 3,Clean temp files; hadoop jar hadoop-test-2.0.0-mr1-cdh4.1.2.jar TestDFSIO clean 4,Run TestDFSIO again(or swith active namenode twice if you can't reproduce the bug); Expected results: No error in step 2 and 4; Actual results: Find below messages after job running done. java.io.FileNotFoundException: TestDFSIO_results.log (Permission denied) at java.io.FileOutputStream.openAppend(Native Method) at java.io.FileOutputStream.<init>(FileOutputStream.java:192) at org.apache.hadoop.fs.TestDFSIO.analyzeResult(TestDFSIO.java:526) at org.apache.hadoop.fs.TestDFSIO.run(TestDFSIO.java:623) at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:70) at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:84) at org.apache.hadoop.fs.TestDFSIO.main(TestDFSIO.java:456) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.apache.hadoop.util.ProgramDriver$ProgramDescription.invoke(ProgramDriver.java:72) at org.apache.hadoop.util.ProgramDriver.driver(ProgramDriver.java:144) at org.apache.hadoop.test.AllTestDriver.main(AllTestDriver.java:81) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.apache.hadoop.util.RunJar.main(RunJar.java:208)

    SpringSource Issue Tracker | 4 years ago | Hong Cheng (c)
    java.io.FileNotFoundException: TestDFSIO_results.log (Permission denied)
  6. 0

    after startup with ~1000 empty repos. Nexus Professional 2.2-01, > lsof -p 41757 | wc -l 1807 Nexus 2.3-SNAPSHOT ( nexus-professional-2.3-20121113.114232-64-bundle ) > lsof -p 41368 | wc -l 5793 In fact, if I control-C Nexus 2.3 while it is loading the repos, the timeline becomes corrupted, such that on restart, I get a million of these: {noformat} jvm 1 | 2012-11-14 14:10:26 WARN [st-1-thread-195] - org.sonatype.timeline.internal.DefaultTimeline - Failed to add a timeline record jvm 1 | java.io.FileNotFoundException: /Volumes/D/app/nexus/2.3-SNAPSHOT/nexus-professional-2.3-20121113.114232-64-bundle/sonatype-work/nexus/timeline/persist/timeline.2012-11-14.14-10-09-0330.dat (Too many open files) jvm 1 | at java.io.FileOutputStream.openAppend(Native Method) ~[na:1.6.0_37] jvm 1 | at java.io.FileOutputStream.<init>(FileOutputStream.java:192) ~[na:1.6.0_37] jvm 1 | at org.sonatype.timeline.internal.DefaultTimelinePersistor.persist(DefaultTimelinePersistor.java:111) ~[nexus-timeline-plugin-2.3-SNAPSHOT.jar:2.3-SNAPSHOT] jvm 1 | at org.sonatype.timeline.internal.DefaultTimeline.add(DefaultTimeline.java:153) ~[nexus-timeline-plugin-2.3-SNAPSHOT.jar:2.3-SNAPSHOT] jvm 1 | at org.sonatype.nexus.timeline.DefaultNexusTimeline.add(DefaultNexusTimeline.java:157) [nexus-timeline-plugin-2.3-SNAPSHOT.jar:2.3-SNAPSHOT] jvm 1 | at org.sonatype.nexus.feeds.DefaultFeedRecorder.addToTimeline(DefaultFeedRecorder.java:475) [nexus-timeline-plugin-2.3-SNAPSHOT.jar:2.3-SNAPSHOT] jvm 1 | at org.sonatype.nexus.feeds.DefaultFeedRecorder.addErrorWarningEvent(DefaultFeedRecorder.java:510) [nexus-timeline-plugin-2.3-SNAPSHOT.jar:2.3-SNAPSHOT] jvm 1 | at org.sonatype.nexus.feeds.DefaultFeedRecorder.addErrorWarningEvent(DefaultFeedRecorder.java:487) [nexus-timeline-plugin-2.3-SNAPSHOT.jar:2.3-SNAPSHOT] jvm 1 | at org.sonatype.nexus.feeds.record.LoggingToFeedEventInspector.inspect(LoggingToFeedEventInspector.java:70) [nexus-timeline-plugin-2.3-SNAPSHOT.jar:2.3-SNAPSHOT] jvm 1 | at org.sonatype.nexus.events.DefaultEventInspectorHost$EventInspectorHandler.run(DefaultEventInspectorHost.java:187) [nexus-app-2.3-SNAPSHOT.jar:2.3-SNAPSHOT] jvm 1 | at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) [na:1.6.0_37] jvm 1 | at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) [na:1.6.0_37] jvm 1 | at java.lang.Thread.run(Thread.java:680) [na:1.6.0_37] {noformat}

    Sonatype JIRA | 4 years ago | Peter Lynch
    java.io.FileNotFoundException: /Volumes/D/app/nexus/2.3-SNAPSHOT/nexus-professional-2.3-20121113.114232-64-bundle/sonatype-work/nexus/timeline/persist/timeline.2012-11-14.14-10-09-0330.dat (Too many open files)
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. java.io.FileNotFoundException

    C:\Work\perforce\run-sandbox\server\.BuildServer\system\artifacts\Project_1\1..\63290\.teamcity\logs\buildLog.msg5.i1 (The system cannot find the path specified)

    at java.io.FileOutputStream.openAppend()
  2. Java RT
    FileOutputStream.<init>
    1. java.io.FileOutputStream.openAppend(Native Method)
    2. java.io.FileOutputStream.<init>(FileOutputStream.java:192)
    2 frames
  3. TeamCity Build Server
    BuildLogFactory.openOrCreateLog
    1. jetbrains.buildServer.serverSide.buildLog.IndexFileWriterImpl.<init>(IndexFileWriterImpl.java:15)
    2. jetbrains.buildServer.serverSide.buildLog.IndexFileFactory.createIndexFileWriter(IndexFileFactory.java:18)
    3. jetbrains.buildServer.serverSide.buildLog.LogMessageFacade.doFlushMessages(LogMessageFacade.java:286)
    4. jetbrains.buildServer.serverSide.buildLog.LogMessageFacade.doFlushMessages(LogMessageFacade.java:311)
    5. jetbrains.buildServer.serverSide.buildLog.LogMessageFacade.access$200(LogMessageFacade.java:21)
    6. jetbrains.buildServer.serverSide.buildLog.LogMessageFacade$5.run(LogMessageFacade.java:223)
    7. jetbrains.buildServer.serverSide.buildLog.LogMessageFacade.runExclusively(LogMessageFacade.java:238)
    8. jetbrains.buildServer.serverSide.buildLog.LogMessageFacade.flushMessages(LogMessageFacade.java:221)
    9. jetbrains.buildServer.serverSide.buildLog.BuildLogImpl.flush(BuildLogImpl.java:411)
    10. jetbrains.buildServer.serverSide.buildLog.BuildLogFactory$1.flush(BuildLogFactory.java:46)
    11. jetbrains.buildServer.serverSide.buildLog.BuildLogFactory.openOrCreateLog(BuildLogFactory.java:57)
    11 frames
  4. jetbrains.buildServer.serverSide
    RunningBuildImpl.<init>
    1. jetbrains.buildServer.serverSide.impl.BuildPromotionImpl.getBuildLog(BuildPromotionImpl.java:1718)
    2. jetbrains.buildServer.serverSide.impl.RunningBuildImpl.getBuildLog(RunningBuildImpl.java:986)
    3. jetbrains.buildServer.serverSide.impl.RunningBuildImpl.initialize(RunningBuildImpl.java:219)
    4. jetbrains.buildServer.serverSide.impl.RunningBuildImpl.<init>(RunningBuildImpl.java:157)
    4 frames
  5. TeamCity Build Server
    SecuredBuildFactory.createRunningBuild
    1. jetbrains.buildServer.serverSide.impl.auth.SecuredRunningBuild.<init>(SecuredRunningBuild.java:32)
    2. jetbrains.buildServer.serverSide.impl.auth.SecuredBuildFactory.createRunningBuild(SecuredBuildFactory.java:67)
    2 frames
  6. jetbrains.buildServer.serverSide
    FlushQueueAction$QueueAction.run
    1. jetbrains.buildServer.serverSide.impl.BuildTypeImpl.newRunningBuild(BuildTypeImpl.java:1457)
    2. jetbrains.buildServer.serverSide.impl.FlushQueueForConnectedAgents.chooseBuildAndAgent(FlushQueueForConnectedAgents.java:79)
    3. jetbrains.buildServer.serverSide.impl.FlushQueueForConnectedAgents.chooseBuildAndAgent(FlushQueueForConnectedAgents.java:18)
    4. jetbrains.buildServer.serverSide.impl.FlushQueueTemplate.flushRealAgents(FlushQueueTemplate.java:71)
    5. jetbrains.buildServer.serverSide.impl.FlushQueueTemplate.access$100(FlushQueueTemplate.java:10)
    6. jetbrains.buildServer.serverSide.impl.FlushQueueTemplate$2.run(FlushQueueTemplate.java:40)
    7. jetbrains.buildServer.serverSide.impl.FlushQueueAction$QueueAction.run(FlushQueueAction.java:68)
    7 frames
  7. TeamCity Build Server
    ServerCleanupManagerImpl$$FastClassBySpringCGLIB$$ba2c8525.invoke
    1. jetbrains.buildServer.serverSide.impl.cleanup.ServerCleanupState.runUnderLock(ServerCleanupState.java:176)
    2. jetbrains.buildServer.serverSide.impl.cleanup.ServerCleanupState.runReadAction(ServerCleanupState.java:157)
    3. jetbrains.buildServer.serverSide.impl.cleanup.ServerCleanupManagerImpl.executeWithInactiveCleanup(ServerCleanupManagerImpl.java:310)
    4. jetbrains.buildServer.serverSide.impl.cleanup.ServerCleanupManagerImpl$$FastClassBySpringCGLIB$$ba2c8525.invoke(<generated>)
    4 frames
  8. Spring Core
    MethodProxy.invoke
    1. org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:204)
    1 frame
  9. Spring AOP
    ReflectiveMethodInvocation.proceed
    1. org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:708)
    2. org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:157)
    2 frames
  10. TeamCity Build Server
    TeamCityMethodSecurityInterceptor.invoke
    1. jetbrains.buildServer.serverSide.impl.auth.TeamCityMethodSecurityInterceptor.invoke(TeamCityMethodSecurityInterceptor.java:43)
    1 frame
  11. Spring AOP
    CglibAopProxy$FixedChainStaticTargetInterceptor.intercept
    1. org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
    2. org.springframework.aop.framework.CglibAopProxy$FixedChainStaticTargetInterceptor.intercept(CglibAopProxy.java:594)
    2 frames
  12. TeamCity Build Server
    ServerCleanupManagerImpl$$EnhancerBySpringCGLIB$$93578cc2.executeWithInactiveCleanup
    1. jetbrains.buildServer.serverSide.impl.cleanup.ServerCleanupManagerImpl$$EnhancerBySpringCGLIB$$93578cc2.executeWithInactiveCleanup(<generated>)
    1 frame
  13. jetbrains.buildServer.serverSide
    BuildServerRunner$BuildServerWorker.run
    1. jetbrains.buildServer.serverSide.impl.QueueFlushImpl.flushQueue(QueueFlushImpl.java:44)
    2. jetbrains.buildServer.serverSide.impl.BuildServerImpl.flushQueue(BuildServerImpl.java:373)
    3. jetbrains.buildServer.serverSide.impl.BuildServerRunner$2.doSomething(BuildServerRunner.java:53)
    4. jetbrains.buildServer.serverSide.impl.BuildServerRunner$BuildServerWorker.runAction(BuildServerRunner.java:205)
    5. jetbrains.buildServer.serverSide.impl.BuildServerRunner$BuildServerWorker.run(BuildServerRunner.java:175)
    5 frames
  14. Java RT
    Thread.run
    1. java.lang.Thread.run(Thread.java:662)
    1 frame