Closed l343765828 closed 1 year ago
public class DubboLogFilter implements Filter { @Reference(version = "1.0.1",check = false) private GetId getid;
@Override public Result invoke(Invoker<?> invoker, Invocation invocation) throws RpcException { try { System.out.println("did:" + getid.getUidTest("a")); } catch (Exception e) { e.printStackTrace(); } finally { return invoker.invoke(invocation); } }
GetId is null
dubbo version is 2.7.5, How to solve?
@mercyblitz
@AlbumenJ
Duplicated with https://github.com/apache/dubbo/issues/11539
public class DubboLogFilter implements Filter { @Reference(version = "1.0.1",check = false) private GetId getid;
@Override public Result invoke(Invoker<?> invoker, Invocation invocation) throws RpcException { try { System.out.println("did:" + getid.getUidTest("a")); } catch (Exception e) { e.printStackTrace(); } finally { return invoker.invoke(invocation); } }
GetId is null
dubbo version is 2.7.5, How to solve?