Ticket #560 (closed defect: fixed)

Opened 8 years ago

Last modified 8 years ago

Cross thread exception raised on opening project on clicking Restore from back up

Reported by: rachana-singh Owned by: avneesh-singh
Priority: major Milestone: Obi 2.0 Beta
Component: Application Version:
Keywords: Cc:
Blocked By: Blocking:
Time planned: 1d Time remaining: 1d
Time spent: 1d Estimated Number of Hours: 0.0
Add Hours to Ticket: 0 Billable?: yes
Total Hours: 0

Description

i did restore from backup for some other project but my obi was empty with no project so i checked open last project in preference project tab and closed obi. i reopened obi , i got a progress dialog of opening project and suddenly crash in VS.

System.InvalidOperationException? was unhandled

Message="Cross-thread operation not valid: Control 'Strip' accessed from a thread other than the thread it was created on." Source="System.Windows.Forms" StackTrace?:

at System.Windows.Forms.Control.get_Handle() at System.Windows.Forms.Control.get_Focused() at Obi.ProjectView?.ContentView?.set_Selection(NodeSelection? value) in C:\Users\Rachana Singh\Desktop\DAISY\obi\trunk\Obi\Obi\ProjectView?\ContentView?.cs:line 677 at Obi.ProjectView?.ProjectView?.set_Selection(NodeSelection? value) in C:\Users\Rachana Singh\Desktop\DAISY\obi\trunk\Obi\Obi\ProjectView?\ProjectView?.cs:line 1279 at Obi.ObiForm?.<UpdateKeyboardFocusForSelection?>b10(Object , RunWorkerCompletedEventArgs? ) in C:\Users\Rachana Singh\Desktop\DAISY\obi\trunk\Obi\Obi\ObiForm?.cs:line 1003 at System.ComponentModel?.BackgroundWorker?.OnRunWorkerCompleted?(RunWorkerCompletedEventArgs? e) at System.ComponentModel?.BackgroundWorker?.AsyncOperationCompleted?(Object arg) at System.Threading._ThreadPoolWaitCallback.WaitCallback_Context(Object state)

at System.Threading.ExecutionContext?.Run(ExecutionContext? executionContext, ContextCallback? callback, Object state)

at System.Threading._ThreadPoolWaitCallback.PerformWaitCallbackInternal?(_ThreadPoolWaitCallback tpWaitCallBack) at System.Threading._ThreadPoolWaitCallback.PerformWaitCallback?(Object state)

InnerException?:

Change History

comment:1 Changed 8 years ago by avneesh-singh

  • Status changed from new to closed
  • Resolution set to fixed
  • Milestone set to Obi 2.0 Beta
Note: See TracTickets for help on using tickets.