{"record":{"id":"639d1af9415aeea8","repo":"alibaba/nacos","slug":"can-not-find-implementation-of-for-type","errorCode":null,"errorMessage":"can not find implementation of {} for type {}","messagePattern":"can not find implementation of (.+?) for type (.+?)","errorType":"exception","errorClass":"RuntimeException","httpStatus":null,"severity":"error","filePath":"core/src/main/java/com/alibaba/nacos/core/remote/grpc/ConnectionGeneratorServiceDelegate.java","lineNumber":58,"sourceCode":"        System.getProperty(\"nacos.core.remote.connection.generator\", \"nacos\");\n    \n    private ConnectionGeneratorService connectionGeneratorService = null;\n    \n    private static final Logger LOGGER =\n        LoggerFactory.getLogger(ConnectionGeneratorServiceDelegate.class);\n    \n    private ConnectionGeneratorServiceDelegate() {\n        for (ConnectionGeneratorService connectionGeneratorService : NacosServiceLoader\n            .load(ConnectionGeneratorService.class)) {\n            if (connectionGeneratorService.getType().equals(connectionGeneratorType)) {\n                this.connectionGeneratorService = connectionGeneratorService;\n                LoggerUtils.printIfInfoEnabled(LOGGER, \"{} has been loaded, class: {}\",\n                    connectionGeneratorType, connectionGeneratorService.getClass().getName());\n            }\n        }\n        \n        if (Objects.isNull(connectionGeneratorService)) {\n            throw new RuntimeException(\"can not find implementation of \"\n                + ConnectionGeneratorService.class.getName() + \" for type \"\n                + connectionGeneratorType);\n        }\n    }\n    \n    private static final ConnectionGeneratorServiceDelegate INSTANCE =\n        new ConnectionGeneratorServiceDelegate();\n    \n    public static ConnectionGeneratorServiceDelegate getInstance() {\n        return INSTANCE;\n    }\n    \n    public Connection getConnection(ConnectionMeta metaInfo, StreamObserver streamObserver,\n        Channel channel) {\n        return connectionGeneratorService.getConnection(metaInfo, streamObserver, channel);\n    }\n}\n","sourceCodeStart":40,"sourceCodeEnd":76,"githubUrl":"https://github.com/alibaba/nacos/blob/9b989acdf181d00898f2e8839257bb2b2a3cefe3/core/src/main/java/com/alibaba/nacos/core/remote/grpc/ConnectionGeneratorServiceDelegate.java#L40-L76","documentation":"Error \"can not find implementation of {} for type {}\" thrown in alibaba/nacos.","triggerScenarios":"Thrown at core/src/main/java/com/alibaba/nacos/core/remote/grpc/ConnectionGeneratorServiceDelegate.java:58 when the library encounters an invalid state.","commonSituations":"No connection generator implementation exists for the requested type.","solutions":["Review the input and runtime state for connection generator impl missing, correct the reported problem, and retry."],"exampleFix":null,"handlingStrategy":null,"validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"9b989acdf181d00898f2e8839257bb2b2a3cefe3","analyzedAt":"2026-08-14T07:17:31.569Z","schemaVersion":2},"datasetVersion":"2026-08-14T10:17:34.591Z"}