I'm trying to polish off a build by producing an MSI and I'm running in to some issues with the last release of nant (0.8.3 final). I had previously been able to produce an MSI w/ NANT 0.8.1 w/o too much hassle. Now I constantly get the following exception:


[msi] ERROR: System.NullReferenceException thrown:
Object reference not set to an instance of an object.
at NAnt.Core.DataTypeBase.InitializeElement(XmlNode elementNode)
at NAnt.Core.Types.FileSet.InitializeElement(XmlNode elementNode)
at NAnt.Core.Element.Initialize(XmlNode elementNode)
at NAnt.Contrib.Tasks.MSITask.AddFiles(Database Database, View DirectoryView,
MSIComponent Component, View FileView, Type InstallerType, Object InstallerObje
ct, String ComponentDirectory, String ComponentName, Int32& ComponentCount, Int3
2& Sequence, View MsiAssemblyView, View MsiAssemblyNameView, View ComponentView,
View FeatureComponentView, View ClassView, View ProgIdView, View SelfRegView)
at NAnt.Contrib.Tasks.MSITask.LoadComponents(Database Database, Type Installe
rType, Object InstallerObject, Int32& LastSequence, View MsiAssemblyView, View M
siAssemblyNameView, View DirectoryView, View ClassView, View ProgIdView)
at NAnt.Contrib.Tasks.MSITask.ExecuteTask():
NAnt.Core.BuildException: [msi] ERROR: System.NullReferenceException throw
n:
Object reference not set to an instance of an object.
at NAnt.Core.DataTypeBase.InitializeElement(XmlNode elementNode)
at NAnt.Core.Types.FileSet.InitializeElement(XmlNode elementNode)
at NAnt.Core.Element.Initialize(XmlNode elementNode)
at NAnt.Contrib.Tasks.MSITask.AddFiles(Database Database, View DirectoryView,
MSIComponent Component, View FileView, Type InstallerType, Object InstallerObje
ct, String ComponentDirectory, String ComponentName, Int32& ComponentCount, Int3
2& Sequence, View MsiAssemblyView, View MsiAssemblyNameView, View ComponentView,
View FeatureComponentView, View ClassView, View ProgIdView, View SelfRegView)
at NAnt.Contrib.Tasks.MSITask.LoadComponents(Database Database, Type Installe
rType, Object InstallerObject, Int32& LastSequence, View MsiAssemblyView, View M
siAssemblyNameView, View DirectoryView, View ClassView, View ProgIdView)
at NAnt.Contrib.Tasks.MSITask.ExecuteTask()
at NAnt.Contrib.Tasks.MSITask.ExecuteTask()
at NAnt.Core.Task.Execute()
at NAnt.Core.Target.Execute()
at NAnt.Core.Project.Execute(String targetName)
at NAnt.Core.Project.Execute()
at NAnt.Core.Project.Run()


I create a very simple build script that produces the error with 0.8.3 but not 0.8.1 if it would help. I don't want to spam everybody with it so its not attached. Please ask and I'll send it out.

Any help would be greatly apperciated.



Jake Watkins
[EMAIL PROTECTED]

_________________________________________________________________
Use custom emotions -- try MSN Messenger 6.0! http://www.msnmessenger-download.com/tracking/reach_emoticon




-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Nant-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/nant-users

Reply via email to