Details
-
Bug
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
main
-
None
-
Ubuntu 18.04.3 LTS
Description
Steps to reproduce:
- Compile minifi-cpp with no CoAP support
- Configure C2 with nifi.c2.agent.protocol.class=CoapProtocol
- Start MiNiFi C++
Expected behavior:
Print an error message to stderr, produce a log message with log level of at least error and exit. Alternatively, produce a log message with log level of at least warning and continue execution without C2.
Actual behavior:
No output on stderr.
Error message logged with log level info.
Segmentation fault in C2Agent.cpp:329, trying to dereference C2Agent::protocol_, but it's null.
Attachments
Issue Links
- links to