Hi Jochen,

I've written a somewhat sophisticated front-end tool to my automated inventory system. The inventory system manages and tracks over 12,000 computers ranging from Windows 95-Vista, Linux, Mac OSX, Solaris, FreeBSD, Irix and Xenix. Each machine reports via SOAP to a .NET web service that analyses data and updates a central database.

The KiXtart/KiXforms code for the front-end is around 8,000 long lines, so it is only natural that it should encounter some unusual bugs. In this case, I found the bug because my front-end keeps a history in the registry of the current user's last 20 queries. As the query generation tool within the front-end has many fields, this feature is quite convenient.

When the user goes to the main menu to redo a previously stored query, the front-end also fills in and creates appropriate form objects (up to 50) to enable the user to make easy modifications to the stored query.

The bug in question arose because a property of an object created by this process was referenced, even though it had not yet been set.

Cheers,

Richard


Edited by It_took_my_meds (2007-11-15 01:20 PM)