New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
pyro0001: object reference not set to an instance of an object #4629
Comments
Which version of WiX are you using? |
I tried with Wix v 3.8 and 3.9 and both version had same issue.
|
Could you post your before and after media authoring?
|
Here is the code wish was generating nullreferenceexception: **** . . .And here is the code which was solving the nullreferenceexception: ** **
|
|
|
|
I'm still running into this issue and it's not clear what's going on at all. I'd like to avoid delving into internal errors if I can. Can I get any insight as to what's going on or at least how to proceed? |
For anyone that is still having this issue, based on what I've dug up searching online, it seems the WiX team is not planning on fixing it for the 3.x WiX Toolset. The excuse is fine, in that there is a decent workaround. The problem I have, is the workaround is not well documented. So, I've documented the workaround as an answer to the following stackoverflow post: Hopefully this helps someone! |
Hi,
I was building a msp file using candle, light torch and pyro as mentioned in tutorial.
And I got this error message when I try to build the .msp file from .wixout files.
The detail error message is:
Exception Type: System.NullReferenceException
Stack Trace:
at Microsoft.Tools.WindowsInstallerXml.MediaRow.get_LastSequence()
at Microsoft.Tools.WindowsInstallerXml.Patch.AttachTransforms(ArrayList transforms)
at Microsoft.Tools.WindowsInstallerXml.Tools.Pyro.Run(String[] args)
Unhandled Exception: System.NullReferenceException: Object reference not set to an instance of an object.
at Microsoft.Tools.WindowsInstallerXml.MediaRow.get_LastSequence()
at Microsoft.Tools.WindowsInstallerXml.Patch.AttachTransforms(ArrayList transforms)
at Microsoft.Tools.WindowsInstallerXml.Tools.Pyro.Run(String[] args)
at Microsoft.Tools.WindowsInstallerXml.Tools.Pyro.Main(String[] args)
I checked the source file where it causes problem but it is hard to understand for me why the corresponding object gives me null (I am not sure what are conditions to make the object null).
Please can you help me to solve the problem? I won't put the source file code because it is very large, but If needed I will post it later.
Thank you.
The text was updated successfully, but these errors were encountered: