Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CVAT new UI: Cannot read property 'annotations' of null #1666

Closed
2 tasks done
azhavoro opened this issue Jun 8, 2020 · 1 comment · Fixed by #1705
Closed
2 tasks done

CVAT new UI: Cannot read property 'annotations' of null #1666

azhavoro opened this issue Jun 8, 2020 · 1 comment · Fixed by #1705
Assignees
Labels
bug Something isn't working
Milestone

Comments

@azhavoro
Copy link
Contributor

azhavoro commented Jun 8, 2020

My actions before raising this issue

TypeError: Cannot read property 'annotations' of null

Expected Behaviour

N/A

Current Behaviour

Exception occurs

Possible Solution

Steps to Reproduce (for bugs)

N/A

Context

Your Environment

  • Git hash commit (git log -1): 35badcc
  • Docker version docker version: Docker version 19.03.8, build afacb8b7f0
  • Are you using Docker Swarm or Kubernetes? No
  • Operating System and version (e.g. Linux, Windows, MacOS): Ubuntu 18.04
  • Code example or link to GitHub repo or gist to reproduce problem:
  • Other diagnostic information / logs:
    JS stack trace:
TypeError: Cannot read property 'annotations' of null
    at Lo.beforeUnloadCallback (https://cvat.org/cvat-ui.min.js:72:1177773)

Next steps

You may join our Gitter channel for community support.

@azhavoro azhavoro added the bug Something isn't working label Jun 8, 2020
@nmanovic nmanovic added this to the 1.1.0-alpha milestone Jun 22, 2020
@bsekachev bsekachev self-assigned this Jun 22, 2020
@bsekachev bsekachev modified the milestones: 1.1.0-alpha, 1.1.0-beta Jun 22, 2020
@bsekachev
Copy link
Member

bsekachev commented Jun 24, 2020

Steps to reproduce:

  1. Open tool (DO NOT OPEN A JOB)
  2. Go to settings
  3. Close the tab

beforeUnloadCallback is called and tries to read property annotations of jobInstance that is null.
It will be resolved with #1705.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants