{"record":{"id":"354660c2d1819fb5","repo":"alibaba/nacos","slug":"500-354660","errorCode":"500","errorMessage":"empty response body","messagePattern":"empty response body","errorType":"exception","errorClass":"NacosException","httpStatus":null,"severity":"error","filePath":"maintainer-client/src/main/java/com/alibaba/nacos/maintainer/client/ai/PipelineMaintainerServiceImpl.java","lineNumber":168,"sourceCode":"    private Map<String, String> buildListQueryParams(String resourceType, String resourceName,\n        String namespaceId,\n        String version, int pageNo, int pageSize) {\n        Map<String, String> params = new HashMap<>(8);\n        params.put(\"resourceType\", resourceType);\n        putIfNotBlank(params, \"resourceName\", resourceName);\n        putIfNotBlank(params, \"namespaceId\", namespaceId);\n        putIfNotBlank(params, \"version\", version);\n        params.put(\"pageNo\", String.valueOf(pageNo));\n        params.put(\"pageSize\", String.valueOf(pageSize));\n        return params;\n    }\n    \n    private static <T> Result<T> parseResultFromHttp(HttpRestResult<String> restResult,\n        NacosTypeReference<Result<T>> typeReference)\n        throws NacosException {\n        String body = restResult.getData();\n        if (StringUtils.isBlank(body)) {\n            throw new NacosException(NacosException.SERVER_ERROR, \"empty response body\");\n        }\n        try {\n            Result<T> result = JsonUtils.toObj(body, typeReference);\n            if (result == null) {\n                throw new NacosException(NacosException.SERVER_ERROR,\n                    \"failed to parse Result wrapper\");\n            }\n            return result;\n        } catch (Exception e) {\n            throw new NacosException(NacosException.SERVER_ERROR,\n                \"failed to parse Result: \" + e.getMessage(), e);\n        }\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        }","sourceCodeStart":150,"sourceCodeEnd":186,"githubUrl":"https://github.com/alibaba/nacos/blob/9b989acdf181d00898f2e8839257bb2b2a3cefe3/maintainer-client/src/main/java/com/alibaba/nacos/maintainer/client/ai/PipelineMaintainerServiceImpl.java#L150-L186","documentation":"Error \"empty response body\" thrown in alibaba/nacos.","triggerScenarios":"Thrown at maintainer-client/src/main/java/com/alibaba/nacos/maintainer/client/ai/PipelineMaintainerServiceImpl.java:168 when the library encounters an invalid state.","commonSituations":"The pipeline maintainer API returned an empty response body.","solutions":["Review the input and runtime state for pipeline empty response body, 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"}