{"record":{"id":"178c003b89ec00a0","repo":"alibaba/nacos","slug":"server-error-178c00","errorCode":"SERVER_ERROR","errorMessage":"empty Result","messagePattern":"empty Result","errorType":"exception","errorClass":"NacosException","httpStatus":500,"severity":"error","filePath":"console/src/main/java/com/alibaba/nacos/console/handler/impl/remote/ai/PipelineRemoteHandler.java","lineNumber":65,"sourceCode":"    }\n    \n    @Override\n    public PipelineExecution getPipeline(String pipelineId) throws NacosException {\n        return unwrapSuccessData(\n            clientHolder.getAiMaintainerService().pipeline().getPipelineDetail(pipelineId));\n    }\n    \n    @Override\n    public Page<PipelineExecution> listPipelines(String resourceType, String resourceName,\n        String namespaceId, String version, int pageNo, int pageSize) throws NacosException {\n        return unwrapSuccessData(clientHolder.getAiMaintainerService().pipeline()\n            .listPipelineExecutions(resourceType, resourceName, namespaceId, version, pageNo,\n                pageSize));\n    }\n    \n    private static <T> T unwrapSuccessData(Result<T> result) throws NacosException {\n        if (result == null) {\n            throw new NacosException(NacosException.SERVER_ERROR, \"empty Result\");\n        }\n        Integer code = result.getCode();\n        if (ErrorCode.SUCCESS.getCode().equals(code) || Integer.valueOf(200).equals(code)) {\n            return result.getData();\n        }\n        throw new NacosException(NacosException.SERVER_ERROR, result.getMessage());\n    }\n}\n","sourceCodeStart":47,"sourceCodeEnd":74,"githubUrl":"https://github.com/alibaba/nacos/blob/9b989acdf181d00898f2e8839257bb2b2a3cefe3/console/src/main/java/com/alibaba/nacos/console/handler/impl/remote/ai/PipelineRemoteHandler.java#L47-L74","documentation":"Error \"empty Result\" thrown in alibaba/nacos.","triggerScenarios":"Thrown at console/src/main/java/com/alibaba/nacos/console/handler/impl/remote/ai/PipelineRemoteHandler.java:65 when the library encounters an invalid state.","commonSituations":"The remote pipeline API returned an empty Result body.","solutions":["Review the input and runtime state for pipeline remote empty result, 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"}