Knowledge Base

Knowledge Base
Subject: [Major Bug] Show in database gives an error
Status As Designed
Product WireCAD v8
Product Level PRO
Database Type SQL Server
Build Number (last 4 digits of version) 1348

Message

Customer
When assigning a cable number and wirecad gives an warning that the source or destination is already in use. With this screen it's also possible to see the database entry. This gives an exception:

WireCAD8 : System.NullReferenceException
Object reference not set to an instance of an object.

at WireCAD.frmAssignCableNos.frmAssignCableNos_Load(Object sender, EventArgs e)
at System.Windows.Forms.Form.OnLoad(EventArgs e)
at DevExpress.XtraEditors.XtraForm.OnLoad(EventArgs e)
at System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)
at System.Windows.Forms.Control.CreateControl()
at System.Windows.Forms.Control.WmShowWindow(Message& m)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.Form.WmShowWindow(Message& m)
at System.Windows.Forms.Form.WndProc(Message& m)
at DevExpress.XtraEditors.XtraForm.WndProc(Message& msg)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
10-September-2015 (05:22 AM)
Customer
Also this causes the reset of my next cable number, very dangerous behavior.
10-September-2015 (05:43 AM)
Verified
10-September-2015 (05:56 PM)
Support
Fixed in build 1249
10-September-2015 (06:17 PM)
Support
Customer
Now the exception is gone but the correct cable is not found. I get the filter settings of a wrong cable. And this filter setting is not an excisting cable.
21-September-2015 (06:03 AM)
This is as designed. The error list may contain many errors. Which of those should we show?

CBH
24-September-2015 (07:07 PM)
Support
Customer
But I know for sure that the cable is existing (and wirecad does too, because it gives the error message). If cable not found give a message box or similar?
08-October-2015 (08:39 AM)
Understood, WireCAD is designed to show a list of error cables. There can be more than one. In this case we would not be able to show a single cable. So as I say this is working as designed. I will think on how we might enhance it in the future. Any ideas are welcome.
CBH
13-October-2015 (09:55 AM)
Support