Commit fe878f2
Fix NPE in CacheInvalidationFilter when request scope is unavailable
When a request is rejected before the Jersey injection scope is populated
(e.g. by ContentLengthLimitFilter), app.get() returns null instead of an
Optional, causing a NullPointerException in the response filter stage.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>1 parent 39777bc commit fe878f2
1 file changed
Lines changed: 3 additions & 2 deletions
File tree
- src/main/java/com/atomgraph/linkeddatahub/server/filter/response
Lines changed: 3 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
60 | 60 | | |
61 | 61 | | |
62 | 62 | | |
63 | | - | |
64 | | - | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
65 | 66 | | |
66 | 67 | | |
67 | 68 | | |
| |||
0 commit comments