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

App crashed when moving a file #1348

Closed
JaiganeshKumaran opened this issue Jul 4, 2020 · 5 comments · Fixed by #1354
Closed

App crashed when moving a file #1348

JaiganeshKumaran opened this issue Jul 4, 2020 · 5 comments · Fixed by #1354
Labels
bug Something isn't working 👀 needs - additional info Needs more information from the reporter

Comments

@JaiganeshKumaran
Copy link
Contributor

Desktop:

  • OS Version: Insider Preview Build 20161
  • App version: v0.11.1

Additional context

2020-07-04 17:25:12.5837|ERROR|Files.App|The specified file is read only.
|System.Exception: The specified file is read only.

   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() + 0x21
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task) + 0x70
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task) + 0x38
   at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd(Task) + 0x17
   at System.Runtime.CompilerServices.TaskAwaiter.GetResult() + 0xb
   at Files.Interacts.Interaction.<>c__DisplayClass59_0.<<PasteItems>b__0>d.MoveNext() + 0x1b21
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() + 0x21
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task) + 0x70
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task) + 0x38
   at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd(Task) + 0x17
   at System.Runtime.CompilerServices.TaskAwaiter.GetResult() + 0xb
   at Files.Interacts.Interaction.<PasteItems>d__59.MoveNext() + 0xb1
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() + 0x21
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task) + 0x70
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task) + 0x38
   at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd(Task) + 0x17
   at System.Runtime.CompilerServices.TaskAwaiter.GetResult() + 0xb
   at Files.Interacts.Interaction.<PasteItem_ClickAsync>d__58.MoveNext() + 0xcf
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() + 0x21
   at System.Runtime.CompilerServices.AsyncMethodBuilderCore.<>c.<ThrowAsync>b__7_0(Object) + 0x1e
   at System.Action`1.Invoke(T) + 0x28
   at System.Threading.WinRTSynchronizationContext.Invoker.InvokeCore() + 0x33
   at System.Runtime.InteropServices.McgMarshal.ThrowOnExternalCallFailed(Int32, RuntimeTypeHandle) + 0x21
   at __Interop.ComCallHelpers.Call(__ComObject, RuntimeTypeHandle, Int32) + 0xb8
   at __Interop.ForwardComStubs.Stub_10[TThis](__ComObject, Int32) + 0x24
   at Microsoft.AppCenter.Utils.ApplicationLifecycleHelper.<.ctor>b__17_1(Object, UnhandledErrorDetectedEventArgs) + 0x3d
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() + 0x21
   at Microsoft.AppCenter.Utils.ApplicationLifecycleHelper.<.ctor>b__17_1(Object, UnhandledErrorDetectedEventArgs) + 0x75
   at System.EventHandler`1.Invoke(Object, TEventArgs) + 0x2e
   at __Interop.Intrinsics.HasThisCall__23[TArg0](Object, IntPtr, Object, TArg0) + 0x36
   at Files!<BaseAddress>+0x1266170
@JaiganeshKumaran JaiganeshKumaran added the bug Something isn't working 👀 label Jul 4, 2020
@ghost ghost added the needs-triage label Jul 4, 2020
@lukeblevins
Copy link
Contributor

@JaiganeshKumaran Is there anything interesting attribute-wise about the directory you moved things to?

@yaira2 yaira2 added needs - additional info Needs more information from the reporter and removed needs-triage labels Jul 5, 2020
@JaiganeshKumaran
Copy link
Contributor Author

JaiganeshKumaran commented Jul 5, 2020

@duke7553 It's partially read-only however Files UWP was able to move files but the app crashes.

@gave92
Copy link
Member

gave92 commented Jul 5, 2020

I have the same issue with the master branch, when moving any file the app will crash with the issue above.
Moving the same file to the same destination with store version works fine.
Aaand.. that was me in 5a0c751 :/
@yaichenbaum I think this is related to an issue you know of well -> microsoft/microsoft-ui-xaml#2421 :)

@yaira2
Copy link
Member

yaira2 commented Jul 5, 2020

@gave92 Is this when dragging files into Files UWP from the desktop or when dragging files around in Files UWP itself?

@gave92
Copy link
Member

gave92 commented Jul 5, 2020

@yaichenbaum this is when dragging files inside Files itself but also happened when doing cut+paste through context menu.
Guess it's related to using DataPackageView.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working 👀 needs - additional info Needs more information from the reporter
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants