Skip to content

Commit

Permalink
NPE fix (#22886)
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 <[email protected]>
  • Loading branch information
2 people authored and pull[bot] committed Feb 22, 2024
1 parent ef9f9cb commit 5693809
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 5693809

Please sign in to comment.