"Filter To This Value" on Blank Date = Crash

Troubles_In_Paradise
Member Posts: 588
Hi guys,
I'd report strange behavior I found in all our customers' dbs using NAV 2009 R2 RTC.
1. Open Sales Order page
2. Insert a line with field "Planned Delivery Date" blank
3. Right-Click on "Planned Delivery Date"
4. Filter to this value
5. Crash....
Opening the filter page (Right-Click > Filter) and filtering for "Planned Delivery Date is '' " the filter works.
There're not errors on the server, the error is client-side:
This happens for all Date fields if they're blank in all SubPages (both standard and custom).
I verified it on these verisons:
- build 33137 (locs. W1, CZ, SK, BG, HU,RO)
- build 33154 (locs. IT)
Does this happen also in your dbs?
Have you got any suggestion?
thank you in advance
I'd report strange behavior I found in all our customers' dbs using NAV 2009 R2 RTC.
1. Open Sales Order page
2. Insert a line with field "Planned Delivery Date" blank
3. Right-Click on "Planned Delivery Date"
4. Filter to this value
5. Crash....
Opening the filter page (Right-Click > Filter) and filtering for "Planned Delivery Date is '' " the filter works.
There're not errors on the server, the error is client-side:
Type: System.NullReferenceException Message: Object reference not set to an instance of an object. StackTrace: at Microsoft.Dynamics.Nav.Client.ExceptionHandler.<>c__DisplayClass2.<DoRethrowWithCatchException>b__0() at Microsoft.Dynamics.Nav.Client.ExceptionHandler.ExecuteAndCatchExceptions(Func`1 execute) at Microsoft.Dynamics.Nav.Client.ExceptionHandler.DoExecute(Func`1 execute) at Microsoft.Dynamics.Nav.Client.ExceptionHandler.DoRethrowWithCatchException(Exception exception) Source: Microsoft.Dynamics.Nav.Client ---------------------------------- Type: System.NullReferenceException Message: Object reference not set to an instance of an object. StackTrace: at Microsoft.Dynamics.Framework.UI.FilterToThisValueAction.GetFilterValue(LogicalControl filterValueControl) at Microsoft.Dynamics.Nav.Client.Actions.NavSubFormFilterToThisValueAction.GetFilterValue(LogicalControl filterValueControl) at Microsoft.Dynamics.Nav.Client.Actions.NavSubFormFilterToThisValueAction.InvokeCore(Boolean async, LogicalControl logicalControl, Object state, UISession uiSession) at Microsoft.Dynamics.Framework.UI.Action.InvokeCoreWithErrorHandling(Boolean async, LogicalControl logicalControl, Object state, UISession uiSession) at Microsoft.Dynamics.Framework.UI.Action.DoInvoke(LogicalControl logicalControl, UISession uiSession) at Microsoft.Dynamics.Framework.UI.ActionControl.Invoke() at Microsoft.Dynamics.Framework.UI.Windows.ActionControlAdapterBase.DefaultInvokeAction(LogicalControlAdapter adapter, ActionControl actionControl) at Microsoft.Dynamics.Framework.UI.Windows.ActionControlAdapterBase.DefaultInvokeAction(LogicalControlAdapter adapter) at Microsoft.Dynamics.Framework.UI.Windows.ActionControlAdapterBase.OnInvoke() at Microsoft.Dynamics.Framework.UI.WinForms.MenuBarActionControlAdapter.<InitializeNativeControl>b__0(Object sender, EventArgs e) 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.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam) Source: Microsoft.Dynamics.Framework.UI
This happens for all Date fields if they're blank in all SubPages (both standard and custom).
I verified it on these verisons:
- build 33137 (locs. W1, CZ, SK, BG, HU,RO)
- build 33154 (locs. IT)
Does this happen also in your dbs?
Have you got any suggestion?
thank you in advance
~Rik~
It works as expected... More or Less...
It works as expected... More or Less...
0
Comments
-
Thanks, this is a generic issue for subform "filter to this value" that is likely to happen on other types as well, like Time.
I have logged it as a hotfix for V7.
Marc HansenThis posting is provided "AS IS" with no warranties, and confers no rights.0 -
"Marc wrote:"]Thanks, this is a generic issue for subform "filter to this value" that is likely to happen on other types as well, like Time.
I have logged it as a hotfix for V7.
Marc Hansen
Hi Marc,
thanks for replay.
So will this issue be solved in NAV 2013 only?~Rik~
It works as expected... More or Less...0 -
We will also log it for NAV 2009 R2 HF.“This posting is provided "AS IS" with no warranties, and confers no rights.”0
-
"Jorge wrote:"]We will also log it for NAV 2009 R2 HF.
Thank you very much Jorge.~Rik~
It works as expected... More or Less...0
Categories
- All Categories
- 73 General
- 73 Announcements
- 66.6K Microsoft Dynamics NAV
- 18.7K NAV Three Tier
- 38.4K NAV/Navision Classic Client
- 3.6K Navision Attain
- 2.4K Navision Financials
- 116 Navision DOS
- 851 Navision e-Commerce
- 1K NAV Tips & Tricks
- 772 NAV Dutch speaking only
- 617 NAV Courses, Exams & Certification
- 2K Microsoft Dynamics-Other
- 1.5K Dynamics AX
- 320 Dynamics CRM
- 111 Dynamics GP
- 10 Dynamics SL
- 1.5K Other
- 990 SQL General
- 383 SQL Performance
- 34 SQL Tips & Tricks
- 35 Design Patterns (General & Best Practices)
- 1 Architectural Patterns
- 10 Design Patterns
- 5 Implementation Patterns
- 53 3rd Party Products, Services & Events
- 1.6K General
- 1.1K General Chat
- 1.6K Website
- 83 Testing
- 1.2K Download section
- 23 How Tos section
- 252 Feedback
- 12 NAV TechDays 2013 Sessions
- 13 NAV TechDays 2012 Sessions