You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Heat crashes during harvesting several dll files. The files provide COM servers implemented with ATL including selfregister functionality. The files are compiled with Visual Studio 2008.
Heat throws a NullReferenceException with the following output (message text is german):
heat.exe : error HEAT0001 : Der Objektverweis wurde nicht auf eine Objektinstanz festgelegt.
Exception Type: System.NullReferenceException
Stack Trace:
bei Microsoft.Tools.WindowsInstallerXml.Extensions.UtilFinalizeHarvesterMutator.MutateComponents()
bei Microsoft.Tools.WindowsInstallerXml.Extensions.UtilFinalizeHarvesterMutator.Mutate(Wix wix)
bei Microsoft.Tools.WindowsInstallerXml.Mutator.Mutate(Wix wix)
bei Microsoft.Tools.WindowsInstallerXml.Tools.Heat.Run(String[] args)
Unbehandelte Ausnahme: System.NullReferenceException: Der Objektverweis wurde nicht auf eine Objektinstanz festgelegt.
bei Microsoft.Tools.WindowsInstallerXml.Extensions.UtilFinalizeHarvesterMutator.MutateComponents()
bei Microsoft.Tools.WindowsInstallerXml.Extensions.UtilFinalizeHarvesterMutator.Mutate(Wix wix)
bei Microsoft.Tools.WindowsInstallerXml.Mutator.Mutate(Wix wix)
bei Microsoft.Tools.WindowsInstallerXml.Tools.Heat.Run(String[] args)
bei Microsoft.Tools.WindowsInstallerXml.Tools.Heat.Main(String[] args)
The problem is located in file "src\ext\UtilExtension\wixext\UtilFinalizeHarvesterMutator.cs" inline 269: string[] parts = registryValue.Key.Split('\\');
The following change works for me: string[] parts = registryValue.Key != null ? registryValue.Key.Split('\\') : new string[0];
Originally opened by tne
The text was updated successfully, but these errors were encountered:
Heat crashes during harvesting several dll files. The files provide COM servers implemented with ATL including selfregister functionality. The files are compiled with Visual Studio 2008.
Heat throws a NullReferenceException with the following output (message text is german):
The problem is located in file "src\ext\UtilExtension\wixext\UtilFinalizeHarvesterMutator.cs" inline 269:
string[] parts = registryValue.Key.Split('\\');
The following change works for me:
string[] parts = registryValue.Key != null ? registryValue.Key.Split('\\') : new string[0];
The text was updated successfully, but these errors were encountered: