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

3.18.0-beta.5: Error: "Error attempted to close a tracking frame, but one was not open" #18865

Closed
scottmessinger opened this issue Apr 10, 2020 · 3 comments

Comments

@scottmessinger
Copy link

I'm super confused by this error I just ran into after upgrading to 3.18.0-beta.5.

`Error attempted to close a tracking frame, but one was not open `
endTrackFrame@https://localhost:4200/assets/vendor.js:71789:13
track@https://localhost:4200/assets/vendor.js:71879:13
value@https://localhost:4200/assets/vendor.js:63061:47
value@https://localhost:4200/assets/vendor.js:64494:37
initialize@https://localhost:4200/assets/vendor.js:62486:53
peek@https://localhost:4200/assets/vendor.js:62455:21
@https://localhost:4200/assets/vendor.js:66275:18
evaluate@https://localhost:4200/assets/vendor.js:65485:19
evaluateSyscall@https://localhost:4200/assets/vendor.js:68458:22
evaluateInner@https://localhost:4200/assets/vendor.js:68414:14
evaluateOuter@https://localhost:4200/assets/vendor.js:68406:14
next@https://localhost:4200/assets/vendor.js:69393:24
execute@https://localhost:4200/assets/vendor.js:69377:23
handleException@https://localhost:4200/assets/vendor.js:68586:23
handleException@https://localhost:4200/assets/vendor.js:68762:31
throw@https://localhost:4200/assets/vendor.js:68506:18
evaluate@https://localhost:4200/assets/vendor.js:66334:12
execute@https://localhost:4200/assets/vendor.js:68489:16
rerender@https://localhost:4200/assets/vendor.js:68790:10
RootState/this.render/this.render@https://localhost:4200/assets/vendor.js:26998:36
runInAutotrackingTransaction@https://localhost:4200/assets/vendor.js:71271:9
_renderRoots/<@https://localhost:4200/assets/vendor.js:27299:59
inTransaction@https://localhost:4200/assets/vendor.js:65436:9
_renderRoots@https://localhost:4200/assets/vendor.js:27273:37
_renderRootsTransaction@https://localhost:4200/assets/vendor.js:27334:14
_revalidate@https://localhost:4200/assets/vendor.js:27376:12
invokeWithOnError@https://localhost:4200/assets/vendor.js:72944:18
flush@https://localhost:4200/assets/vendor.js:72825:19
flush@https://localhost:4200/assets/vendor.js:73031:21
_end@https://localhost:4200/assets/vendor.js:73585:34
Backburner/this._boundAutorunEnd@https://localhost:4200/assets/vendor.js:73234:14

The error appears to originate from here:

export default class MenuComponent extends Component<Args> {
  get hasUsedTemplates() {
    return this.args.usedTemplates?.content?.length > 0
  }
}
  {{#if this.hasUsedTemplates}}
    <div></div>
  {{/if}}

I went version by version from 3.17.2 through 3.18.0-beta.5 to see where the error started and it only happens in 3.18.0-beta.5. The only commit that is unique to beta.5 seems to be this one:

#18861

Is there something I'm doing wrong? Or, is this a bug introduced by that commit?

@bendemboski
Copy link
Contributor

FYI, this has been discussed in Ember discord, and it looks @pzuraq has a line on a fix.

@pzuraq
Copy link
Contributor

pzuraq commented Apr 11, 2020

yeah, I'll get to it this week for sure, definitely need to get this fixed asap!

@pzuraq
Copy link
Contributor

pzuraq commented Apr 13, 2020

This should be fixed by #18869

@pzuraq pzuraq closed this as completed Apr 13, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants