My webmatrix 3 install is crashing today when editing a PHP file that I have edited numerous times before successfully. I haven't edited with another editor and switch encoding or anything like that.
Log files below...
PROCESS_CRASH
The process terminated unexpectedly.
Exception:System.AggregateException: A Task's exception(s) were not observed either by Waiting on the Task or accessing its Exception property. As a result, the unobserved exception was rethrown by the finalizer thread. ---> System.AggregateException: One
or more errors occurred. ---> System.InvalidOperationException: There is an error in XML document (2, 1). ---> System.Xml.XmlException: Data at the root level is invalid. Line 2, position 1.
at System.Xml.XmlTextReaderImpl.Throw(Exception e)
at System.Xml.XmlTextReaderImpl.Throw(String res, String arg)
at System.Xml.XmlTextReaderImpl.ParseRootLevelWhitespace()
at System.Xml.XmlTextReaderImpl.ParseDocumentContent()
at System.Xml.XmlTextReaderImpl.Read()
at System.Xml.XmlTextReader.Read()
at System.Xml.XmlReader.MoveToContent()
at Microsoft.Xml.Serialization.GeneratedAssembly.XmlSerializationReaderphpcs.Read5_phpcs()
--- End of inner exception stack trace ---
at System.Xml.Serialization.XmlSerializer.Deserialize(XmlReader xmlReader, String encodingStyle, XmlDeserializationEvents events)
at System.Xml.Serialization.XmlSerializer.Deserialize(Stream stream)
at PHPValidator.Core.Providers.CodeSniffer.getErrors(String path)
at PHPValidator.Core.Providers.CodeSniffer.getErrorsFromSource(String text, String fileName)
at PHPValidator.Core.Providers.CodeSniffer.getErrorsFromSource(String text)
at PHPValidator.Core.Validator.<>c__DisplayClass2.<getErrorsFromSource>b__1()
at System.Threading.Tasks.Task`1.InvokeFuture(Object futureAsObj)
at System.Threading.Tasks.Task.InnerInvoke()
at System.Threading.Tasks.Task.Execute()
--- End of inner exception stack trace ---
at System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions)
at System.Threading.Tasks.Task`1.get_Result()
at PHPValidator.PHPErrorTagger.<UpdateErrors>b__0(Task`1 errors)
at System.Threading.Tasks.Task`1.<>c__DisplayClass17.<ContinueWith>b__16(Object obj)
at System.Threading.Tasks.Task.InnerInvoke()
at System.Threading.Tasks.Task.Execute()
--- End of inner exception stack trace ---
---> (Inner Exception #0) System.AggregateException: One or more errors occurred. ---> System.InvalidOperationException: There is an error in XML document (2, 1). ---> System.Xml.XmlException: Data at the root level is invalid. Line 2, position 1.
at System.Xml.XmlTextReaderImpl.Throw(Exception e)
at System.Xml.XmlTextReaderImpl.Throw(String res, String arg)
at System.Xml.XmlTextReaderImpl.ParseRootLevelWhitespace()
at System.Xml.XmlTextReaderImpl.ParseDocumentContent()
at System.Xml.XmlTextReaderImpl.Read()
at System.Xml.XmlTextReader.Read()
at System.Xml.XmlReader.MoveToContent()
at Microsoft.Xml.Serialization.GeneratedAssembly.XmlSerializationReaderphpcs.Read5_phpcs()
--- End of inner exception stack trace ---
at System.Xml.Serialization.XmlSerializer.Deserialize(XmlReader xmlReader, String encodingStyle, XmlDeserializationEvents events)
at System.Xml.Serialization.XmlSerializer.Deserialize(Stream stream)
at PHPValidator.Core.Providers.CodeSniffer.getErrors(String path)
at PHPValidator.Core.Providers.CodeSniffer.getErrorsFromSource(String text, String fileName)
at PHPValidator.Core.Providers.CodeSniffer.getErrorsFromSource(String text)
at PHPValidator.Core.Validator.<>c__DisplayClass2.<getErrorsFromSource>b__1()
at System.Threading.Tasks.Task`1.InvokeFuture(Object futureAsObj)
at System.Threading.Tasks.Task.InnerInvoke()
at System.Threading.Tasks.Task.Execute()
--- End of inner exception stack trace ---
at System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions)
at System.Threading.Tasks.Task`1.get_Result()
at PHPValidator.PHPErrorTagger.<UpdateErrors>b__0(Task`1 errors)
at System.Threading.Tasks.Task`1.<>c__DisplayClass17.<ContinueWith>b__16(Object obj)
at System.Threading.Tasks.Task.InnerInvoke()
at System.Threading.Tasks.Task.Execute()
---> (Inner Exception #0) System.InvalidOperationException: There is an error in XML document (2, 1). ---> System.Xml.XmlException: Data at the root level is invalid. Line 2, position 1.
at System.Xml.XmlTextReaderImpl.Throw(Exception e)
at System.Xml.XmlTextReaderImpl.Throw(String res, String arg)
at System.Xml.XmlTextReaderImpl.ParseRootLevelWhitespace()
at System.Xml.XmlTextReaderImpl.ParseDocumentContent()
at System.Xml.XmlTextReaderImpl.Read()
at System.Xml.XmlTextReader.Read()
at System.Xml.XmlReader.MoveToContent()
at Microsoft.Xml.Serialization.GeneratedAssembly.XmlSerializationReaderphpcs.Read5_phpcs()
--- End of inner exception stack trace ---
at System.Xml.Serialization.XmlSerializer.Deserialize(XmlReader xmlReader, String encodingStyle, XmlDeserializationEvents events)
at System.Xml.Serialization.XmlSerializer.Deserialize(Stream stream)
at PHPValidator.Core.Providers.CodeSniffer.getErrors(String path)
at PHPValidator.Core.Providers.CodeSniffer.getErrorsFromSource(String text, String fileName)
at PHPValidator.Core.Providers.CodeSniffer.getErrorsFromSource(String text)
at PHPValidator.Core.Validator.<>c__DisplayClass2.<getErrorsFromSource>b__1()
at System.Threading.Tasks.Task`1.InvokeFuture(Object futureAsObj)
at System.Threading.Tasks.Task.InnerInvoke()
at System.Threading.Tasks.Task.Execute()<---
<---
Application: WebMatrix.exe
Framework Version: v4.0.30319
Description: The process was terminated due to an unhandled exception.
Exception Info: System.ObjectDisposedException
Stack:
at System.Threading.CancellationTokenSource.ThrowIfDisposed()
at System.Threading.CancellationTokenRegistration.Dispose()
at Microsoft.WebMatrix.Core.Feeds.DownloadState.Dispose()
at Microsoft.WebMatrix.Core.Feeds.DownloadState.Client_DownloadFileCompleted(System.Object, System.ComponentModel.AsyncCompletedEventArgs)
at System.Net.WebClient.OnDownloadFileCompleted(System.ComponentModel.AsyncCompletedEventArgs)
at System.Net.WebClient.DownloadFileOperationCompleted(System.Object)
at System.Threading.QueueUserWorkItemCallback.WaitCallback_Context(System.Object)
at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)
at System.Threading.QueueUserWorkItemCallback.System.Threading.IThreadPoolWorkItem.ExecuteWorkItem()
at System.Threading.ThreadPoolWorkQueue.Dispatch()
at System.Threading._ThreadPoolWaitCallback.PerformWaitCallback()
Application: WebMatrix.exe
Framework Version: v4.0.30319
Description: The process was terminated due to an unhandled exception.
Exception Info: System.AggregateException
Stack:
at System.Threading.Tasks.TaskExceptionHolder.Finalize()
Faulting application name: WebMatrix.exe, version: 7.1.1920.0, time stamp: 0x516397ee
Faulting module name: KERNELBASE.dll, version: 6.1.7601.18015, time stamp: 0x50b83c8a
Exception code: 0xe0434352
Fault offset: 0x0000c41f
Faulting process id: 0x1dd0
Faulting application start time: 0x01ce5f0ee9dab903
Faulting application path: C:\Program Files (x86)\Microsoft WebMatrix\WebMatrix.exe
Faulting module path: C:\Windows\syswow64\KERNELBASE.dll
Report Id: 3cdc4d32-cb02-11e2-9181-00252204986c