A few days ago I've faced an unexpected problem with starting an Appium application. Every time when I undertake another attempt to launch Appium here what's happens:
1) I click Appium.exe 2) Appium seems to try to start but fails at once 3) I open Event Viewer -> Windows Logs -> Application 4) And every time I try to start the Appium I see three records there:
-
Event 1026, .Net Runtime:
Application: Appium.exe Framework Version: v4.0.30319 Description: The process was terminated due to an unhandled exception. Exception Info: System.IO.DirectoryNotFoundException at System.IO.__Error.WinIOError(Int32, System.String) at System.IO.FileStream.Init(System.String, System.IO.FileMode, System.IO.FileAccess, Int32, Boolean, System.IO.FileShare, Int32, System.IO.FileOptions, SECURITY_ATTRIBUTES, System.String, Boolean, Boolean, Boolean) at System.IO.FileStream..ctor(System.String, System.IO.FileMode, System.IO.FileAccess, System.IO.FileShare) at System.IO.File.Open(System.String, System.IO.FileMode, System.IO.FileAccess, System.IO.FileShare) at MS.Internal.AppModel.ContentFilePart.CriticalOpenFile(System.String) at MS.Internal.AppModel.ContentFilePart.GetStreamCore(System.IO.FileMode, System.IO.FileAccess) at System.IO.Packaging.PackagePart.GetStream(System.IO.FileMode, System.IO.FileAccess) at System.IO.Packaging.PackWebResponse+CachedResponse.GetResponseStream() at System.IO.Packaging.PackWebResponse.GetResponseStream() at System.IO.Packaging.PackWebResponse.get_ContentType() at System.Windows.Media.Imaging.BitmapDecoder.SetupDecoderFromUriOrStream(System.Uri, System.IO.Stream, System.Windows.Media.Imaging.BitmapCacheOption, System.Guid ByRef, Boolean ByRef, System.IO.Stream ByRef, System.IO.UnmanagedMemoryStream ByRef, Microsoft.Win32.SafeHandles.SafeFileHandle ByRef) at System.Windows.Media.Imaging.BitmapDecoder.CreateFromUriOrStream(System.Uri, System.Uri, System.IO.Stream, System.Windows.Media.Imaging.BitmapCreateOptions, System.Windows.Media.Imaging.BitmapCacheOption, System.Net.Cache.RequestCachePolicy, Boolean) at System.Windows.Media.Imaging.BitmapFrame.CreateFromUriOrStream(System.Uri, System.Uri, System.IO.Stream, System.Windows.Media.Imaging.BitmapCreateOptions, System.Windows.Media.Imaging.BitmapCacheOption, System.Net.Cache.RequestCachePolicy) at System.Windows.Media.ImageSourceConverter.ConvertFrom(System.ComponentModel.ITypeDescriptorContext, System.Globalization.CultureInfo, System.Object) at MS.Internal.Xaml.Runtime.ClrObjectRuntime.CreateObjectWithTypeConverter(MS.Internal.Xaml.ServiceProviderContext, System.Xaml.Schema.XamlValueConverter
1<System.ComponentModel.TypeConverter>, System.Object) at MS.Internal.Xaml.Runtime.ClrObjectRuntime.CreateFromValue(MS.Internal.Xaml.ServiceProviderContext, System.Xaml.Schema.XamlValueConverter
1, System.Object, System.Xaml.XamlMember) at MS.Internal.Xaml.Runtime.PartialTrustTolerantRuntime.CreateFromValue(MS.Internal.Xaml.ServiceProviderContext, System.Xaml.Schema.XamlValueConverter1<System.ComponentModel.TypeConverter>, System.Object, System.Xaml.XamlMember) at System.Xaml.XamlObjectWriter.Logic_CreateFromValue(MS.Internal.Xaml.Context.ObjectWriterContext, System.Xaml.Schema.XamlValueConverter
1, System.Object, System.Xaml.XamlMember, System.String, MS.Internal.Xaml.Runtime.IAddLineInfo)Exception Info: System.Windows.Markup.XamlParseException at System.Windows.Markup.WpfXamlLoader.Load(System.Xaml.XamlReader, System.Xaml.IXamlObjectWriterFactory, Boolean, System.Object, System.Xaml.XamlObjectWriterSettings, System.Uri) at System.Windows.Markup.WpfXamlLoader.LoadBaml(System.Xaml.XamlReader, Boolean, System.Object, System.Xaml.Permissions.XamlAccessLevel, System.Uri) at System.Windows.Markup.XamlReader.LoadBaml(System.IO.Stream, System.Windows.Markup.ParserContext, System.Object, Boolean) at System.Windows.Application.LoadBamlStreamWithSyncInfo(System.IO.Stream, System.Windows.Markup.ParserContext) at System.Windows.Application.LoadComponent(System.Uri, Boolean) at System.Windows.Application.DoStartup() at System.Windows.Application.<.ctor>b__1_0(System.Object) at System.Windows.Threading.ExceptionWrapper.InternalRealCall(System.Delegate, System.Object, Int32) at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(System.Object, System.Delegate, System.Object, Int32, System.Delegate) at System.Windows.Threading.DispatcherOperation.InvokeImpl() at System.Windows.Threading.DispatcherOperation.InvokeInSecurityContext(System.Object) at System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean) at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean) at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object) at MS.Internal.CulturePreservingExecutionContext.Run(MS.Internal.CulturePreservingExecutionContext, System.Threading.ContextCallback, System.Object) at System.Windows.Threading.DispatcherOperation.Invoke() at System.Windows.Threading.Dispatcher.ProcessQueue() at System.Windows.Threading.Dispatcher.WndProcHook(IntPtr, Int32, IntPtr, IntPtr, Boolean ByRef) at MS.Win32.HwndWrapper.WndProc(IntPtr, Int32, IntPtr, IntPtr, Boolean ByRef) at MS.Win32.HwndSubclass.DispatcherCallbackOperation(System.Object) at System.Windows.Threading.ExceptionWrapper.InternalRealCall(System.Delegate, System.Object, Int32) at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(System.Object, System.Delegate, System.Object, Int32, System.Delegate) at System.Windows.Threading.Dispatcher.LegacyInvokeImpl(System.Windows.Threading.DispatcherPriority, System.TimeSpan, System.Delegate, System.Object, Int32) at MS.Win32.HwndSubclass.SubclassWndProc(IntPtr, Int32, IntPtr, IntPtr) at MS.Win32.UnsafeNativeMethods.DispatchMessage(System.Windows.Interop.MSG ByRef) at System.Windows.Threading.Dispatcher.PushFrameImpl(System.Windows.Threading.DispatcherFrame) at System.Windows.Threading.Dispatcher.PushFrame(System.Windows.Threading.DispatcherFrame) at System.Windows.Application.RunDispatcher(System.Object) at System.Windows.Application.RunInternal(System.Windows.Window) at System.Windows.Application.Run(System.Windows.Window) at Appium.App.Main()
-
Event 1000, Application Erorr:
Faulting application name: Appium.exe, version: 1.4.16.1, time stamp: 0x5667540e Faulting module name: KERNELBASE.dll, version: 10.0.14393.0, time stamp: 0x57898e34 Exception code: 0xe0434352 Fault offset: 0x000d96c2 Faulting process id: 0x1040 Faulting application start time: 0x01d28f9dc7f56e90 Faulting application path: D:\1\Appium\Appium.exe Faulting module path: C:\Windows\System32\KERNELBASE.dll Report Id: 0d66a3f7-88fa-45f5-82c8-23b6b797df48 Faulting package full name: Faulting package-relative application ID:
-
Event 1001, Windows Error Reporting:
Fault bucket 129262020772, type 5 Event Name: CLR20r3 Response: Not available Cab Id: 0
Problem signature: P1: Appium.exe P2: 1.4.16.1 P3: 5667540e P4: mscorlib P5: 4.6.1586.0 P6: 575a1299 P7: 1587 P8: fc P9: System.Windows.Markup.XamlParse P10:
Attached files: \?\C:\ProgramData\Microsoft\Windows\WER\Temp\WERF59D.tmp.WERInternalMetadata.xml
These files may be available here: C:\ProgramData\Microsoft\Windows\WER\ReportArchive\AppCrash_Appium.exe_d2a2db888c1e7a113a12c96858f9a8b6e15d1db3_b269dae2_02c0fb0b
Analysis symbol: Rechecking for solution: 0 Report Id: 0d66a3f7-88fa-45f5-82c8-23b6b797df48 Report Status: 0 Hashed bucket: 94ef3dfcff82d06558f4fa83bdd65152
What I've tried:
-
I installed a few different versions of Appium. Tried not installed but just copy already installed application from another PC.
-
I reinstalled Windows
-
I uninstalled all of the Windows' updates I was able to
-
I tried to un/enable a various Windows features (Programs and Features -> Turn Windows features on or off). But mostly intuitively =)
The result is allways the same. So, help me, please)
Aucun commentaire:
Enregistrer un commentaire