-
Notifications
You must be signed in to change notification settings - Fork 1.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ResourceCollection NPE in list() #5521
Comments
gregw
added a commit
that referenced
this issue
Oct 28, 2020
NPE check. Note that I cannot work out how the none directory resource was added in the first place, so I was unable to reproduce the exact exception.
gregw
added a commit
that referenced
this issue
Oct 28, 2020
Refactor addPath in a simpler way, plus with TODOs to fix issues in 10 when merged.
Looks like the last commit broken jetty-maven-plugin's classloader. It failed, consistently, across all JDKs.
|
gregw
added a commit
that referenced
this issue
Oct 28, 2020
Minimized changes in 9. Will do bulk of changes in 10.
gregw
added a commit
that referenced
this issue
Oct 28, 2020
Fix from review. remove duplicate line.
gregw
added a commit
that referenced
this issue
Oct 28, 2020
Fix constructor and addPath so that all resources in a RC must exist when created.
gregw
added a commit
that referenced
this issue
Oct 28, 2020
Ensure that dirs passed to addPath end with / so they can be detected as dirs even if they do not exist.
gregw
added a commit
that referenced
this issue
Oct 28, 2020
Cleanup the vestiges of non existent directories detected by resource ending in /
gregw
added a commit
that referenced
this issue
Oct 28, 2020
Revert adding paths ending in / as jar:file resource needs them
Still work needed in jetty-10 |
gregw
added a commit
that referenced
this issue
Nov 4, 2020
* Fixes #5521 ResourceCollection NPE Fix constructor and addPath so that all resources in a RC must exist when created. * Fixes #5521 ResourceCollection NPE Cleanup the vestiges of non existent directories detected by resource ending in / * Fixes #5521 ResourceCollection NPE Revert adding paths ending in / as jar:file resource needs them * feedback from review improved javadoc.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Jetty version
9.4.x
Description
The text was updated successfully, but these errors were encountered: