org.openide.filesystems.FileAlreadyLockedException: Cannot read from locked file: org.netbeans.modules.remote.impl.fs.RemotePlainFile$1@eb14e5 at org.netbeans.modules.remote.impl.fs.RemotePlainFile$1.read(RemotePlainFile.java:342) at java.io.InputStream.read(InputStream.java:170) at java.io.BufferedInputStream.read1(BufferedInputStream.java:273) at java.io.BufferedInputStream.read(BufferedInputStream.java:334) at java.io.FilterInputStream.read(FilterInputStream.java:107) at org.openide.filesystems.FileUtil.copy(FileUtil.java:543) at org.netbeans.modules.localhistory.utils.FileUtils.copy(FileUtils.java:145) at org.netbeans.modules.localhistory.store.LocalHistoryStoreImpl.storeChangedSync(LocalHistoryStoreImpl.java:212) at org.netbeans.modules.localhistory.store.LocalHistoryStoreImpl.access$400(LocalHistoryStoreImpl.java:82) at org.netbeans.modules.localhistory.store.LocalHistoryStoreImpl$3.run(LocalHistoryStoreImpl.java:188) at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:1432) at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:2042)