Wox-launcher / Wox

A cross-platform launcher that simply works
http://wox-launcher.github.io/Wox/
GNU General Public License v3.0
24.47k stars 2.37k forks source link

NullReferenceException when OnUpdateResultView #70

Closed orzFly closed 8 years ago

orzFly commented 10 years ago

This happens very randomly and I cannot figure out how to reproduce it. I will look into this when I am free.

Exception

System.NullReferenceException: 未将对象引用设置到对象的实例。
   Source: Wox
   TargetAssembly: Wox, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
   TargetModule: Wox.exe
   TargetSite: Boolean <OnUpdateResultView>b__f(Wox.Plugin.Result)
   在 Wox.MainWindow.<OnUpdateResultView>b__f(Result o) 位置 C:\Projects\Wox\Wox\MainWindow.xaml.cs:行号 431
   在 System.Linq.Enumerable.WhereListIterator`1.MoveNext()
   在 System.Collections.Generic.List`1..ctor(IEnumerable`1 collection)
   在 System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source)
   在 Wox.MainWindow.<OnUpdateResultView>b__e() 位置 C:\Projects\Wox\Wox\MainWindow.xaml.cs:行号 431

System.Reflection.TargetInvocationException: 调用的目标发生了异常。
   Source: mscorlib
   TargetAssembly: mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
   TargetModule: CommonLanguageRuntimeLibrary
   TargetSite: System.Object _InvokeMethodFast(System.Object, System.Object[], System.SignatureStruct ByRef, System.Reflection.MethodAttributes, System.RuntimeTypeHandle)
   在 System.RuntimeMethodHandle._InvokeMethodFast(Object target, Object[] arguments, SignatureStruct& sig, MethodAttributes methodAttributes, RuntimeTypeHandle typeOwner)
   在 System.RuntimeMethodHandle.InvokeMethodFast(Object target, Object[] arguments, Signature sig, MethodAttributes methodAttributes, RuntimeTypeHandle typeOwner)
   在 System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture, Boolean skipVisibilityChecks)
   在 System.Delegate.DynamicInvokeImpl(Object[] args)
   在 System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Boolean isSingleParameter)
   在 System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Boolean isSingleParameter, Delegate catchHandler)

Environment

andong777 commented 10 years ago

This exception occurred just after installation.

bao-qian commented 8 years ago

@andong777 @orzFly do you still get this exception for v1.2beta ?