Bugs item #1622053, was opened at 2006-12-25 09:47 Message generated for change (Settings changed) made by robmen You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=642714&aid=1622053&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: v2.0 >Status: Pending >Resolution: Fixed Priority: 5 Private: No Submitted By: Agustín K-ballo Bergé (k-ballo) >Assigned to: Rob Mensching (robmen) Summary: Name-less WebApplication raises unhandled exception Initial Comment: When using a WebApplication element that does not have a Name attribute, an unhandled exception raises. I'm using WiX 2.0.4611. New Project.waproj(19) : error CNDL0011 : The WebApplication/@Name attribute was not found; it is required. candle.exe : error CNDL0001 : Object reference not set to an instance of an object. Exception Type: System.NullReferenceException Stack Trace: at Microsoft.Tools.WindowsInstallerXml.Compiler.ParseWebApplicationElement(XmlNode node) at Microsoft.Tools.WindowsInstallerXml.Compiler.ParseWebSiteElement(XmlNode node, String componentId) at Microsoft.Tools.WindowsInstallerXml.Compiler.ParseComponentElement(XmlNode node, String directoryId, String srcPath) at Microsoft.Tools.WindowsInstallerXml.Compiler.ParseDirectoryElement(XmlNode node, String parentId, String fileSource) at Microsoft.Tools.WindowsInstallerXml.Compiler.ParseProductElement(XmlNode node) at Microsoft.Tools.WindowsInstallerXml.Compiler.ParseWixElement(XmlNode node) at Microsoft.Tools.WindowsInstallerXml.Compiler.Compile(XmlDocument source, String sourcePath) at Microsoft.Tools.WindowsInstallerXml.Tools.Candle.Run(String[] args) ---------------------------------------------------------------------- >Comment By: Rob Mensching (robmen) Date: 2007-01-04 23:14 Message: Logged In: YES user_id=991639 Originator: NO WiX v3 had the fix, just needed an *else* if to handle error case when WebApplication/@Name is null. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=642714&aid=1622053&group_id=105970 ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ WiX-devs mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/wix-devs
