Skip to content

Commit

Permalink
NPE fix (#22886) (#22922)
Browse files Browse the repository at this point in the history
* Output information about what's being broadcast

* Expose/promote QNameString in Logging to allow other logging locations to get a formatted FullQName

* Revert inadvertent build_overrides/pigweed_environment.gni

This partially reverts commit 15639cf.

# Conflicts:
#	build_overrides/pigweed_environment.gni

* Update BUILD.gn deps for QNameString & move it to its own file to avoid circular deps in /responders

* Remove unnecessary StringBuilder addition as QNameString is now in its own file

* Restyled by whitespace

* Restyled by clang-format

* Check for null params

Co-authored-by: Restyled.io <commits@restyled.io>

Co-authored-by: Marcos B <15697303+gmarcosb@users.noreply.github.com>
Co-authored-by: Restyled.io <commits@restyled.io>
  • Loading branch information
3 people committed Sep 28, 2022
1 parent f4effe5 commit 3fb7741
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,9 @@ public static void loadJni() {
* ID
*/
public ChipDeviceController(ControllerParams params) {
if (params == null) {
throw new NullPointerException("params cannot be null");
}
deviceControllerPtr = newDeviceController(params);
}

Expand Down

0 comments on commit 3fb7741

Please sign in to comment.