Code Monkey home page Code Monkey logo

Comments (5)

rionmonster avatar rionmonster commented on May 25, 2024

Thanks for reporting this @cihanuygun.

I'll take a look at it when I get the chance soon. Do you by chance have any type of example solution or project (or even a Gist) that can easily reproduce this issue? I have Glyphfriend installed and I know that I have typed document.getElementById(...) at least a few times since installing it.

from glyphfriend.

cihanuygun avatar cihanuygun commented on May 25, 2024

You are welcome @rionmonster trying to keep good things working well. But I do not know why I could not reproduce this issue on the other (clean new) solutions but only in my private project which includes business logics so I could not share that project.

You can see the javascript code which casues the exception. Take a look @ line 21 https://gist.github.com/cihanuygun/c1d724804574c8fa1505036bb7b89433

Also when I find a chance to debug extension I will try to find issue and report it directly.

from glyphfriend.

Shtong avatar Shtong commented on May 25, 2024

Hello

I am having the same issue and have a pretty straightforward way to reproduce it on my setup. Stack trace is the same as the one presented by @cihanuygun

First off, the environment:

Microsoft Visual Studio Community 2015
Version 14.0.25123.00 Update 2
Microsoft .NET Framework
Version 4.6.01055

Installed Version: Community

Visual Basic 2015 00322-20000-00000-AA241
Visual C# 2015 00322-20000-00000-AA241
Visual C++ 2015 00322-20000-00000-AA241
Visual F# 2015 00322-20000-00000-AA241
Add New File 3.3
ASP.NET and Web Tools 2015 (RC1 Update 1) 14.1.20203.0
ASP.NET Web Frameworks and Tools 2012.2 4.1.41102.0
ASP.NET Web Frameworks and Tools 2013 5.2.40314.0
Azure App Service Tools v2.9 14.0.20316.0
Azure Data Lake Node 1.0
Azure Data Lake Tools for Visual Studio 2.0.6000.0
Common Azure Tools 1.7
GhostDoc 5.1.16036.0
GitHub.VisualStudio 1.0
Image Optimizer 3.6.89
JavaScript Language Service 2.0
JavaScript Project System 2.0
Microsoft Azure HDInsight HQL Service 2.0.6000.0
Microsoft Azure HDInsight Tools for Visual Studio 2.0.6000.0
Microsoft Azure Mobile Services Tools 1.4
Microsoft Azure Tools 2.7
Microsoft Azure Tools 2.9
NuGet Package Manager 3.4.3
Open Command Line 2.1.169
PreEmptive Analytics Visualizer 1.2
Python Tools for Visual Studio 2.2.40315.00
Python Tools for Visual Studio - Django Integration 2.2.40315.00
Python Tools for Visual Studio - Profiling Support 2.2.40315.00
SQL Server Data Tools 14.0.60311.1
ToolWindowHostedEditor 1.0
TypeScript 1.8.30.0
Visual Rust 0.1
Web Accessibility Checker 1.1.25
Web Analyzer 1.7.75
Web Compiler 1.10.306
Web Essentials 2015.2 2.0.214

I just installed the extension among all those included in the "Web Extension Pack" https://visualstudiogallery.msdn.microsoft.com/f3b504c6-0095-42f1-a989-51d5fc2a8459 and didn't make the test with only Glyphfriend installed.

Repro steps:

  1. Open VS
  2. Create a new projet: Visual C# -> Web -> ASP.NET Web Application
  3. Choose ASP.NET 5 Templates -> Web Application, with default settings (Individual user accout authentication, no cloud).
  4. In the new project, open wwwroot/js/site.js
  5. In the opened file, type the following:
// Write your Javascript code.
function yo() {
    document.getElementById();
}
  1. While inside the getElementById parenthisis, press your double quotes key. Visual Studio crashes there.

Hope this helps

from glyphfriend.

rionmonster avatar rionmonster commented on May 25, 2024

@Shtong

I really appreciate the repro. I'll check this out as soon as I get a chance and push up a fix for it. Null references are usually 🍰 to fix.

from glyphfriend.

rionmonster avatar rionmonster commented on May 25, 2024

This should be resolved in the latest release 1.5; Closing for now.

from glyphfriend.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.