Skip to content

Conversation

junnacui
Copy link
Collaborator

Fix the following NullPointerException:
[SEVERE] java.lang.NullPointerException (org.eclipse.jgit.util.FS$FileStoreAttributes#lambda$2)
java.util.concurrent.CompletionException: java.lang.NullPointerException
at java.util.concurrent.CompletableFuture.encodeThrowable(CompletableFuture.java:273)
at java.util.concurrent.CompletableFuture.completeThrowable(CompletableFuture.java:280)
at java.util.concurrent.CompletableFuture$AsyncSupply.run(CompletableFuture.java:1592)
at java.util.concurrent.CompletableFuture$AsyncSupply.exec(CompletableFuture.java:1582)
at java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:289)
at java.util.concurrent.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:1056)
at java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1692)
at java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:157)
Caused by: java.lang.NullPointerException
at org.eclipse.jgit.util.FileUtils.mkdirs(FileUtils.java:422)
at org.eclipse.jgit.internal.storage.file.LockFile.lock(LockFile.java:163)
at org.eclipse.jgit.storage.file.FileBasedConfig.save(FileBasedConfig.java:252)
at org.eclipse.jgit.util.FS$FileStoreAttributes.saveToConfig(FS.java:584)
at org.eclipse.jgit.util.FS$FileStoreAttributes.lambda$0(FS.java:365)
at java.util.concurrent.CompletableFuture$AsyncSupply.run(CompletableFuture.java:1590)
... 5 more

@junnacui junnacui merged commit 7827a46 into stable-5.5 Jul 16, 2020
junnacui added a commit that referenced this pull request Nov 9, 2020
junnacui added a commit that referenced this pull request Nov 18, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants