Update to SQL Server Management Studio V18.9.1 now SQL Prompt error

After updating to SSMS V18.9.1 Redgate throws this Error initially "Object reference not set to an instance of an object" than my coworker can't use SQL Prompt 10.6.12.20269

I sent the error report too

Comments

  • PhilipBAPhilipBA Posts: 10 New member
    Here the logs

    2021-06-04 11:39:51.205 -04:00 [Information] Logging level set to 'Information'
    2021-06-04 11:39:51.301 -04:00 [Information] Launching package entry point Ssms18 (version 15.0.18384.0) for SQL Prompt 10.6.12.20269.
    2021-06-04 11:39:51.865 -04:00 [Information] Initialising DTE and AddIn connections.
    DTE.FullName: C:\Program Files (x86)\Microsoft SQL Server Management Studio 18\Common7\IDE\Ssms.exe
    DTE.Version: 2019.0150
    DTE.CommandLine: 
    Current culture: en-US
    Current UI culture: en-US
    2021-06-04 11:39:52.642 -04:00 [Error] Report error dialog UI shown
    System.NullReferenceException: Object reference not set to an instance of an object.
       at Format.Engine.Styles.Upgrading.XmlToJsonConversion.StyleConverter.Convert(String path, String jsonStylesDirectory)
       at Format.Engine.Styles.Upgrading.XmlToJsonConversion.XmlToJsonStyleFormatConverter.<>c__DisplayClass5_0.<ConvertStyles>b__0(String file)
       at System.Linq.Enumerable.WhereSelectArrayIterator`2.MoveNext()
       at System.Linq.Enumerable.WhereEnumerableIterator`1.MoveNext()
       at System.Collections.Generic.List`1..ctor(IEnumerable`1 collection)
       at System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source)
       at Format.Engine.Styles.Upgrading.XmlToJsonConversion.XmlToJsonStyleFormatConverter.ConvertStyles()
       at Format.Engine.Styles.Upgrading.StylesUpgrader.Upgrade()
       at RedGate.SQLPrompt.CommonVS.BaseConnect.UpgradeFormattingStyles()
       at RedGate.SQLPrompt.CommonVS.BaseConnect.Initialize(DTE2 dte, AddIn addInInstance)
       at RedGate.SQLPrompt.SSMSUI.AbstractSsmsConnect.Initialize(DTE2 dte, AddIn addInInstance)
       at RedGate.SQLPrompt.SSMSUI.AbstractSsmsConnect.VsPackageInitialize(DTE dte)
       at RedGate.SQLPrompt.SsmsPackage18.SQLPromptSsmsPackage18.<>c__DisplayClass1_0.<Initialize>b__0()
       at RedGate.SQLPrompt.UsageReporting.ErrorReporting.ErrorReporterWithUI.Do(Action action)

  • PhilipBAPhilipBA Posts: 10 New member
    Removed the styles and loading promptly now 
  • Ben10101010Ben10101010 Posts: 1 New member
    PhilipBA said:
    Removed the styles and loading promptly now 
    Same here, renaming the StylesV2 in the "AppData\Local\Red Gate\SQL Prompt 10" folder worked.
Sign In or Register to comment.