Skip to content

`tap package list` errors out while packages are being uploaded to repo

This happened to me only for a short time while new packages were being uploaded to the repo.

C:\Program Files\OpenTAP
λ tap package list -v
00:00:00.112 : Session       : Debug       : Session log loaded as 'C:\Program Files\OpenTAP\SessionLogs\tap\tap 2019-09-16 23-14-11.txt'. [7.82 ms]
00:00:00.162 : Session       : Debug       : Microsoft Windows 10.0.16299 X64
00:00:00.162 : Session       : Debug       : .NET Framework 4.8.3928.0
00:00:00.187 : Session       : Debug       : OpenTAP Engine 9.3.0-beta.38+6d03353d X64
00:00:00.199 : Resolver      : Debug       : Found match for System.Reflection.Metadata, Version=1.4.3.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a in C:\Program Files\OpenTAP\Dependencies\System.Reflection.Metadata.1.4.3.0\System.Reflection.Metadata.dll
00:00:00.265 : Resolver      : Debug       : Found match for System.Collections.Immutable, Version=1.2.1.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a in C:\Program Files\OpenTAP\Dependencies\System.Collections.Immutable.1.2.3.0\System.Collections.Immutable.dll
00:00:00.350 : Searcher      : Debug       : Ordered 16 assemblies according to references. [89.9 ms]
00:00:00.477 : Settings      : Debug       : No settings file exists for EngineSettings. A new instance with default values has been created. [11.1 ms]
00:00:00.529 : PluginManager : Debug       : Loaded OpenTap. [65.9 us]
00:00:00.530 : PluginManager : Debug       : Loaded OpenTap.Package. [2.55 ms]
00:00:00.534 : Settings      : Debug       : No settings file exists for DutSettings. A new instance with default values has been created. [1.03 ms]
00:00:00.549 : Settings      : Debug       : No settings file exists for InstrumentSettings. A new instance with default values has been created. [359 us]
00:00:00.554 : Settings      : Debug       : No settings file exists for ConnectionSettings. A new instance with default values has been created. [1.88 ms]
00:00:00.555 : Settings      : Debug       : No settings file exists for ResultSettings. A new instance with default values has been created. [600 us]
00:00:00.558 : Settings      : Debug       : No settings file exists for PackageManagerSettings. A new instance with default values has been created. [2.34 ms]
00:00:00.579 : Session       : Debug       : Session log loaded as 'C:\Program Files\OpenTAP\SessionLogs\SessionLog 2019-09-16 23-14-11.txt'. [7.91 ms]
00:00:00.611 : PluginManager : Debug       : Loaded OpenTap.Plugins.BasicSteps. [2.70 ms]
00:00:00.712 : CliAction     : Debug       : tap version 9.3.0
00:00:01.965 : Resolver      : Debug       : Found match for Newtonsoft.Json, Version=12.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed in C:\Program Files\OpenTAP\Dependencies\Newtonsoft.Json.12.0.0.0\Newtonsoft.Json.dll
00:00:03.099 : tap           : Error       : Object reference not set to an instance of an object.
00:00:03.100 : tap           : Debug       : Exception: Object reference not set to an instance of an object.
00:00:03.114 : tap           : Debug       :     at OpenTap.Package.PackageListAction.<>c.<PrintReadable>b__31_0(PackageDef p)
00:00:03.114 : tap           : Debug       :     at System.Linq.Lookup`2.Create[TSource](IEnumerable`1 source, Func`2 keySelector, Func`2 elementSelector, IEqualityComparer`1 comparer)
00:00:03.114 : tap           : Debug       :     at System.Linq.GroupedEnumerable`3.GetEnumerator()
00:00:03.114 : tap           : Debug       :     at System.Linq.Enumerable.WhereSelectEnumerableIterator`2.MoveNext()
00:00:03.114 : tap           : Debug       :     at System.Linq.Buffer`1..ctor(IEnumerable`1 source)
00:00:03.114 : tap           : Debug       :     at System.Linq.OrderedEnumerable`1.<GetEnumerator>d__1.MoveNext()
00:00:03.114 : tap           : Debug       :     at System.Collections.Generic.List`1..ctor(IEnumerable`1 collection)
00:00:03.114 : tap           : Debug       :     at System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source)
00:00:03.114 : tap           : Debug       :     at OpenTap.Package.PackageListAction.PrintReadable(List`1 packages, HashSet`1 installed)
00:00:03.114 : tap           : Debug       :     at OpenTap.Package.PackageListAction.LockedExecute(CancellationToken cancellationToken)
00:00:03.114 : tap           : Debug       :     at OpenTap.Package.LockingPackageAction.Execute(CancellationToken cancellationToken)
00:00:03.114 : tap           : Debug       :     at OpenTap.Cli.ICliActionExtensions.PerformExecute(ICliAction action, String[] parameters)
00:00:03.114 : tap           : Debug       :     at OpenTap.Cli.CliActionExecutor.Execute(String[] args)