bcgov / bcgov/jrcc-document-access-libs
if the file is null it will throw a nullPointerException
- Dominant language
- Java
- Stars
- 1
- Forks
- 4
- PR merge metrics
- No merged PRs in 30d
Description
https://github.com/bcgov/jrcc-document-access-libs/blob/abcd75a565540e3c73c34872af27c663ba5079ec/jrcc-access-spring-boot-autoconfigure/src/main/java/ca/bc/gov/open/jrccaccess/autoconfigure/plugins/http/DocumentInterceptor.java#L23
when the file is null, it throws a nullPointerException, we should handle that case better
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by reading DocumentInterceptor.java at line 23 and trace how the file value is used. The issue does not specify the intended behavior for a null file, so clarify the expected response or fallback before changing it. Done should mean the null case no longer throws a NullPointerException and its expected behavior is verified.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- backend
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100