Bugs item #1578538, was opened at 2006-10-16 15:02
Message generated for change (Settings changed) made by pmarcu
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=642714&aid=1578538&group_id=105970

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
>Category: candle
Group: v3.0
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: e__ (e__)
>Assigned to: pmarcu (pmarcu)
Summary: Null value in non=nullable column throws exception

Initial Comment:
If a CustomTable\Column does not have the attribute 
Nullable="yes" (i.e. Nullable="no" or Nullable is not 
specified), and a CustomTable\Row has data for that 
Column, and leaves it empty, or omits that Column 
entirely, the Linker throws an unhandled exception. 

It would be preferable for the compiler or linker to 
catch the error and report a useful error message.

The exception is:

Microsoft (R) Windows Installer Xml Linker version 
3.0.2128.0
Copyright (C) Microsoft Corporation 2003. All rights 
reserved.

light.exe : error LGHT0001 : Object reference not set 
to an instance of an object.

Exception Type: System.NullReferenceException

Stack Trace:
   at Microsoft.Tools.WindowsInstallerXml.Linker.Link
(SectionCollection sections)
   at 
Microsoft.Tools.WindowsInstallerXml.Tools.Light.Run
(String[] args)

Unhandled Exception: System.NullReferenceException: 
Object reference not set to an instance of an object.
   at Microsoft.Tools.WindowsInstallerXml.Linker.Link
(SectionCollection sections)
   at 
Microsoft.Tools.WindowsInstallerXml.Tools.Light.Run
(String[] args)
   at 
Microsoft.Tools.WindowsInstallerXml.Tools.Light.Main
(String[] args)


----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=642714&aid=1578538&group_id=105970

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
WiX-devs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wix-devs

Reply via email to