Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't launch on windows 10 10.0.10240 #455

Open
andrewhbji opened this issue Aug 6, 2015 · 1 comment
Open

Can't launch on windows 10 10.0.10240 #455

andrewhbji opened this issue Aug 6, 2015 · 1 comment

Comments

@andrewhbji
Copy link

OS version: windows 10 10.0.10240

Can't launch with follow errormessage:

(Inner Exception)
(Inner Exception)
(Inner Exception)
Exception Source: mscorlib
Exception Type: System.Text.DecoderFallbackException
Exception Message: 无法将位于索引 6 处的字节 [E5][9F] 由指定的代码页转换为 Unicode。
Exception Target Site: Throw

---- Stack Trace ----
System.Text.DecoderExceptionFallbackBuffer.Throw(Byte[] bytesUnknown, Int32 index)
MarkPad.exe: N 00362
System.Text.DecoderExceptionFallbackBuffer.Fallback(Byte[] bytesUnknown, Int32 index)
MarkPad.exe: N 00013
System.Text.DecoderFallbackBuffer.InternalFallback(Byte[] bytes, Byte* pBytes, Char_& chars)
MarkPad.exe: N 00041
System.Text.UTF8Encoding.GetChars(Byte_ bytes, Int32 byteCount, Char* chars, Int32 charCount, DecoderNLS baseDecoder)
MarkPad.exe: N 01153
System.Text.UTF8Encoding.GetChars(Byte[] bytes, Int32 byteIndex, Int32 byteCount, Char[] chars, Int32 charIndex)
MarkPad.exe: N 00206
System.Xml.XmlConverter.ToChars(Byte[] buffer, Int32 offset, Int32 count, Char[] chars, Int32 charOffset)
MarkPad.exe: N 00055

(Outer Exception)
Exception Source: System.Runtime.Serialization
Exception Type: System.Xml.XmlException
Exception Message: “瀹氬??md”包含无效的 UTF8 字节。
Exception Target Site: ToChars
未将对象引用设置到对象的实例。

(Outer Exception)
Exception Source: System.Runtime.Serialization
Exception Type: System.Runtime.Serialization.SerializationException
Exception Message: 反序列化对象 属于类型 System.Collections.Generic.Dictionary`2[[System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089],[System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]] 时出现错误。“瀹氬??md”包含无效的 UTF8 字节。
Exception Target Site: ReadObjectHandleExceptions

---- Stack Trace ----
System.Runtime.Serialization.XmlObjectSerializer.ReadObjectHandleExceptions(XmlReaderDelegator reader, Boolean verifyObjectName, DataContractResolver dataContractResolver)
MarkPad.exe: N 00414
System.Runtime.Serialization.Json.DataContractJsonSerializer.ReadObject(XmlDictionaryReader reader)
MarkPad.exe: N 00061
System.Runtime.Serialization.Json.DataContractJsonSerializer.ReadObject(Stream stream)
MarkPad.exe: N 00104
MarkPad.Settings.JsonSettingsStoreBase.Load(String key)
IsolatedStorageSettingsStore.cs: line 0080, col 17, IL 0061
MarkPad.Settings.SettingsProvider.GetSettings(Boolean fresh)
SettingsProvider.cs: line 0052, col 13, IL 0046
MarkPad.Infrastructure.MarkPadAutofacModule.b__0(IActivatingEventArgs1 args) MarkPadAutofacModule.cs: line 0033, col 05, IL 0012 Autofac.Builder.<>c__DisplayClass6.<OnActivating>b__5(Object s, ActivatingEventArgs1 e)
MarkPad.exe: N 00127
Autofac.Core.Registration.ComponentRegistration.RaiseActivating(IComponentContext context, IEnumerable1 parameters, Object& instance) MarkPad.exe: N 00073 Autofac.Core.Resolving.InstanceLookup.Activate(IEnumerable1 parameters)
MarkPad.exe: N 00128
Autofac.Core.Resolving.InstanceLookup.b__0()
MarkPad.exe: N 00008
Autofac.Core.Lifetime.LifetimeScope.GetOrCreateAndShare(Guid id, Func1 creator) MarkPad.exe: N 00120 Autofac.Core.Resolving.InstanceLookup.Execute() MarkPad.exe: N 00132 Autofac.Core.Resolving.ResolveOperation.GetOrCreateInstance(ISharingLifetimeScope currentOperationScope, IComponentRegistration registration, IEnumerable1 parameters)
MarkPad.exe: N 00133
Autofac.Core.Resolving.InstanceLookup.ResolveComponent(IComponentRegistration registration, IEnumerable1 parameters) MarkPad.exe: N 00024 Autofac.Core.Activators.Reflection.<>c__DisplayClass2.<CanSupplyValue>b__0() MarkPad.exe: N 00025 Autofac.Core.Activators.Reflection.ConstructorParameterBinding.Instantiate() MarkPad.exe: N 00094 Autofac.Core.Activators.Reflection.ReflectionActivator.ActivateInstance(IComponentContext context, IEnumerable1 parameters)
MarkPad.exe: N 00174
Autofac.Core.Resolving.InstanceLookup.Activate(IEnumerable1 parameters) MarkPad.exe: N 00048 Autofac.Core.Resolving.InstanceLookup.Execute() MarkPad.exe: N 00048 Autofac.Core.Resolving.ResolveOperation.GetOrCreateInstance(ISharingLifetimeScope currentOperationScope, IComponentRegistration registration, IEnumerable1 parameters)
MarkPad.exe: N 00133
Autofac.Core.Resolving.InstanceLookup.ResolveComponent(IComponentRegistration registration, IEnumerable1 parameters) MarkPad.exe: N 00024 Autofac.Core.Activators.Reflection.<>c__DisplayClass2.<CanSupplyValue>b__0() MarkPad.exe: N 00025 Autofac.Core.Activators.Reflection.ConstructorParameterBinding.Instantiate() MarkPad.exe: N 00094 Autofac.Core.Activators.Reflection.ReflectionActivator.ActivateInstance(IComponentContext context, IEnumerable1 parameters)
MarkPad.exe: N 00174
Autofac.Core.Resolving.InstanceLookup.Activate(IEnumerable1 parameters) MarkPad.exe: N 00048 Autofac.Core.Resolving.InstanceLookup.<Execute>b__0() MarkPad.exe: N 00008 Autofac.Core.Lifetime.LifetimeScope.GetOrCreateAndShare(Guid id, Func1 creator)
MarkPad.exe: N 00120
Autofac.Core.Resolving.InstanceLookup.Execute()
MarkPad.exe: N 00132
Autofac.Core.Resolving.ResolveOperation.GetOrCreateInstance(ISharingLifetimeScope currentOperationScope, IComponentRegistration registration, IEnumerable1 parameters) MarkPad.exe: N 00133 Autofac.Core.Resolving.ResolveOperation.Execute(IComponentRegistration registration, IEnumerable1 parameters)
MarkPad.exe: N 00044

(Outer Exception)
Date and Time: 2015/8/6 20:27:21
OS Version: Microsoft Windows NT 6.2.9200.0

Application Domain: DefaultDomain
Assembly Codebase: file:///C:/Users/andre/AppData/Local/Apps/2.0/O1ANMWCL.Z50/6L2Z527K.LEZ/mark...app_0000000000000000_0000.000a_4fe90f97b0816791/MarkPad.exe
Assembly Full Name: MarkPad, Version=0.10.0.12, Culture=neutral, PublicKeyToken=null
Assembly Version: 0.10.0.12
Assembly Build Date: 2015/8/6 20:27:19

Exception Source: Autofac
Exception Type: Autofac.Core.DependencyResolutionException
Exception Message: An exception was thrown while executing a resolve operation. See the InnerException for details. ---> 反序列化对象 属于类型 System.Collections.Generic.Dictionary`2[[System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089],[System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]] 时出现错误。“瀹氬??md”包含无效的 UTF8 字节。 (See inner exception for details.)
Exception Target Site: Execute

---- Stack Trace ----
Autofac.Core.Resolving.ResolveOperation.Execute(IComponentRegistration registration, IEnumerable1 parameters) MarkPad.exe: N 00112 Autofac.Core.Lifetime.LifetimeScope.ResolveComponent(IComponentRegistration registration, IEnumerable1 parameters)
MarkPad.exe: N 00109
Autofac.Core.Container.ResolveComponent(IComponentRegistration registration, IEnumerable1 parameters) MarkPad.exe: N 00014 Autofac.ResolutionExtensions.TryResolveService(IComponentContext context, Service service, IEnumerable1 parameters, Object& instance)
MarkPad.exe: N 00074
Autofac.ResolutionExtensions.TryResolve(IComponentContext context, Type serviceType, Object& instance)
MarkPad.exe: N 00070
Caliburn.Micro.Autofac.AutofacBootstrapper`1.GetInstance(Type service, String key)
MarkPad.exe: N 00054
Caliburn.Micro.BootstrapperBase.DisplayRootViewFor(Type viewModelType)
Bootstrapper.cs: line 0246, col 13, IL 0006
MarkPad.Infrastructure.AppBootstrapper.OnStartup(Object sender, StartupEventArgs e)
AppBootstrapper.cs: line 0057, col 13, IL 0000
System.Windows.Application.OnStartup(StartupEventArgs e)
MarkPad.exe: N 00128
System.Windows.Application.<_ctor>b__0(Object unused)
MarkPad.exe: N 00043
System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
MarkPad.exe: N 00081
System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)
MarkPad.exe: N 00051

@FanyangKong
Copy link

我今天也遇到这个问题了,后来看了报错信息,可能是因为客户端试着打开之前的文档但是失败了,实际上我昨天确实用markpad打开过一个文档,然后今天我删了那个文档,今天打开别的新文档的时候就失败了。我没有找到markpad的安装地址,但是找到了一个设置文件,在我的文档\AppData\Roaming\Markpad这个路径下有一个设置文件,被我删掉了,然后就可以正常使用了。你看看你是不是因为这个问题

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants