[ 
https://issues.apache.org/jira/browse/SCB-718?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16633411#comment-16633411
 ] 

ASF GitHub Bot commented on SCB-718:
------------------------------------

wujimin commented on a change in pull request #936: [SCB-718]Avoid null point 
exception
URL: 
https://github.com/apache/incubator-servicecomb-java-chassis/pull/936#discussion_r221463926
 
 

 ##########
 File path: 
providers/provider-pojo/src/main/java/org/apache/servicecomb/provider/pojo/schema/PojoProducers.java
 ##########
 @@ -63,6 +63,9 @@ protected void processProvider(String beanName, Object bean) 
{
     // aop后,新的实例的父类可能是原class,也可能只是个proxy,父类不是原class
     // 所以,需要先取出原class,再取标注
     Class<?> beanCls = BeanUtils.getImplClassFromBean(bean);
+    if(beanCls == null) {
 
 Review comment:
   when will this happened?
   if happened, just ignore it Silently?

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


> If auto discovery failed , will cause a dead cycle
> --------------------------------------------------
>
>                 Key: SCB-718
>                 URL: https://issues.apache.org/jira/browse/SCB-718
>             Project: Apache ServiceComb
>          Issue Type: Task
>            Reporter: laijianbin
>            Assignee: laijianbin
>            Priority: Major
>




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

Reply via email to