- severity: High
- files:
shenyu-admin/src/main/java/org/apache/shenyu/admin/service/impl/InstanceInfoServiceImpl.java:91-94
- description: The method body is literally
return null; — it never reads from instanceInfoMapper. InstanceController.detailInstanceInfo calls this and returns the null as the response data.
- impact: The instance detail endpoint (
GET /instance/{id}, gated by system:instance:edit) always returns null data; the feature is non-functional.
- suggested_fix: Implement
findById to query instanceInfoMapper.selectById(id) and map via buildInstanceInfoVO.
- confidence: High
- related_existing: none.
Identified during the 2026-08-02 deep re-scan; full list in docs/scan2-2026-08-02/00-consolidated-critical-high.md.
shenyu-admin/src/main/java/org/apache/shenyu/admin/service/impl/InstanceInfoServiceImpl.java:91-94return null;— it never reads frominstanceInfoMapper.InstanceController.detailInstanceInfocalls this and returns the null as the responsedata.GET /instance/{id}, gated bysystem:instance:edit) always returns null data; the feature is non-functional.findByIdto queryinstanceInfoMapper.selectById(id)and map viabuildInstanceInfoVO.Identified during the 2026-08-02 deep re-scan; full list in
docs/scan2-2026-08-02/00-consolidated-critical-high.md.