You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@rocketmq.apache.org by "majialoong (via GitHub)" <gi...@apache.org> on 2025/11/04 16:29:02 UTC
[PR] [ISSUE #9809] Fix NPE in getAcl when subject is null [rocketmq]
majialoong opened a new pull request, #9810:
URL: https://github.com/apache/rocketmq/pull/9810
<!-- Please make sure the target branch is right. In most case, the target branch should be `develop`. -->
### Which Issue(s) This PR Fixes
<!-- Please ensure that the related issue has already been created, and [link this pull request to that issue using keywords](<https://docs.github.com/en/issues/tracking-your-work-with-issues/linking-a-pull-request-to-an-issue#linking-a-pull-request-to-an-issue-using-a-keyword>) to ensure automatic closure. -->
Fixes #9809
### Brief Description
Provide more user-friendly error messages.
And in the `subjectFuture#thenCompose` method, use the correct `sub`, not `subject`.
### How Did You Test This Change?
unit test and local test
<img width="833" height="178" alt="Image" src="https://github.com/user-attachments/assets/f557e26b-e08e-4748-835a-01fe66772967" />
--
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: commits-unsubscribe@rocketmq.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] [ISSUE #9809] Fix NPE in getAcl when subject is null [rocketmq]
Posted by "majialoong (via GitHub)" <gi...@apache.org>.
majialoong commented on PR #9810:
URL: https://github.com/apache/rocketmq/pull/9810#issuecomment-3496093958
Hi, @dingshuangxi888 @lizhimins @RongtongJin When you have a moment, please take a look at this PR. Thanks !
--
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: commits-unsubscribe@rocketmq.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] [ISSUE #9809] Fix NPE in getAcl when subject is null [rocketmq]
Posted by "RongtongJin (via GitHub)" <gi...@apache.org>.
RongtongJin merged PR #9810:
URL: https://github.com/apache/rocketmq/pull/9810
--
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: commits-unsubscribe@rocketmq.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] [ISSUE #9809] Fix NPE in getAcl when subject is null [rocketmq]
Posted by "codecov-commenter (via GitHub)" <gi...@apache.org>.
codecov-commenter commented on PR #9810:
URL: https://github.com/apache/rocketmq/pull/9810#issuecomment-3487064403
## [Codecov](https://app.codecov.io/gh/apache/rocketmq/pull/9810?dropdown=coverage&src=pr&el=h1&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache) Report
:x: Patch coverage is `84.61538%` with `2 lines` in your changes missing coverage. Please review.
:white_check_mark: Project coverage is 48.28%. Comparing base ([`d7c8bb7`](https://app.codecov.io/gh/apache/rocketmq/commit/d7c8bb7341e00864c96123e6bdb1a0daedf4a4c1?dropdown=coverage&el=desc&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache)) to head ([`e11cf82`](https://app.codecov.io/gh/apache/rocketmq/commit/e11cf828e3db41a956985b122f42f1009d72d6a6?dropdown=coverage&el=desc&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache)).
| [Files with missing lines](https://app.codecov.io/gh/apache/rocketmq/pull/9810?dropdown=coverage&src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache) | Patch % | Lines |
|---|---|---|
| [...tion/manager/AuthorizationMetadataManagerImpl.java](https://app.codecov.io/gh/apache/rocketmq/pull/9810?src=pr&el=tree&filepath=auth%2Fsrc%2Fmain%2Fjava%2Forg%2Fapache%2Frocketmq%2Fauth%2Fauthorization%2Fmanager%2FAuthorizationMetadataManagerImpl.java&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache#diff-YXV0aC9zcmMvbWFpbi9qYXZhL29yZy9hcGFjaGUvcm9ja2V0bXEvYXV0aC9hdXRob3JpemF0aW9uL21hbmFnZXIvQXV0aG9yaXphdGlvbk1ldGFkYXRhTWFuYWdlckltcGwuamF2YQ==) | 84.61% | [1 Missing and 1 partial :warning: ](https://app.codecov.io/gh/apache/rocketmq/pull/9810?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache) |
<details><summary>Additional details and impacted files</summary>
```diff
@@ Coverage Diff @@
## develop #9810 +/- ##
=============================================
- Coverage 48.42% 48.28% -0.15%
+ Complexity 12268 12230 -38
=============================================
Files 1314 1314
Lines 93670 93674 +4
Branches 12012 12013 +1
=============================================
- Hits 45360 45230 -130
- Misses 42712 42839 +127
- Partials 5598 5605 +7
```
</details>
[:umbrella: View full report in Codecov by Sentry](https://app.codecov.io/gh/apache/rocketmq/pull/9810?dropdown=coverage&src=pr&el=continue&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache).
:loudspeaker: Have feedback on the report? [Share it here](https://about.codecov.io/codecov-pr-comment-feedback/?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache).
<details><summary> :rocket: New features to boost your workflow: </summary>
- :snowflake: [Test Analytics](https://docs.codecov.com/docs/test-analytics): Detect flaky tests, report on failures, and find test suite problems.
</details>
--
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: commits-unsubscribe@rocketmq.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org