smolnar82 opened a new pull request, #1254: URL: https://github.com/apache/knox/pull/1254
[KNOX-3343](https://issues.apache.org/jira/browse/KNOX-3343) - NPE in RAP, when cache key header is custom and not propagated in the request ## What changes were proposed in this pull request? Fixed an issue where the incoming request doesn't contain anything in the cache key header (`Authorization` by default). When that happened -> `hashCacheKey` thew a NPE (see the referenced JIRA). ## How was this patch tested? Added a new unit test that covers thi case (refactored existing helper methods to satisfy the verification of this new case). ## Integration Tests The driver of this change was that I saw these errors while running Docker-based integration tests locally, so I re-ran them with the fix. No NPE was thrown: ``` ``` ## UI changes N/A -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
