[GitHub] willlau0524 commented on issue #1765: 使用@Reference注解,如果对应服务没有实例,报错之后这个对象一直为空

2018-05-10 Thread GitBox
willlau0524 commented on issue #1765: 使用@Reference注解,如果对应服务没有实例,报错之后这个对象一直为空 URL: https://github.com/apache/incubator-dubbo/issues/1765#issuecomment-387964511 不是楼上那个问题,正常有实例是没有问题的 最近发现,就算是用 ReferenceConfig如果是在第一次 get()的时候也报错,那么还是会出现这样的问题 猜想应该是dubbo的机制?初始化的时候必须有实例,否则就直接报错

[GitHub] willlau0524 commented on issue #1765: 使用@Reference注解,如果对应服务没有实例,报错之后这个对象一直为空

2018-05-09 Thread GitBox
willlau0524 commented on issue #1765: 使用@Reference注解,如果对应服务没有实例,报错之后这个对象一直为空 URL: https://github.com/apache/incubator-dubbo/issues/1765#issuecomment-38792 异常栈: java.lang.reflect.InvocationTargetException: null at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)