{"action":"created","issue":{"url":"https://api.github.com/repos/Microsoft/poshtools/issues/634","labels_url":"https://api.github.com/repos/Microsoft/poshtools/issues/634/labels{/name}","comments_url":"https://api.github.com/repos/Microsoft/poshtools/issues/634/comments","events_url":"https://api.github.com/repos/Microsoft/poshtools/issues/634/events","html_url":"https://github.com/Microsoft/poshtools/issues/634","id":92500728,"number":634,"title":"Exception occured while typing in the REPL window ","user":{"login":"jinglou-","id":10081483,"avatar_url":"https://avatars.githubusercontent.com/u/10081483?v=3","gravatar_id":"","url":"https://api.github.com/users/jinglou-","html_url":"https://github.com/jinglou-","followers_url":"https://api.github.com/users/jinglou-/followers","following_url":"https://api.github.com/users/jinglou-/following{/other_user}","gists_url":"https://api.github.com/users/jinglou-/gists{/gist_id}","starred_url":"https://api.github.com/users/jinglou-/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jinglou-/subscriptions","organizations_url":"https://api.github.com/users/jinglou-/orgs","repos_url":"https://api.github.com/users/jinglou-/repos","events_url":"https://api.github.com/users/jinglou-/events{/privacy}","received_events_url":"https://api.github.com/users/jinglou-/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-07-01T22:42:25Z","updated_at":"2015-07-01T22:51:15Z","closed_at":null,"body":"Builds:\r\nWin8.1 x64\r\nVS2015 23023.00\r\nPoshTools: 3.0.1310\r\n\r\nRepro steps:\r\n1. Create a UML project. By default the UMLClassDiagram1.classdiagram is open.\r\n2. Go to View->Other Windows->PowerShell Tools Interactive window to open the REPL window\r\n3. In the REPL window, wait until it's done initializing the host process. Then type: get\r\n\r\nActual Result:\r\nAn exception occurs\r\n\r\n```\r\n  <entry>\r\n    <record>727</record>\r\n    <time>2015/07/01 22:12:08.546</time>\r\n    <type>Error</type>\r\n    <source>Editor or Editor Extension</source>\r\n    <description>System.ArgumentNullException: Value cannot be null.&#x000D;&#x000A;Parameter name: classification&#x000D;&#x000A;   at Microsoft.VisualStudio.Text.Classification.ClassificationSpan..ctor(SnapshotSpan span, IClassificationType classification)&#x000D;&#x000A;   at PowerShellTools.Classification.PowerShellClassifier.FillBeginningAndEnd(SnapshotSpan span, List`1 classifications, ITextSnapshot currentSnapshot, IClassificationType classificationType)&#x000D;&#x000A;   at PowerShellTools.Classification.PowerShellClassifier.VirtualGetClassificationSpans(SnapshotSpan span)&#x000D;&#x000A;   at PowerShellTools.Classification.Classifier.GetClassificationSpans(SnapshotSpan span)&#x000D;&#x000A;   at Microsoft.VisualStudio.Text.Classification.Implementation.ClassifierTagger.&lt;GetTags&gt;d__5.MoveNext()&#x000D;&#x000A;   at Microsoft.VisualStudio.Text.Tagging.Implementation.TagAggregator`1.&lt;GetTagsForBuffer&gt;d__38.MoveNext()</description>\r\n  </entry>\r\n```\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/Microsoft/poshtools/issues/comments/117844660","html_url":"https://github.com/Microsoft/poshtools/issues/634#issuecomment-117844660","issue_url":"https://api.github.com/repos/Microsoft/poshtools/issues/634","id":117844660,"user":{"login":"jinglou-","id":10081483,"avatar_url":"https://avatars.githubusercontent.com/u/10081483?v=3","gravatar_id":"","url":"https://api.github.com/users/jinglou-","html_url":"https://github.com/jinglou-","followers_url":"https://api.github.com/users/jinglou-/followers","following_url":"https://api.github.com/users/jinglou-/following{/other_user}","gists_url":"https://api.github.com/users/jinglou-/gists{/gist_id}","starred_url":"https://api.github.com/users/jinglou-/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jinglou-/subscriptions","organizations_url":"https://api.github.com/users/jinglou-/orgs","repos_url":"https://api.github.com/users/jinglou-/repos","events_url":"https://api.github.com/users/jinglou-/events{/privacy}","received_events_url":"https://api.github.com/users/jinglou-/received_events","type":"User","site_admin":false},"created_at":"2015-07-01T22:51:15Z","updated_at":"2015-07-01T22:51:15Z","body":"This repro's without needing the UML project. Just open VS and the REPL window. Start typing. Exception occurs.  This also happens on both VS2013 and VS2015. "}}