Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
1.0.0
-
None
Description
When using the InvokeHTTP Processor. If the requested URL redirects from HTTPS to HTTP, the convertAttributesFromHeaders function attempts to call
responseHttp.handshake().peerPrincipal().getName()
when
responseHttp.handshake()
returns null. This throws a NPE.
This can be fixed by checking the responseHttp object for SSL rather than the original URL.
Attachments
Attachments
Issue Links
- duplicates
-
NIFI-1504 InvokeHttp hits NPE if target system doesn't respond with proper HTTPS Headers
- Resolved