alibaba/nacos · error · NacosException

SERVER_ERROR

SERVER_ERROR

Error message

empty Result

What it means

Error "empty Result" thrown in alibaba/nacos.

Source

Thrown at console/src/main/java/com/alibaba/nacos/console/handler/impl/remote/ai/PipelineRemoteHandler.java:65

    }
    
    @Override
    public PipelineExecution getPipeline(String pipelineId) throws NacosException {
        return unwrapSuccessData(
            clientHolder.getAiMaintainerService().pipeline().getPipelineDetail(pipelineId));
    }
    
    @Override
    public Page<PipelineExecution> listPipelines(String resourceType, String resourceName,
        String namespaceId, String version, int pageNo, int pageSize) throws NacosException {
        return unwrapSuccessData(clientHolder.getAiMaintainerService().pipeline()
            .listPipelineExecutions(resourceType, resourceName, namespaceId, version, pageNo,
                pageSize));
    }
    
    private static <T> T unwrapSuccessData(Result<T> result) throws NacosException {
        if (result == null) {
            throw new NacosException(NacosException.SERVER_ERROR, "empty Result");
        }
        Integer code = result.getCode();
        if (ErrorCode.SUCCESS.getCode().equals(code) || Integer.valueOf(200).equals(code)) {
            return result.getData();
        }
        throw new NacosException(NacosException.SERVER_ERROR, result.getMessage());
    }
}

View on GitHub (pinned to 9b989acdf1)

Solutions

  1. Review the input and runtime state for pipeline remote empty result, correct the reported problem, and retry.

When it happens

Trigger: Thrown at console/src/main/java/com/alibaba/nacos/console/handler/impl/remote/ai/PipelineRemoteHandler.java:65 when the library encounters an invalid state.

Common situations: The remote pipeline API returned an empty Result body.


AI-assisted analysis of alibaba/nacos@9b989acdf1 (2026-08-14). Data as JSON: /api/errors/178c003b89ec00a0. Report an issue: GitHub.