[ 
https://issues.apache.org/jira/browse/NIFI-5747?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Koji Kawamura updated NIFI-5747:
--------------------------------
    Fix Version/s: 1.9.0
      Component/s: Extensions

> InvokeHTTP Processor NPE
> ------------------------
>
>                 Key: NIFI-5747
>                 URL: https://issues.apache.org/jira/browse/NIFI-5747
>             Project: Apache NiFi
>          Issue Type: Bug
>          Components: Extensions
>            Reporter: Julian Sniffen
>            Assignee: Julian Sniffen
>            Priority: Major
>             Fix For: 1.9.0
>
>         Attachments: nifi-5747.patch.zip
>
>
>  When using the InvokeHTTP Processor. If the requested URL redirects from 
> HTTPS to HTTP, the convertAttributesFromHeaders function attempts to call
> {code:java}
> responseHttp.handshake().peerPrincipal().getName()
> {code}
> when
> {code:java}
> responseHttp.handshake()
> {code}
> returns null. This throws a NPE.
> This can be fixed by checking the responseHttp object for SSL rather than the 
> original URL.
>  



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to