yykaue opened a new pull request, #6941:
URL: https://github.com/apache/shenyu/pull/6941

   Fixes #6519.
   
   AbstractShenyuClientRegisterServiceImpl#checkNamespacePluginRel previously 
accessed pluginDO.getId() without checking whether the plugin record existed. 
When pluginMapper.selectByName returned null, client registration failed with 
an internal NullPointerException.
   
   This PR:
   - Checks whether the target plugin exists before accessing its ID.
   - Throws the existing descriptive IllegalArgumentException when the plugin 
is missing.
   - Adds a regression test covering the missing-plugin scenario and its error 
message.
   
   Thanks @Aias00 for reporting this issue. Please review when convenient.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to