Get 2024 Templates Mega Bundle!$1000 worth of 19 Bootstrap HTML, Vue & React Templates + 3 Vector Sets for just $99
Get for 99$

Unhandled exception in plugins.bundle.js with Visual Studio 17.11.3


Good morning,
I have updated visual studio from 17.10 to 17.11, in particular to 17.11.3 ad since the update with javascript debug enabled the debugger stops with an Unhandled exception every time a page is loaded. I haven't made any changes to my code after updating visual studio.

The stack trace signals problems only within the plugins.bundle.js file I don't know if this is a limit of Visual Studio or if it's actually an initialisation problem within the file.

The line where the debugger stops is:

var promiseRequiresObjectContext = throwsError(function () { return globals.Promise.call(3, noop); });

with TypeError: Promise constructor cannot be invoked without 'new'


Text formatting options
Submit
Here's a how to add some HTML formatting to your comment:
  • <pre></pre> for JS codes block
  • <pre lang="html"></pre> for HTML code block
  • <pre lang="scss"></pre> for SCSS code block
  • <pre lang="php"></pre> for PHP code block
  • <code></code> for single line of code
  • <strong></strong> to make things bold
  • <em></em> to emphasize
  • <ul><li></li></ul>  to make list
  • <ol><li></li></ol>  to make ordered list
  • <h3></h3> to make headings
  • <a></a> for links
  • <img> to paste in an image
  • <blockquote></blockquote> to quote somebody
  • happy  :)
  • shocked  :|
  • sad  :(

Replies (7)


this issue related with chrome compatibility because this error isn't show while debug vs with JavaScript debugging against Firefox for example



It sounds like you’re encountering an issue with Visual Studio, specifically with the plugins.bundle.js file. Ensure that both Visual Studio product photo editing company and any relevant plugins or extensions are up to date. Sometimes, problems are resolved in newer releases. Use the Visual Studio Installer to repair your Visual Studio installation.



Hi,

May I know which template and version are you using ? Are you getting this as warning in the code editor on on your browser console ?

To work with our HTML template code you should use Visual Code, since our HTML can not be properly edited using Visual Studio builder.

Regards,
Sean



I'm using 8.2.6 (bootstrap).

When I activate the options "Enable JavaScript debugging for ASP.NET (Chrome, Edge and IE)" in Tools->Options->Debugging->General menu and launch the project in debug the execution stops with an unhandled exception in the plugins.bundle.js file. It's the same behaviuor Visual Studio has when an unhandled exception is launched in c# code.

There are no warnings/errors within the console.

I'm not making any modifications to the files, I'll check if any of my colleague has made any modifications.



Hi,

Can you try to get the latest Metronic 8.2.7 version ?

You can download the latest version of Metronic from themeforest, refer to the Google Drive link from README.md and download it from Google Drive link.

Regards,
Sean



Hi, we have update to versione 8.2.7: the behaviour with visual studio is still the same but the point where the exception is thrown is different. It's immediately after the es6-shim copyright notice.

It also seems that, even if visual studio breaks with an unhandled exception, continuing process execution don't lead to no errors either reported or in the components used in the page.

I've disabled some exception tracking options in visual studio and everything seems working. I'll continue working with this configuration, I'll get back in touch if I find out that some components are affected.



Hi,

Thank you for the update! The plan sounds solid. Wishing you all the best with your projects.

Regards,
Sean


Text formatting options
Submit
Here's a how to add some HTML formatting to your comment:
  • <pre></pre> for JS codes block
  • <pre lang="html"></pre> for HTML code block
  • <pre lang="scss"></pre> for SCSS code block
  • <pre lang="php"></pre> for PHP code block
  • <code></code> for single line of code
  • <strong></strong> to make things bold
  • <em></em> to emphasize
  • <ul><li></li></ul>  to make list
  • <ol><li></li></ol>  to make ordered list
  • <h3></h3> to make headings
  • <a></a> for links
  • <img> to paste in an image
  • <blockquote></blockquote> to quote somebody
  • happy  :)
  • shocked  :|
  • sad  :(
Text formatting options
Submit
Here's a how to add some HTML formatting to your comment:
  • <pre></pre> for JS codes block
  • <pre lang="html"></pre> for HTML code block
  • <pre lang="scss"></pre> for SCSS code block
  • <pre lang="php"></pre> for PHP code block
  • <code></code> for single line of code
  • <strong></strong> to make things bold
  • <em></em> to emphasize
  • <ul><li></li></ul>  to make list
  • <ol><li></li></ol>  to make ordered list
  • <h3></h3> to make headings
  • <a></a> for links
  • <img> to paste in an image
  • <blockquote></blockquote> to quote somebody
  • happy  :)
  • shocked  :|
  • sad  :(