BoolBySigma / UpdateAssemblyInfo

SORRY THIS IS NO LONGER MAINTAINED
10 stars 9 forks source link

Builderror: Object reference not set to an instance of an object. #12

Closed mrispens closed 7 years ago

mrispens commented 7 years ago

Hi

Sinds this night, our nightly builds fail because of an build error in UpdateAssemblyInfo. Below the complete log:

2017-05-12T00:04:21.0289528Z ##[section]Starting: Update SharedAssemblyInfo 2017-05-12T00:04:21.0289528Z ============================================================================== 2017-05-12T00:04:21.0289528Z Task : Update Assembly Info 2017-05-12T00:04:21.0289528Z Description : Update assembly info of one or multiple projects 2017-05-12T00:04:21.0289528Z Version : 2.0.31 2017-05-12T00:04:21.0289528Z Author : Bool (by Sigma) 2017-05-12T00:04:21.0299522Z Help : Having Problems? Please create an issue on our Github and we will try to help you. 2017-05-12T00:04:21.0299522Z ============================================================================== 2017-05-12T00:04:28.8006670Z 2017-05-12T00:04:28.8196668Z Parameter Value 2017-05-12T00:04:28.8196668Z --------- ----- 2017-05-12T00:04:28.8196668Z Add Missing Attriutes False 2017-05-12T00:04:28.8196668Z Description Build: Atermes_Trunk_20170512.1 - Commit: 2108 2017-05-12T00:04:28.8196668Z Configuration acceptatie 2017-05-12T00:04:28.8196668Z Company Atermes BV 2017-05-12T00:04:28.8196668Z Product
2017-05-12T00:04:28.8196668Z Copyright Copyright c 2017 Atermes BV 2017-05-12T00:04:28.8196668Z Trademark Atermes BV 2017-05-12T00:04:28.8196668Z Informational Version $(current).$(current).50.2108 2017-05-12T00:04:28.8196668Z Com Visible False 2017-05-12T00:04:28.8196668Z CLS Compliant
2017-05-12T00:04:28.8196668Z File Version $(current).$(current).50.2108 2017-05-12T00:04:28.8196668Z Assembly Version $(current).$(current).50.2108 2017-05-12T00:04:28.8196668Z 2017-05-12T00:04:28.8236743Z 2017-05-12T00:04:30.6967872Z Updating... 2017-05-12T00:04:30.9077715Z ##[error]Object reference not set to an instance of an object. 2017-05-12T00:04:30.9437696Z ##[section]Finishing: Update SharedAssemblyInfo

ghost commented 7 years ago

Sorry about that.

Could you run your build with variable system.debug set to true and upload the log? Could you also upload a copy of your original SharedAssemblyInfo? That would make debugging much easier.

mrispens commented 7 years ago

Hope this helps, thank you. DebugLog.txt

ghost commented 7 years ago

Thank you.

Would you be able to post your SharedAssemblyInfo? Would make for much faster debugging.

ghost commented 7 years ago

I believe i have found the problem and have patched it in version 2.0.32.

Please try it out and let me know how it works for you

mrispens commented 7 years ago

Yes, it seems to work again :) Last night the automatic build succeeded, great support, thanks!

Best regards

ghost commented 7 years ago

Happy to help.

Perhaps you would consider leaving a good review?:)

Thank you for your input. The extension was improved greatly because of it.