Looks like we are missing some null checks in JsonCppNode. We have this
in only one of the get_node() methods but not in the other 2 overloads.
Looking at the crash report it is definitely one of the get_node()
methods attempting to dereference a null root node. I've linked a branch
to fix this.

** Branch linked: lp:~marcustomlinson/unity-scopes-api/lp-1494796

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1494796

Title:
  /usr/lib/arm-linux-gnueabihf/unity-
  scopes/smartscopesproxy:smartscopesproxy:
  src/lib_json/json_value.cpp:1177: const Json::Value&
  Json::Value::operator[](const char*) const: Assertion `type_ ==
  nullValue || type_ == objectValue' failed.

To manage notifications about this bug go to:
https://bugs.launchpad.net/canonical-devices-system-image/+bug/1494796/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to