java.lang.RuntimeException

tip

When you iterate over the lines of a scala.io.Source with source.getLines, make sure you do not close the source until you processed the iterator.

You have a different solution? A short tip here would help you and many other users who saw this issue last week.

  • OBIEE 12c - import catalog
    via by dirkt,
  • help needed on obiee12c
    via by User549949-Oracle,
  • Copy files to rootDir in Gradle
    via Stack Overflow by stuff22
    ,
  • Lock on Hot Backup
    via GitHub by thiagopm
    ,
  • Generating a backup in Fisheye is failing with: {noformat} 2013-08-15 18:58:00,425 WARN [ThreadPool3 ] fisheye BackupManagerImpl$2-run - Backup failed. java.io.IOException: The process cannot access the file because another process has locked a portion of the file at java.io.FileInputStream.readBytes(Native Method) at java.io.FileInputStream.read(FileInputStream.java:242) at com.cenqua.fisheye.io.IOHelper.copyStream(IOHelper.java:98) at com.cenqua.fisheye.io.IOHelper.copyStream(IOHelper.java:87) at com.atlassian.crucible.migration.item.FileSaver.add(FileSaver.java:64) at com.atlassian.crucible.migration.item.FileSaver.add(FileSaver.java:55) at com.atlassian.crucible.migration.item.FileSaver.add(FileSaver.java:55) at com.atlassian.crucible.migration.item.FileSaver.addPath(FileSaver.java:25) at com.atlassian.crucible.migration.item.FishEyeCacheBackup$SaverImpl.backup(FishEyeCacheBackup.java:104) at com.atlassian.crucible.migration.BackupManagerImpl.createBackup(BackupManagerImpl.java:260) at com.atlassian.crucible.migration.BackupManagerImpl.access$000(BackupManagerImpl.java:54) at com.atlassian.crucible.migration.BackupManagerImpl$2$1.perform(BackupManagerImpl.java:152) at com.atlassian.crucible.maintenance.MaintenanceManager.doMaintenance(MaintenanceManager.java:108) at com.atlassian.crucible.migration.BackupManagerImpl$2.run(BackupManagerImpl.java:150) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334) at java.util.concurrent.FutureTask.run(FutureTask.java:166) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:178) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:292) 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:724) {noformat} A restart does not help. There are no repositories that are running initial indexing at the moment.
    via by Gurleen Anand [Atlassian],
    • java.lang.RuntimeException: java.io.IOException: The process cannot access the file because another process has locked a portion of the file at oracle.bi.migration.orchestration.actionspecification.ImportAction.finish(ImportAction.java:200) at oracle.bi.migration.orchestration.MigrationConductor.performMigrationAction(MigrationConductor.java:129) at oracle.bi.migration.tool.MigrationTool.go(MigrationTool.java:203) at oracle.bi.migration.tool.MigrationTool.main(MigrationTool.java:258) Caused by: java.io.IOException: The process cannot access the file because another process has locked a portion of the file at java.io.FileInputStream.readBytes(Native Method) at java.io.FileInputStream.read(Unknown Source) at oracle.bi.migration.util.FileUtils.copyStreamContentToStream(FileUtils.java:48) at oracle.bi.migration.util.FileUtils.copyFileContentToStream(FileUtils.java:22) at oracle.bi.migration.util.ZipUtils.recursivelyAddToZip(ZipUtils.java:170) at oracle.bi.migration.util.ZipUtils.recursivelyAddToZip(ZipUtils.java:176) at oracle.bi.migration.util.ZipUtils.recursivelyAddToZip(ZipUtils.java:176) at oracle.bi.migration.util.ZipUtils.compressDirectoryToZip(ZipUtils.java:139) at oracle.bi.migration.orchestration.BundleImporter.finish(BundleImporter.java:247) at oracle.bi.migration.orchestration.actionspecification.ImportAction.finish(ImportAction.java:197) ... 3 more

    Users with the same issue

    Unknown visitor1 times, last one,
    Unknown visitor1 times, last one,
    richard77
    5 times, last one,
    Unknown visitor1 times, last one,
    Unknown visitor1 times, last one,
    18 more bugmates