YaoHaishi created SCB-754:
-----------------------------
Summary: Check null invocation in AbstractRestInvocation to avoid
unexpected NPE
Key: SCB-754
URL: https://issues.apache.org/jira/browse/SCB-754
Project: Apache ServiceComb
Issue Type: Bug
Components: Java-Chassis
Reporter: YaoHaishi
Assignee: YaoHaishi
Fix For: java-chassis-1.1.0
In a 404 situation, the invocation in AbstractRestInvocation is not
initialized. Once user defines a custom HttpServerFilter and thrown an
Exception in it's beforeSendResponse method, the AbstractRestInvocation will
throw a NPE because in it's error log code, invocation is invoked without null
check.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)