Null exception occured when click on Luke desktop browser button - #14880
Conversation
Null exception occured when click on Luke desktop browser button apache#13345
|
This PR does not have an entry in lucene/CHANGES.txt. Consider adding one. If the PR doesn't need a changelog entry, then add the skip-changelog label to it and you will stop receiving this reminder on future updates to the PR. |
| if(path.getParent() != null) { | ||
| return path.getParent().toAbsolutePath().toFile(); | ||
| }else { | ||
| return path.toAbsolutePath().toFile(); | ||
| } |
There was a problem hiding this comment.
Run ./gradlew tidy to clean up code formatting. When is this situation possible, by the way (a file without a parent directory)?
There was a problem hiding this comment.
Sorry ,I am a newer for github. And I just commit the code which I had tested last year. So I have no local develop environment. How can I Run ./gradlew tidy to clean up code formatting? This situation occured when I open a directory from another window pc by share folder.
dweiss
left a comment
There was a problem hiding this comment.
Please take a look at my comment.
|
This PR does not have an entry in lucene/CHANGES.txt. Consider adding one. If the PR doesn't need a changelog entry, then add the skip-changelog label to it and you will stop receiving this reminder on future updates to the PR. |
|
This PR does not have an entry in lucene/CHANGES.txt. Consider adding one. If the PR doesn't need a changelog entry, then add the skip-changelog label to it and you will stop receiving this reminder on future updates to the PR. |
|
This PR does not have an entry in lucene/CHANGES.txt. Consider adding one. If the PR doesn't need a changelog entry, then add the skip-changelog label to it and you will stop receiving this reminder on future updates to the PR. |
checkGoogleJavaFormat
|
This PR does not have an entry in lucene/CHANGES.txt. Consider adding one. If the PR doesn't need a changelog entry, then add the skip-changelog label to it and you will stop receiving this reminder on future updates to the PR. |
|
This PR does not have an entry in lucene/CHANGES.txt. Consider adding one. If the PR doesn't need a changelog entry, then add the skip-changelog label to it and you will stop receiving this reminder on future updates to the PR. |
|
It's all explained here - but I see you've managed to fix it, great. I am still curious how you managed to hit that code corner - will give it a try in a spare moment using windows shares. |
Yes, I test to run ./gradlew tidy by adding a workflow yml directely on github web, but it didn't work. Then I fixed the code formatting manually. About this bug, at that time, I was short of local disk space, so I utilized the shared directory. reproduce this problem : |
|
This PR does not have an entry in lucene/CHANGES.txt. Consider adding one. If the PR doesn't need a changelog entry, then add the skip-changelog label to it and you will stop receiving this reminder on future updates to the PR. |
|
Thank you. I could reproduce the issue. |
Null exception occured when click on Luke desktop browser button
[/issues/13345]
Description