java.io.IOException

Der Prozess kann nicht auf die Datei zugreifen, da ein anderer Prozess einen Teil der Datei gesperrt hat

Samebug tips1

We couldn't find tips for this exception.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web333

  • via Unknown by Unknown author,
  • via Unknown by Unknown author,
  • Stack trace

    • java.io.IOException: Der Prozess kann nicht auf die Datei zugreifen, da ein anderer Prozess einen Teil der Datei gesperrt hat at java.io.FileInputStream.readBytes(Native Method) at java.io.FileInputStream.read(FileInputStream.java:234) at org.openide.filesystems.MIMESupport$CachedInputStream.ensureBufferLength(MIMESupport.java:702) at org.openide.filesystems.MIMESupport$CachedInputStream.read(MIMESupport.java:751) at java.io.InputStream.read(InputStream.java:101) at org.netbeans.modules.openide.filesystems.declmime.FileElement$Type$FilePattern.match(FileElement.java:316) at org.netbeans.modules.openide.filesystems.declmime.FileElement$Type.accept(FileElement.java:634) at org.netbeans.modules.openide.filesystems.declmime.FileElement$Type.access$300(FileElement.java:156)[catch] at org.netbeans.modules.openide.filesystems.declmime.FileElement.resolve(FileElement.java:99) at org.netbeans.modules.openide.filesystems.declmime.MIMEResolverImpl$Impl.findMIMEType(MIMEResolverImpl.java:440) at org.openide.filesystems.MIMESupport$CachedFileObject.resolveMIME(MIMESupport.java:371) at org.openide.filesystems.MIMESupport$CachedFileObject.getMIMEType(MIMESupport.java:312) at org.openide.filesystems.MIMESupport.findMIMEType(MIMESupport.java:136) at org.openide.filesystems.FileUtil.getMIMEType(FileUtil.java:1332) at org.netbeans.modules.parsing.impl.indexing.FileObjectIndexable.isTypeOf(FileObjectIndexable.java:141) at org.netbeans.modules.parsing.spi.indexing.Indexable$MyAccessor.isTypeOf(Indexable.java:342) at org.netbeans.modules.parsing.impl.indexing.ClusteredIndexables.getIndexablesFor(ClusteredIndexables.java:121) at org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Work.doIndex(RepositoryUpdater.java:2752) at org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Work.access$1600(RepositoryUpdater.java:2091) at org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Work$1.run(RepositoryUpdater.java:2539) at org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Work$1.run(RepositoryUpdater.java:2537) at org.netbeans.modules.parsing.impl.indexing.errors.TaskCache.refreshTransaction(TaskCache.java:544) at org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Work.index(RepositoryUpdater.java:2537) at org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Work.scanFiles(RepositoryUpdater.java:3148) at org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$FileListWork.getDone(RepositoryUpdater.java:3614) at org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Work.doTheWork(RepositoryUpdater.java:3267) at org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Task._run(RepositoryUpdater.java:5810) at org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Task.access$5300(RepositoryUpdater.java:5476) at org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Task$3$1.run(RepositoryUpdater.java:5735) at org.netbeans.modules.parsing.impl.RunWhenScanFinishedSupport.performScan(RunWhenScanFinishedSupport.java:96) at org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Task$3.call(RepositoryUpdater.java:5731) at org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Task$3.call(RepositoryUpdater.java:5727) at org.netbeans.modules.masterfs.filebasedfs.utils.FileChangedManager.priorityIO(FileChangedManager.java:176) at org.netbeans.modules.masterfs.providers.ProvidedExtensions.priorityIO(ProvidedExtensions.java:360) at org.netbeans.modules.parsing.impl.Utilities.runPriorityIO(Utilities.java:74) at org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Task.run(RepositoryUpdater.java:5727) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:1423) at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:2033)

    Write tip

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

    Users with the same issue

    Unknown visitor
    Unknown visitorOnce,
    Unknown visitor
    Unknown visitorOnce,
    richard77richard77
    5 times, last one
    Unknown visitor
    Unknown visitorOnce,
    Unknown visitor
    Unknown visitorOnce,
    20 more bugmates