OpenWrap/openwrap

add-wrap -sys fails on descriptor parsing

Opened this issue · 0 comments

> o add-wrap openrasta-devtools -sys
# OpenWrap Shell 2.0.0.10
# Copyright © naughtyProd Limited 2009-2011
# Using C:\Users\Sebastien Lambla\AppData\Local\openwrap\wraps\_cache\openwrap-2.0.2.87978029\bin-net35\OpenWrap.dll (2.0.0.1)

# OpenWrap Shell could not start.

Exception has been thrown by the target of an invocation.
System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.NullReferenceException: Object reference not
set to an instance of an object.
   at OpenWrap.PackageModel.PackageDescriptorExtensions.GetOrCreateScopedDescriptor(IEnvironment env, String scope) in c:\src\openwrap\src\OpenWrap\PackageModel\PackageDescriptorExtensions.cs:line 19
   at OpenWrap.Commands.Wrap.AddWrapCommand.<ExecuteCore>d__0.MoveNext() in c:\src\openwrap\src\OpenWrap.Commands\Wrap\AddWrapCommand.cs:line 105
   at System.Linq.Enumerable.WhereEnumerableIterator`1.MoveNext()
   at OpenWrap.Commands.AbstractCommand.<Execute>d__0.MoveNext() in c:\src\openwrap\src\OpenWrap\Commands\AbstractCommand.cs:line 23
   at OpenWrap.Commands.Cli.CommandLineRunner.<Run>d__b.MoveNext() in c:\src\openwrap\src\OpenWrap\Commands\Cli\CommandLineRunner.cs:line 95
   at OpenWrap.Commands.Cli.ConsoleCommandExecutor.Execute(String commandLine, IEnumerable`1 optionalInputs) in c:\src\openwrap\src\OpenWrap\Commands\Cli\ConsoleCommandExecutor.cs:line 39
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle._InvokeMethodFast(Object target, Object[] arguments, SignatureStruct& sig, MethodAttributes methodAttributes, RuntimeTypeHandle typeOwner)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture, Boolean skipVisibilityChecks)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at System.Reflection.MethodBase.Invoke(Object obj, Object[] parameters)
   at OpenWrap.BootstrapRunner.<>c__DisplayClass16.<LoadEntrypointCache>b__15(IDictionary`2 env)
   at OpenWrap.BootstrapRunner.ExecuteEntrypoint(KeyValuePair`2 entryPoint, IEnumerable`1 assemblies, IEnumerable`1 consumedArgs)
   at OpenWrap.BootstrapRunner.Run(String[] args)