You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@shenyu.apache.org by "Aias00 (via GitHub)" <gi...@apache.org> on 2026/08/03 00:51:00 UTC
[I] [BUG] NPE/IndexOutOfBoundsException when request param is null or empty [shenyu]
Aias00 opened a new issue, #6651:
URL: https://github.com/apache/shenyu/issues/6651
- severity: High
- files: `shenyu-plugin/shenyu-plugin-proxy/shenyu-plugin-rpc/shenyu-plugin-grpc/src/main/java/org/apache/shenyu/plugin/grpc/client/ShenyuGrpcClient.java:75,81`
- description: When `parameterTypes` is blank, `param` can be null and execution reaches `client.call()`. Inside `call()`, line 75 `GsonUtils.getInstance().toObjectMap(requestJsons)` with null returns null; `JsonMessage.buildJsonMessageList(null)` NPEs. Even if it returns an empty list, line 81 `jsonRequestList.get(0)` throws `IndexOutOfBoundsException`.
- impact: gRPC methods with no parameter types crash with an uncaught exception instead of being proxied.
- suggested_fix: Handle null/blank `requestJsons` by building a single default empty DynamicMessage.
- 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`](docs/scan2-2026-08-02/00-consolidated-critical-high.md)._
--
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: notifications-unsubscribe@shenyu.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] [BUG] NPE/IndexOutOfBoundsException when request param is null or empty [shenyu]
Posted by "wy471x (via GitHub)" <gi...@apache.org>.
wy471x commented on issue #6651:
URL: https://github.com/apache/shenyu/issues/6651#issuecomment-5741871159
/assign
--
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: notifications-unsubscribe@shenyu.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] [BUG] NPE/IndexOutOfBoundsException when request param is null or empty [shenyu]
Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on issue #6651:
URL: https://github.com/apache/shenyu/issues/6651#issuecomment-5161211571
👋 Hello @Aias00
A new issue has been opened by @Aias00:
- **Title**: [BUG] NPE/IndexOutOfBoundsException when request param is null or empty
- **Link**: https://github.com/apache/shenyu/issues/6651
Please review when you have time. Thank you! 🙏
--
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: notifications-unsubscribe@shenyu.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] [BUG] NPE/IndexOutOfBoundsException when request param is null or empty [shenyu]
Posted by "Aias00 (via GitHub)" <gi...@apache.org>.
Aias00 closed issue #6651: [BUG] NPE/IndexOutOfBoundsException when request param is null or empty
URL: https://github.com/apache/shenyu/issues/6651
--
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: notifications-unsubscribe@shenyu.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org