Page MenuHomeFeedback Tracker

Addon Builder CLI crashes when using exclude
Closed, ResolvedPublic

Description

Addon Builder in CLI mode crashes when -exclude flag is used.

[2019-05-13 21:47:29,199] [FATAL]: System.ArgumentNullException: Value cannot be null.
Parameter name: path
   at System.IO.Path.GetFullPathInternal(String path)
   at AddonBuilder.Tasks.TextureHeaderBinazrizeTask..ctor(String binarizeExe, String sourceDir, String dest, String workingDir, String excludeListPath)
   at AddonBuilder.Builder..ctor(BuilderConfiguration cfg)
   at AddonBuilder.Program.RunComandLineApp(BuilderCommandLine builderArgs)
   at AddonBuilder.Program.Main(String[] args)

Details

Severity
Crash
Resolution
Open
Reproducibility
Always
Operating System
Windows 7
Operating System Version
6.1.7601.65536 (Microsoft Windows NT 6.1.7601 Service Pack 1)
Category
Tools
Steps To Reproduce

Build an addon using AddonBuilder.exe, in CLI mode, with an exclude list specified.

Additional Information

AddonBuilder.BuilderConfiguration - CLI constructor: ExcludeListFilename isn't set to args.ExcludeFile when args.ExcludeFile is not null/whitespace.

Event Timeline

Coryf88 created this task.May 14 2019, 5:08 AM
Wulf closed this task as Resolved.Apr 14 2020, 5:56 PM
Wulf claimed this task.