You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@dubbo.apache.org by GitBox <gi...@apache.org> on 2018/07/11 04:07:02 UTC

[GitHub] L-Angel edited a comment on issue #2062: NPE when use callback and injvm together

L-Angel edited a comment on issue #2062: NPE when use callback and injvm together
URL: https://github.com/apache/incubator-dubbo/issues/2062#issuecomment-404037529
 
 
   @diecui1202 @beiwei30  i push a demo project  that remove internal information to github on weekends.
   The program arise NPE when set url parameter value to dubbo://localhost:20880 in reference tag.
   And the part where the NPE occurs is as bellow in file CallbackServiceCodeC.decodeInvocationArgument
   * Integer.parseInt(inv.getAttachment(INV_ATT_CALLBACK_KEY + paraIndex))*
   ```
    case CallbackServiceCodec.CALLBACK_CREATE:
                   try {
                       return referOrdestroyCallbackService(channel, url, pts[paraIndex], inv, Integer.parseInt(inv.getAttachment(INV_ATT_CALLBACK_KEY + paraIndex)), true);
                   } catch (Exception e) {
                       logger.error(e.getMessage(), e);
                       throw new IOException(StringUtils.toString(e));
                   }
   ```
   

----------------------------------------------------------------
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:
users@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org
For additional commands, e-mail: notifications-help@dubbo.apache.org