Skip to content
This repository was archived by the owner on Jun 21, 2023. It is now read-only.
This repository was archived by the owner on Jun 21, 2023. It is now read-only.

Corrupted usage data is causing the extension to not load properly #516

@shana

Description

@shana

The last couple of days I get this error when starting Visual Studio:
The 'GitHubPackage' package did not load correctly.....

I re-installed the package, but that did not help.

The activity log of Visual Studio says the following: (any idea what the json error is?)

 <activity>
   <!-- ... -->
   <entry>
     <record>129</record>
     <time>2016/08/23 08:38:06.350</time>
     <type>Information</type>
     <source>VisualStudio</source>
     <description>Begin package load [GitHubPackage]</description>
     <guid>{C3D3DC68-C977-411F-B3E8-03B0DCCF7DFC}</guid>
   </entry>
   <entry>
     <record>130</record>
     <time>2016/08/23 08:38:06.525</time>
     <type>Error</type>
     <source>VisualStudio</source>
     <description>LegacySitePackage failed for package [GitHubPackage]Source: &apos;GitHub.Exports&apos; Description: Invalid JSON string
     System.Runtime.Serialization.SerializationException: Invalid JSON string
        at GitHub.SimpleJson.DeserializeObject(String json) in Y:\jenkins\workspace\GitHub for Visual Studio speakeasy jenkinskeep\src\GitHub.Exports\SimpleJson.cs:line 544
        at GitHub.SimpleJson.DeserializeObject(String json, Type type, IJsonSerializerStrategy jsonSerializerStrategy) in Y:\jenkins\workspace\GitHub for Visual Studio speakeasy jenkinskeep\src\GitHub.Exports\SimpleJson.cs:line 577
        at GitHub.SimpleJson.DeserializeObject[T](String json) in Y:\jenkins\workspace\GitHub for Visual Studio speakeasy jenkinskeep\src\GitHub.Exports\SimpleJson.cs:line 595
        at GitHub.Services.UsageTracker.LoadUsage() in Y:\jenkins\workspace\GitHub for Visual Studio speakeasy jenkinskeep\src\GitHub.Exports\Services\UsageTracker.cs:line 138
        at GitHub.Services.UsageTracker.IncrementLaunchCount() in Y:\jenkins\workspace\GitHub for Visual Studio speakeasy jenkinskeep\src\GitHub.Exports\Services\UsageTracker.cs:line 73
        at GitHub.VisualStudio.GitHubPackage.Initialize() in Y:\jenkins\workspace\GitHub for Visual Studio speakeasy jenkinskeep\src\GitHub.VisualStudio\GitHubPackage.cs:line 57
        at Microsoft.VisualStudio.Shell.Package.Microsoft.VisualStudio.Shell.Interop.IVsPackage.SetSite(IServiceProvider sp)
     </description>

     <guid>{C3D3DC68-C977-411F-B3E8-03B0DCCF7DFC}</guid>
     <hr>8013150c</hr>
     <errorinfo></errorinfo>
   </entry>

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions