Resharper 9 Beta crashing on start-up

After a blog post encouraging us to download resharper 9 Beta, I did this.  Unfortunately it has the same bug that the previous releases of the EAP had. When you start visual studio it crashes with the exception (running English, New Zealand):


Could not deserialize the object value of type JetBrains.Application.BuildScript.Application.ApplicationPackageArtifact with the XAML reader. 'Failed to create a 'BestBefore' from the text '12/27/2014 6:16 p.m.'.' Line number '1' and line position '29'. The string was not recognized as a valid DateTime. There is an unknown word starting at index 16.

--- EXCEPTION #1/4 [FormatException]

Message = "The string was not recognized as a valid DateTime. There is an unknown word starting at index 16."

ExceptionPath = Root.InnerException.InnerException.InnerException

ClassName = System.FormatException

HResult = COR_E_FORMAT=80131537

Source = mscorlib

StackTraceString = "

at System.DateTimeParse.Parse(String s, DateTimeFormatInfo dtfi, DateTimeStyles styles)

at System.DateTime.Parse(String s, IFormatProvider provider, DateTimeStyles styles)

at System.Windows.Markup.DateTimeValueSerializer.ConvertFromString(String value, IValueSerializerContext context)

at System.Xaml.Replacements.DateTimeConverter2.ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, Object value)

at MS.Internal.Xaml.Runtime.ClrObjectRuntime.CreateObjectWithTypeConverter(ServiceProviderContext serviceContext, XamlValueConverter`1 ts, Object value)

at MS.Internal.Xaml.Runtime.ClrObjectRuntime.CreateFromValue(ServiceProviderContext serviceContext, XamlValueConverter`1 ts, Object value, XamlMember property)

at System.Xaml.XamlObjectWriter.Logic_CreateFromValue(ObjectWriterContext ctx, XamlValueConverter`1 typeConverter, Object value, XamlMember property, String targetName, IAddLineInfo lineInfo)

"

--- Outer ---

--- EXCEPTION #2/4 [XamlParseException]

Message = "'Failed to create a 'BestBefore' from the text '12/27/2014 6:16 p.m.'.' Line number '1' and line position '29'."

ExceptionPath = Root.InnerException.InnerException

ClassName = System.Windows.Markup.XamlParseException

InnerException = "Exception #1 at Root.InnerException.InnerException.InnerException"

HResult = COR_E_SYSTEM=80131501

Source = PresentationFramework

Line = 1

Position = 29

StackTraceString = "

at System.Windows.Markup.WpfXamlLoader.Load(XamlReader xamlReader, IXamlObjectWriterFactory writerFactory, Boolean skipJournaledProperties, Object rootObject, XamlObjectWriterSettings settings, Uri baseUri)

at System.Windows.Markup.WpfXamlLoader.Load(XamlReader xamlReader, Boolean skipJournaledProperties, Uri baseUri)

at System.Windows.Markup.XamlReader.Load(XamlReader xamlReader, ParserContext parserContext)

at System.Windows.Markup.XamlReader.Load(XmlReader reader, ParserContext parserContext, XamlParseMode parseMode)

at System.Windows.Markup.XamlReader.Load(Stream stream, ParserContext parserContext)

at System.Windows.Markup.XamlReader.Load(Stream stream)

at JetBrains.Build.Serialization.StructuredStorageSerialization.<ReadObjectValue>b__3(Stream stream)

at JetBrains.Util.Storage.StructuredStorage.StructuredStorageHelpers.<>c__DisplayClass4`1.<ReadStream>b__3(Stream stream)

at JetBrains.Util.Storage.StructuredStorage.StructuredStorageHelpers.<>c__DisplayClass1.<ReadStream>b__0(Lifetime lifetime)


at JetBrains.DataFlow.Lifetimes.Using(Action`1 λ)
 
at JetBrains.Util.Storage.StructuredStorage.StructuredStorageHelpers.ReadStream(IStructuredStorageStream thіs, Action`1 FRead)


at JetBrains.Util.Storage.StructuredStorage.StructuredStorageHelpers.ReadStream[TValue](IStructuredStorageCollection`1 thіs, String name, Func`2 FRead)

at JetBrains.Build.Serialization.StructuredStorageSerialization.ReadObjectValue(Type type, IStructuredStorage storageValue, OnError onerror, IBindTypeByName typebinder)


"

--- Outer ---

--- EXCEPTION #3/4 [BuildException]

Message = "Could not deserialize the object value of type JetBrains.Application.BuildScript.Application.ApplicationPackageArtifact with the XAML reader."

ExceptionPath = Root.InnerException

ClassName = JetBrains.Build.BuildException

InnerException = "Exception #2 at Root.InnerException.InnerException"

HResult = COR_E_APPLICATION=80131600

Source = JetBrains.Platform.Util

StackTraceString = "

at JetBrains.Util.OnError.<.cctor>b__15(Exception ex)

at JetBrains.Util.OnError.Handle(Exception ex)

at JetBrains.Build.Serialization.StructuredStorageSerialization.ReadObjectValue(Type type, IStructuredStorage storageValue, OnError onerror, IBindTypeByName typebinder)

at JetBrains.Build.Serialization.StructuredStorageSerialization.ReadObjectValue(AssemblyQualifiedTypeName type, IStructuredStorage storageValue, OnError onerror, IBindTypeByName typebinder)

at JetBrains.Build.Serialization.SerializedValuesResolver.RestoredInstance.GetValueCore()

at JetBrains.Build.Serialization.SerializedValuesResolver.Instance.GetValue()

at JetBrains.Application.Components.EnumerableValueResolver.EnumerableComponentDescriptor`1.<GetEnumerator>d__0.MoveNext()

"

--- Outer ---

--- EXCEPTION #4/4 [LoggerException]

Message = "Could not deserialize the object value of type JetBrains.Application.BuildScript.Application.ApplicationPackageArtifact with the XAML reader."

ExceptionPath = Root

ClassName = JetBrains.Util.LoggerException

InnerException = "Exception #3 at Root.InnerException"

HResult = COR_E_APPLICATION=80131600

StackTraceString = "

at JetBrains.Application.Components.EnumerableValueResolver.EnumerableComponentDescriptor`1.GetValue()

at JetBrains.Build.Serialization.SerializedValuesResolver.Resolve(Type type)

at JetBrains.Build.Serialization.SerializedValuesResolver.Resolve[TComponent]()

at JetBrains.Application.Environment.HostParameters.FullPartCatalogFromSerializedComponentsHostMixin.JetBrains.Application.Environment.HostParameters.IHaveFullPartCatalogSetHostMixin.GetFullPartCatalogSet(Lifetime lifetime)

at JetBrains.Application.Environment.HostParameters.JetHostParametersCaller.GetFullPartCatalogSet(Lifetime lifetime)

at JetBrains.Application.Environment.JetEnvironment..ctor(Lifetime lifetime, JetHostParametersCaller host)

at JetBrains.Application.Environment.JetEnvironment.<>c__DisplayClasse.<InternalCreate>b__b()

at JetBrains.Threading.ReentrancyGuard.Execute(String name, Action action)

at JetBrains.Application.Environment.JetEnvironment.InternalCreate(LifetimeDefinition lifetimeDefinition, JetHostParametersCaller host, JetEnvironment& environment)

at JetBrains.Application.Environment.JetEnvironment.<>c__DisplayClass9.<CreateDontRun>b__7()

at JetBrains.DataFlow.Lifetime.AddBracket(Action FOpening, Action FClosing)

at JetBrains.Application.Environment.JetEnvironment.CreateDontRun(Lifetime lifetime, JetHostParameters hostparams)

at JetBrains.VsIntegration.Shell.Package.VsPackage.Init_CreateHostAndEnvironment(Lifetime lifetime, IServiceProvider site, VsPackageCommandTargetHandlers commandTargetHandlers)

at JetBrains.VsIntegration.Shell.Package.VsPackage.<.ctor>b__3(Lifetime lifeHaveSite, IServiceProvider site)

at JetBrains.DataFlow.IPropertyEx.<>c__DisplayClass2e`1.<>c__DisplayClass30.<ForEachValue>b__2d(Lifetime lifetimeValue)

at JetBrains.DataFlow.SequentialLifetimes.<>c__DisplayClass6.<Next>b__5(LifetimeDefinition definition, Lifetime lifetime)

at JetBrains.DataFlow.Lifetimes.Define(Lifetime lifetime, String id, Action`2 FAtomic, ILogger logger)

at JetBrains.DataFlow.SequentialLifetimes.DefineNext(Action`2 FNext)

at JetBrains.DataFlow.SequentialLifetimes.Next(Action`1 FNext)

at JetBrains.DataFlow.IPropertyEx.<>c__DisplayClass2e`1.<ForEachValue>b__2c(PropertyChangedEventArgs`1 args)

at JetBrains.DataFlow.Signal`1.NotifySinks(TValue payload)

at JetBrains.DataFlow.Signal`1.Fire(TValue value, Object cookie)

at JetBrains.DataFlow.Property`1.FireChange(TValue old, TValue new, Object cookie)

at JetBrains.DataFlow.Property`1.SetValue(TValue value, Object cookie)

at JetBrains.VsIntegration.Shell.Package.VsPackageSdkStub.Microsoft.VisualStudio.Shell.Interop.IVsPackage.SetSite(IServiceProvider sp)

"

Then goes further and says:

Could not start the Environment.

--- EXCEPTION #1/2 [AssertionException]

Message = "Could not start the Environment."

ExceptionPath = Root.InnerException

ClassName = JetBrains.Util.Assertion+AssertionException

HResult = COR_E_EXCEPTION=80131500

Source = JetBrains.Platform.VisualStudio.Core

StackTraceString = "

at JetBrains.VsIntegration.Shell.Package.VsPackage.Init_CreateHostAndEnvironment(Lifetime lifetime, IServiceProvider site, VsPackageCommandTargetHandlers commandTargetHandlers)

at JetBrains.VsIntegration.Shell.Package.VsPackage.<.ctor>b__3(Lifetime lifeHaveSite, IServiceProvider site)

at JetBrains.DataFlow.IPropertyEx.<>c__DisplayClass2e`1.<>c__DisplayClass30.<ForEachValue>b__2d(Lifetime lifetimeValue)

at JetBrains.DataFlow.SequentialLifetimes.<>c__DisplayClass6.<Next>b__5(LifetimeDefinition definition, Lifetime lifetime)

at JetBrains.DataFlow.Lifetimes.Define(Lifetime lifetime, String id, Action`2 FAtomic, ILogger logger)

at JetBrains.DataFlow.SequentialLifetimes.DefineNext(Action`2 FNext)

at JetBrains.DataFlow.SequentialLifetimes.Next(Action`1 FNext)

at JetBrains.DataFlow.IPropertyEx.<>c__DisplayClass2e`1.<ForEachValue>b__2c(PropertyChangedEventArgs`1 args)

at JetBrains.DataFlow.Signal`1.NotifySinks(TValue payload)

"

--- Outer ---

--- EXCEPTION #2/2 [LoggerException]

Message = "Could not start the Environment."

ExceptionPath = Root

ClassName = JetBrains.Util.LoggerException

InnerException = "Exception #1 at Root.InnerException"

HResult = COR_E_APPLICATION=80131600

StackTraceString = "

at JetBrains.DataFlow.Signal`1.Fire(TValue value, Object cookie)

at JetBrains.DataFlow.Property`1.FireChange(TValue old, TValue new, Object cookie)

at JetBrains.DataFlow.Property`1.SetValue(TValue value, Object cookie)

at JetBrains.VsIntegration.Shell.Package.VsPackageSdkStub.Microsoft.VisualStudio.Shell.Interop.IVsPackage.SetSite(IServiceProvider sp)

"

Would really appreciate if this could be fixed - it's quite time-consuming to have to uninstall version 9 and keep reinstalling version 8 in the meantime until this is fixed. Given that the blog post didn't mention this is a known bug, I was assuming that it had already been fixed.

Stefan

1 comment
Comment actions Permalink

Hello Stefan,

  It looks as if you have the same issue as descried here https://devnet.jetbrains.com/message/5529373#5529373 and https://youtrack.jetbrains.com/issue/RSRP-427840. Please try to apply steps which were recommended in comment here https://devnet.jetbrains.com/message/5529373#5529373.

Thanks!

0

Please sign in to leave a comment.