You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've been able to replicate this by creating and then removing a file called index.lock from the .git directory for a repo. After removing it, Elegit shows this error. I have not been able to replicate the error through normal manipulation of a repo, but that is when it initially occurred. I've run in to this bug multiple times in the past.
The weirdest thing is that once it happens in one repo, it happens in any new clones afterwards as well.
Stack trace:
java.io.UncheckedIOException: java.nio.file.NoSuchFileException: /Accounts/connellyj/Desktop/UnitTest/NoSuchFileTestRepo/.git/index.lock at java.nio.file.FileTreeIterator.fetchNextIfNeeded(FileTreeIterator.java:88) at java.nio.file.FileTreeIterator.hasNext(FileTreeIterator.java:104) at java.util.Iterator.forEachRemaining(Iterator.java:115) at java.util.Spliterators$IteratorSpliterator.forEachRemaining(Spliterators.java:1801) at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:481) at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:471) at java.util.stream.ForEachOps$ForEachOp.evaluateSequential(ForEachOps.java:151) at java.util.stream.ForEachOps$ForEachOp$OfRef.evaluateSequential(ForEachOps.java:174) at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.util.stream.ReferencePipeline.forEach(ReferencePipeline.java:418) at elegit.SessionModel.getAllRepoFiles(SessionModel.java:463) at elegit.AllFilesPanelView.getFilesToDisplay(AllFilesPanelView.java:150) at elegit.FileStructurePanelView.drawDirectoryView(FileStructurePanelView.java:77) at elegit.SessionController.lambda$gitStatus$10(SessionController.java:923) at com.sun.javafx.application.PlatformImpl.lambda$null$173(PlatformImpl.java:295) at java.security.AccessController.doPrivileged(Native Method) at com.sun.javafx.application.PlatformImpl.lambda$runLater$174(PlatformImpl.java:294) at com.sun.glass.ui.InvokeLaterDispatcher$Future.run(InvokeLaterDispatcher.java:95) Caused by: java.nio.file.NoSuchFileException: /Accounts/connellyj/Desktop/UnitTest/NoSuchFileTestRepo/.git/index.lock at sun.nio.fs.UnixException.translateToIOException(UnixException.java:86) at sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:102) at sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:107) at sun.nio.fs.UnixFileAttributeViews$Basic.readAttributes(UnixFileAttributeViews.java:55) at sun.nio.fs.UnixFileSystemProvider.readAttributes(UnixFileSystemProvider.java:144) at java.nio.file.Files.readAttributes(Files.java:1737) at java.nio.file.FileTreeWalker.getAttributes(FileTreeWalker.java:219) at java.nio.file.FileTreeWalker.visit(FileTreeWalker.java:276) at java.nio.file.FileTreeWalker.next(FileTreeWalker.java:372) at java.nio.file.FileTreeIterator.fetchNextIfNeeded(FileTreeIterator.java:95) ... 17 more
The text was updated successfully, but these errors were encountered:
I've been able to replicate this by creating and then removing a file called index.lock from the .git directory for a repo. After removing it, Elegit shows this error. I have not been able to replicate the error through normal manipulation of a repo, but that is when it initially occurred. I've run in to this bug multiple times in the past.
The weirdest thing is that once it happens in one repo, it happens in any new clones afterwards as well.
Stack trace:
java.io.UncheckedIOException: java.nio.file.NoSuchFileException: /Accounts/connellyj/Desktop/UnitTest/NoSuchFileTestRepo/.git/index.lock at java.nio.file.FileTreeIterator.fetchNextIfNeeded(FileTreeIterator.java:88) at java.nio.file.FileTreeIterator.hasNext(FileTreeIterator.java:104) at java.util.Iterator.forEachRemaining(Iterator.java:115) at java.util.Spliterators$IteratorSpliterator.forEachRemaining(Spliterators.java:1801) at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:481) at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:471) at java.util.stream.ForEachOps$ForEachOp.evaluateSequential(ForEachOps.java:151) at java.util.stream.ForEachOps$ForEachOp$OfRef.evaluateSequential(ForEachOps.java:174) at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.util.stream.ReferencePipeline.forEach(ReferencePipeline.java:418) at elegit.SessionModel.getAllRepoFiles(SessionModel.java:463) at elegit.AllFilesPanelView.getFilesToDisplay(AllFilesPanelView.java:150) at elegit.FileStructurePanelView.drawDirectoryView(FileStructurePanelView.java:77) at elegit.SessionController.lambda$gitStatus$10(SessionController.java:923) at com.sun.javafx.application.PlatformImpl.lambda$null$173(PlatformImpl.java:295) at java.security.AccessController.doPrivileged(Native Method) at com.sun.javafx.application.PlatformImpl.lambda$runLater$174(PlatformImpl.java:294) at com.sun.glass.ui.InvokeLaterDispatcher$Future.run(InvokeLaterDispatcher.java:95) Caused by: java.nio.file.NoSuchFileException: /Accounts/connellyj/Desktop/UnitTest/NoSuchFileTestRepo/.git/index.lock at sun.nio.fs.UnixException.translateToIOException(UnixException.java:86) at sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:102) at sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:107) at sun.nio.fs.UnixFileAttributeViews$Basic.readAttributes(UnixFileAttributeViews.java:55) at sun.nio.fs.UnixFileSystemProvider.readAttributes(UnixFileSystemProvider.java:144) at java.nio.file.Files.readAttributes(Files.java:1737) at java.nio.file.FileTreeWalker.getAttributes(FileTreeWalker.java:219) at java.nio.file.FileTreeWalker.visit(FileTreeWalker.java:276) at java.nio.file.FileTreeWalker.next(FileTreeWalker.java:372) at java.nio.file.FileTreeIterator.fetchNextIfNeeded(FileTreeIterator.java:95) ... 17 more
The text was updated successfully, but these errors were encountered: