You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@servicecomb.apache.org by "YaoHaishi (JIRA)" <ji...@apache.org> on 2018/07/18 06:41:00 UTC
[jira] [Created] (SCB-754) Check null invocation in
AbstractRestInvocation to avoid unexpected NPE
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)