question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Value Error in annotation.js

See original GitHub issue

annotation.js is throwing value error, probably some issue with templates file Unable to annotate any lable,

Why is the select tag on line 105 in annotator/templates/video.html , not having any options. 2f4217ce annotator/templates/video.html (Jeanine Harb 2018-01-09 22:00:06 +0100 105) <select id="states" name="states"> </select>

Error at this line: frame.state = document.querySelector('#states option:checked').value; in annotation.js

Uncaught TypeError: Cannot read property 'value' of null
    at Annotation.updateKeyframe (annotation.js:147)
    at Player.addAnnotationAtCurrentTimeFromRect (player.js:445)
    at PlayerView.$.on (player.js:177)
    at PlayerView.dispatch (jquery.js:5110)
    at PlayerView.elemData.handle (jquery.js:4918)
    at Object.trigger (jquery.js:8031)
    at jQuery.fn.init.triggerHandler (jquery.js:8105)
    at CreationRect.$.on (player.js:152)
    at CreationRect.dispatch (jquery.js:5110)
    at CreationRect.elemData.handle (jquery.js:4918)

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:6 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
jeanineharbcommented, Feb 2, 2018

Yes, I will upload a fix soon. Meanwhile, @reply4manish, if you are using the test data provided by the project, I suggest that you run the ./scripts/seed script again as described in the instructions.

0reactions
jeanineharbcommented, Feb 14, 2018

Pull request #137 fixes this issue.

Read more comments on GitHub >

github_iconTop Results From Across the Web

New "Missing annotation" error in flowjs 0.54.0 - Stack Overflow
It looks like the thing it wants to know is the type of value wrapped by the promise. In this case it looks...
Read more >
Asking for required annotations - Medium
We can fix this error by either annotating the field (Try Flow) or by marking the field as covariant which makes this no...
Read more >
Type Annotations in JavaScript - Fusebit
Type Annotations in Variables and Functions​​ If x is assigned to a number x = 10 , TypeScript will throw an error. However,...
Read more >
Errors are produced when X values are dates · Issue #5 - GitHub
Moment.js throws an error (Cannot read property 'undefined' of undefined) if the annotation's x-value is a date.
Read more >
Detect JavaScript errors on client using annotation with Java ...
For the test scenario, I created a test site which produce JS errors on some client use cases. I want to track them...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found