-
Notifications
You must be signed in to change notification settings - Fork 2.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
DEV UI NPE when channel not configured. #15293
Comments
cc @mkouba :) |
Hm, I thought that an |
Even if it was the case, I would try to be safe in the UI. Because if things change at some point, we won't notice it. |
@mkouba it should fail, yes, but only on recent Smallrye Reactive Messaging. |
I see. Anyway, the NPE should be fixed in the linked PR. |
- resolves quarkusio#15293 (cherry picked from commit eea49d4)
Describe the bug
DEV UI throws NPE when you have @incoming annotated method without input.
Expected behavior
DEV UI messaging part should not expect that everything is always connected. Throughout development it can happen to have channels which are not connected to any input.
Actual behavior
Internal server error because of NPE.
publisher
is null in DevChannelInfo class.To Reproduce
Steps to reproduce the behavior:
Environment (please complete the following information):
Environment information is not need here.
uname -a
orver
: Darwin Kernel Version 20.3.0java -version
: Java version: 1.8.0_281, vendor: Oracle Corporationmvnw --version
orgradlew --version
): Apache Maven 3.6.3Additional context
Stack trace:
The text was updated successfully, but these errors were encountered: