You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@servicecomb.apache.org by "liubao (JIRA)" <ji...@apache.org> on 2018/07/19 01:42:00 UTC
[jira] [Resolved] (SCB-754) Check null invocation in
AbstractRestInvocation to avoid unexpected NPE
[ https://issues.apache.org/jira/browse/SCB-754?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
liubao resolved SCB-754.
------------------------
Resolution: Fixed
> 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
> Priority: Major
> Fix For: java-chassis-1.0.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)