Running o.exe in a sandbox (SystemRepositoryPath)

6 views
Skip to first unread message

Marcin Mikołajczak

unread,
Oct 30, 2011, 4:27:50 PM10/30/11
to openwra...@googlegroups.com
Hi,

I'm trying to use o.exe in a sandboxem environment (unit test), but it keeps failing on me with the -SystemRepositoryPath flag. On first run it downloads all packages like on install, but then fails to execute any command. Packages seem to be stored on disk correctly. Here's the stack trace:

> o.exe -SystemRepositoryPath E:\Test\Temp -ShellInstall None

# OpenWrap Shell 2.0.0.10
# Copyright c naughtyProd Limited 2009-2011
# Using E:\Test\Temp\wraps\_cache\openwrap-1.0.2.86964541\bin-net35\OpenWrap.dll (1.0.0.0)

# 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.Commands.NounNotFound..ctor(IEnumerable`1 nouns) in c:\src\openwrap\src\OpenWrap\Commands\NounNotFound.cs:line 22
   at OpenWrap.Commands.Cli.CommandLineProcessor.<Execute>d__32.MoveNext() in c:\src\openwrap\src\OpenWrap\Commands\Cli\CommandLineProcessor.cs:line 35
   at System.Linq.Enumerable.WhereEnumerableIterator`1.MoveNext()
   at OpenWrap.Commands.Cli.CliConsoleRunner.Main(String[] args) in c:\src\openwrap\src\OpenWrap\Commands\Cli\CliConsoleRunner.cs:line 50
   --- 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__DisplayClass40.<FindLegacyEntrypoint>b__37(String[] args)
   at OpenWrap.BootstrapRunner.ExecuteEntrypoint(String[] args, KeyValuePair`2 entryPoint)
   at OpenWrap.BootstrapRunner.Run(String[] args)

Cheers,
Marcin

Sebastien Lambla

unread,
Oct 30, 2011, 6:51:16 PM10/30/11
to openwra...@googlegroups.com
 Ah. Guess we'll have to publish a 1.0.3 then. :)

From: openwra...@googlegroups.com [openwra...@googlegroups.com] on behalf of Marcin Mikołajczak [marcin.mi...@symbolsource.org]
Sent: 30 October 2011 20:27
To: openwra...@googlegroups.com
Subject: [openwrap-devl] Running o.exe in a sandbox (SystemRepositoryPath)

Sebastien Lambla

unread,
Oct 30, 2011, 6:51:36 PM10/30/11
to openwra...@googlegroups.com
 could you please fill a bug on github for this so i can get to it tomorrow?

From: openwra...@googlegroups.com [openwra...@googlegroups.com] on behalf of Marcin Mikołajczak [marcin.mi...@symbolsource.org]
Sent: 30 October 2011 20:27
To: openwra...@googlegroups.com
Subject: [openwrap-devl] Running o.exe in a sandbox (SystemRepositoryPath)

Marcin Mikołajczak

unread,
Oct 30, 2011, 7:06:46 PM10/30/11
to openwra...@googlegroups.com
Reply all
Reply to author
Forward
0 new messages