Ticket #603 (closed defect: fixed)

Opened 7 years ago

Last modified 7 years ago

Some crashes in skippables

Reported by: rachana-singh Owned by: chhavi-negi
Priority: critical Milestone: Obi 2.5 alpha
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

1) Select last phrase do begin note then go to few phrases ahead and do end note error msg box comes, then again go to next phrase and do end note those 2 phrases become skippable note now.go back to same last phrase press end note.we get a crash given below.

System.NullReferenceException? was unhandled

Message="Object reference not set to an instance of an object." Source="Obi" StackTrace?:

at Obi.ProjectView?.ProjectView?.AssignRoleToMarkedContinuousNodes?()

in C:\Users\Rachana Singh\Desktop\DAISY\obi\trunk\Obi\Obi\ProjectView?\ProjectView?.cs:line 3637

at Obi.ProjectView?.ContentView?.Context_Skippable_EndSpecialNodeMarkToolStripMenuItem_Click(Object

sender, EventArgs? e) in C:\Users\Rachana Singh\Desktop\DAISY\obi\trunk\Obi\Obi\ProjectView?\ContentView?.cs:line 5162

at System.Windows.Forms.ToolStripItem?.RaiseEvent?(Object key, EventArgs? e) at System.Windows.Forms.ToolStripMenuItem?.OnClick?(EventArgs? e) at System.Windows.Forms.ToolStripItem?.HandleClick?(EventArgs? e) at System.Windows.Forms.ToolStripItem?.HandleMouseUp?(MouseEventArgs? e) at System.Windows.Forms.ToolStripItem?.FireEventInteractive?(EventArgs?

e, ToolStripItemEventType? met)

at System.Windows.Forms.ToolStripItem?.FireEvent?(EventArgs? e,

ToolStripItemEventType? met)

at System.Windows.Forms.ToolStrip?.OnMouseUp?(MouseEventArgs? mea) at System.Windows.Forms.ToolStripDropDown?.OnMouseUp?(MouseEventArgs? mea) at System.Windows.Forms.Control.WmMouseUp?(Message& m,

MouseButtons? button, Int32 clicks)

at System.Windows.Forms.Control.WndProc?(Message& m) at System.Windows.Forms.ScrollableControl?.WndProc?(Message& m) at System.Windows.Forms.ToolStrip?.WndProc?(Message& m) at System.Windows.Forms.ToolStripDropDown?.WndProc?(Message& m) at System.Windows.Forms.Control.ControlNativeWindow?.OnMessage?(Message& m) at System.Windows.Forms.Control.ControlNativeWindow?.WndProc?(Message& m) at System.Windows.Forms.NativeWindow?.DebuggableCallback?(IntPtr?

hWnd, Int32 msg, IntPtr? wparam, IntPtr? lparam)

at System.Windows.Forms.UnsafeNativeMethods?.DispatchMessageW(MSG& msg) at System.Windows.Forms.Application.ComponentManager?.System.Windows.Forms.UnsafeNativeMethods?.IMsoComponentManager.FPushMessageLoop(Int32

dwComponentID, Int32 reason, Int32 pvLoopData)

at System.Windows.Forms.Application.ThreadContext?.RunMessageLoopInner?(Int32

reason, ApplicationContext? context)

at System.Windows.Forms.Application.ThreadContext?.RunMessageLoop?(Int32

reason, ApplicationContext? context)

at System.Windows.Forms.Application.Run(Form mainForm) at Obi.Program.Main(String[] args) in C:\Users\Rachana

Singh\Desktop\DAISY\obi\trunk\Obi\Obi\Program.cs:line 29

at System.AppDomain?._nExecuteAssembly(Assembly assembly, String[] args) at System.AppDomain?.ExecuteAssembly?(String assemblyFile,

Evidence assemblySecurity, String[] args)

at Microsoft.VisualStudio?.HostingProcess?.HostProc?.RunUsersAssembly?() at System.Threading.ThreadHelper?.ThreadStart_Context(Object state) at System.Threading.ExecutionContext?.Run(ExecutionContext?

executionContext, ContextCallback? callback, Object state)

at System.Threading.ThreadHelper?.ThreadStart?()

InnerException?:

2)Associate and Deassociate both buttons are enabled on selecting any of the special nodes and clicking associate.In above case if i select any other special node then also both the buttons are enabled.

3)System.ArgumentOutOfRangeException? was unhandled

Message="Index was out of range. Must be non-negative and less than the size of the collection.\r\nParameter name: index" Source="mscorlib" ParamName?="index" StackTrace?:

at System.ThrowHelper?.ThrowArgumentOutOfRangeException?(ExceptionArgument?

argument, ExceptionResource? resource)

at System.ThrowHelper?.ThrowArgumentOutOfRangeException?() at System.Collections.Generic.List`1.get_Item(Int32 index) at urakawa.ObjectListProvider?`1.Get(Int32 index) in

C:\Users\Rachana Singh\Desktop\DAISY\urakawa-sdk\trunk\csharp\core\ObjectListProvider?.cs:line 245

at Obi.SectionNode?.PhraseChild?(Int32 index) in C:\Users\Rachana

Singh\Desktop\DAISY\obi\trunk\Obi\Obi\SectionNode?.cs:line 241

at Obi.ProjectView?.ProjectView?.GotoFootnote?(Boolean GotoBegin?)

in C:\Users\Rachana Singh\Desktop\DAISY\obi\trunk\Obi\Obi\ProjectView?\ProjectView?.cs:line 3792

at Obi.ProjectView?.ContentView?.mSkippableMoveToToolStripMenuItem_Click(Object

sender, EventArgs? e) in C:\Users\Rachana Singh\Desktop\DAISY\obi\trunk\Obi\Obi\ProjectView?\ContentView?.cs:line 5198

4) Added shortcuts for go to begin & end for skippable notes. 5) Open project nothing selected then press add reference in Phrase menu Null reference crash is there.

Change History

comment:1 Changed 7 years ago by rachana-singh

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

comment:2 Changed 7 years ago by rachana-singh

  • Status changed from closed to reopened
  • Resolution fixed deleted

comment:3 Changed 7 years ago by avneesh-singh

  • Milestone set to Obi 2.5 alpha

comment:4 Changed 7 years ago by avneesh-singh

  • Owner changed from avneesh-singh to chhavi-negi
  • Status changed from reopened to new

comment:5 Changed 7 years ago by avneesh-singh

  • Priority changed from major to critical
  • Status changed from new to closed
  • Resolution set to fixed
Note: See TracTickets for help on using tickets.