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.

mergeTo TypeError: Cannot read property 'isPlaying' of null

See original GitHub issue

Description:

  • A-Frame Version: 0.7.0
  • Platform / Device: chrome
  • Reproducible Code Snippet or URL:

hello i tried to merge two objects with this simple code

<a-entity id="target" geometry="primitive: box; buffer: false; skipCache: true" material="color: red"></a-entity>
<a-entity geometry="primitive: box; buffer: false; skipCache: true; mergeTo: #target"
          material="color: red" position="1 2 3"></a-entity>

and i receive this error

ERROR Error: Uncaught (in promise): TypeError: Cannot read property ‘isPlaying’ of null TypeError: Cannot read property ‘isPlaying’ of null

how is possible? i just tried the example of this page

https://github.com/aframevr/aframe/blob/master/docs/components/geometry.md

Issue Analytics

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

github_iconTop GitHub Comments

2reactions
ngokevincommented, Oct 23, 2017

I think we should remove the mergeTo property, it works better if done manually versus declaratively (and it seems stale). I’d recommend merging manually in an A-Frame component what you need.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Uncaught TypeError: Cannot read property 'play' of null
Can anyone help me understand why I am getting this "Uncaught TypeError: Cannot read property 'play' of null" error in my console?
Read more >
store ReactComponent in an object's property as a reference ...
How to get reference to store in react/redux? ... How can you merge two objects into same property in JavaScript? TypeError: Cannot read...
Read more >
how to merge two arrays of objects in javascript without ...
Javascript: Merge Two Arrays of Objects, Only If Not Duplicate (Based on Specified ... TypeError: Cannot read property 'value' of null at HTMLButtonElement....
Read more >
Known Issues for Oracle Analytics Server
This document describes information about known software issues and their workarounds for this release of Oracle Analytics Server.
Read more >
Jira Software knowledge base - Atlassian Documentation
... Activity stream gadgets for JIRA are not displaying on IE11 ... Advanced Roadmaps plans display blank with Cannot read property ...
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