← Back to team overview

ubuntu-sdk-bugs team mailing list archive

[Bug 1244660] Re: MainView.qml:257: TypeError: Cannot call method 'hasOwnProperty' of null

 

** Changed in: ubuntu-ui-toolkit (Ubuntu)
     Assignee: (unassigned) => Tim Peeters (tpeeters)

** Changed in: ubuntu-ui-toolkit
       Status: Fix Committed => Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
SDK bug tracking, which is subscribed to ubuntu-ui-toolkit in Ubuntu.
https://bugs.launchpad.net/bugs/1244660

Title:
  MainView.qml:257: TypeError: Cannot call method 'hasOwnProperty' of
  null

Status in Ubuntu UI Toolkit:
  Fix Released
Status in “ubuntu-ui-toolkit” package in Ubuntu:
  Fix Released

Bug description:
  I’ve seen the following error message printed out in the console in a
  variety of situations for applications using a MainView:

      file:///usr/lib/x86_64-linux-
  gnu/qt5/qml/Ubuntu/Components/MainView.qml:257: TypeError: Cannot call
  method 'hasOwnProperty' of null

  It might be harmless (seems so at a first glance, at least the
  applications’ functionality doesn’t seem affected), but either way it
  should be easy to add a check in order to avoid the error message.

  One way to reliably reproduce is with webbrowser-app, reveal the
  toolbar and click the activity button to show the activity view, then
  reveal the toolbar and click the activity button again to hide the
  view.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu-ui-toolkit/+bug/1244660/+subscriptions