Ticket #354 (closed defect: fixed)

Opened 11 years ago

Last modified 11 years ago

a handled exception window pops up that does not go when phrases are made visible in a section

Reported by: chhavi-negi Owned by: avneesh-singh
Priority: major Milestone: Obi 1.0
Component: Application Version:
Keywords: Cc:
Blocked By: Blocking:
Time planned: 1d Time remaining: 1d
Time spent: 1d Estimated Number of Hours:
Add Hours to Ticket: Billable?:
Total Hours:


While i was working in making phrases visible and invisible in a section then i came across a window which said: System.ArgumentOutOfRangeExcepton:Index was out of range. Must be non-negative and less than size of the collection. Parameter name : index at System.ThrowHelper?.ThrowArgumentOutOfRangeExcepton?(ExceptionArgument? argument, ExceptionResource? resource) at System.ThrowHelper?.ThrowArgumentOutOfRangeExcepton?() at System.Collections.Generic.List1.get_Item(Int32 index) at Obi.ProjectView?.ContentView?.VisibleStripindexToMakeInvisible?(Int32 newsectionIndex) in C:\Users\chhavi\desktop\obi\trunk\obi\obi\projectView\ContentView?.cs:line 1259 at Obi.ProjectView?.ContentView?.MakeOldStripsBlockInvisible?(Int32 countRequired, Boolean tillOverLimit,Int32 newStripIndex) in C:\Users\chhavi\desktop\obi\trunk\obi\obi\projectView\ContentView?.cs:line 1106 and when i pressed Ok even then this window would not go. It kept on popping up whenever i pressed Ok. I had to stop debugging to close it. the operation was like this: The whole project had 74 sections and 713 phrases.
The 1st three and last two sections had different number of phrases and rest of the project had similar number of phrases.
Initially all the 713 phrases are visible in the project.
Now when i added a new section and in that i added a few phrases then the phrases in the first three sections got invisible.
Then i deleted this last section that i had added. Then i made the first three sections visible.
The last two sections got invisible. I made the last section that had 1 phrase visible, nothing happened but when i made the second last section visible that had around 10 phrases then this window that i had mentioned popped up.

Change History

comment:1 Changed 11 years ago by avneesh-singh

  • Status changed from new to closed
  • Resolution set to fixed

(In [2407]) fixed #354 value out of bounds of visible strips list

Note: See TracTickets for help on using tickets.