[Owasp-o2-platform] O2 GUI Problems

Dinis Cruz dinis.cruz at owasp.org
Fri May 11 16:15:58 UTC 2012


Hi James, are you able to set-up a join.me session on the box/vm that you
are running O2, so that I can take a look?

It looks like your system is not finding the Microsoft.Windows.Shell dll
which is a bit weird

Dinis Cruz

On 11 May 2012, at 16:31, James Morris <jmorris at securityinnovation.com>
wrote:

Hello,



I am having trouble using the O2 Guis.  After I install O2 for the first
time, and select a GUI from the “Open O2 Gui for” list, the Gui will open
and run just fine. However, after I close the window and try to open the
same or another Gui, the program throws an exception and the ribbon fails
to load.  I have included the error log at the end of the email.  I don’t
know if this has anything to do with this problem, but when I run Install
O2.bat, the projects O2.FluentSharp.VisualStudio.csproj and
O2.VisualStudio.AddIn.csproj fail to compile.



Thank you for your help.



-James Morris



[11:13:17 AM] ERROR:      InnerException:    at
O2.XRules.Database.Utils.WPF_Ribbon_ExtensionMethods.tab(Ribbon ribbon,
String header) in
c:\O2\O2.Platform.Scripts\APIs\WPF\WPF_Ribbon\WPF_Ribbon_ExtensionMethods.cs:line
118

   at O2.XRules.Database.Utils.WPF_Ribbon_ExtensionMethods.tab(RibbonGroup
ribonGroup, String header) in
c:\O2\O2.Platform.Scripts\APIs\WPF\WPF_Ribbon\WPF_Ribbon_ExtensionMethods.cs:line
169

   at DynamicType.dynamicMethod()  StackTrace:



   at O2.XRules.Database.Utils.WPF_Ribbon_ExtensionMethods.tab(Ribbon
ribbon, String header) in
c:\O2\O2.Platform.Scripts\APIs\WPF\WPF_Ribbon\WPF_Ribbon_ExtensionMethods.cs:line
118

   at O2.XRules.Database.Utils.WPF_Ribbon_ExtensionMethods.tab(RibbonGroup
ribonGroup, String header) in
c:\O2\O2.Platform.Scripts\APIs\WPF\WPF_Ribbon\WPF_Ribbon_ExtensionMethods.cs:line
169

   at DynamicType.dynamicMethod()





[11:13:17 AM] ERROR:      InnerException: Object reference not set to an
instance of an object. Object reference not set to an instance of an object.

[11:13:17 AM] ERROR: in
reflection.invokeMethod_InstanceStaticPublicNonPublic  StackTrace:



   at System.RuntimeMethodHandle._InvokeMethodFast(IRuntimeMethodInfo
method, Object target, Object[] arguments, SignatureStruct& sig,
MethodAttributes methodAttributes, RuntimeType typeOwner)

   at System.RuntimeMethodHandle.InvokeMethodFast(IRuntimeMethodInfo
method, Object target, Object[] arguments, Signature sig, MethodAttributes
methodAttributes, RuntimeType 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 O2.Kernel.InterfacesBaseImpl.KReflection.invoke(Object oLiveObject,
MethodInfo methodInfo, Object[] methodParameters) in
c:\O2\O2.FluentSharp\O2.FluentSharp.CoreLib\O2_Kernel\InterfacesBaseImpl\KReflection.cs:line
904





[11:13:17 AM] ERROR: in
reflection.invokeMethod_InstanceStaticPublicNonPublic Exception has been
thrown by the target of an invocation.

[11:13:17 AM] ERROR: in wpfInvoke Object reference not set to an instance
of an object.

[11:13:17 AM] ERROR: in wpfInvoke Object reference not set to an instance
of an object.

[11:13:17 AM] ERROR: in wpfInvoke Object reference not set to an instance
of an object.

[11:13:17 AM] ERROR: in wpfInvoke Object reference not set to an instance
of an object.

[11:13:17 AM] ERROR: in wpfInvoke Object reference not set to an instance
of an object.

[11:13:17 AM] ERROR: in wpfInvoke Object reference not set to an instance
of an object.

[11:13:17 AM] ERROR: in wpfInvoke Object reference not set to an instance
of an object.

[11:13:17 AM] ERROR: in wpfInvoke Object reference not set to an instance
of an object.

[11:13:17 AM] ERROR: in add_Wpf_Control, the host control was null

[11:13:17 AM] ERROR: in wpfInvoke Object reference not set to an instance
of an object.

[11:13:17 AM] ERROR: in add_Wpf_Control, the host control was null

[11:13:17 AM] INFO: Testing logging: Info Message

[11:13:17 AM] DEBUG: Testing logging: Debug Message

[11:13:17 AM] ERROR: in add_Wpf_Control Could not load file or assembly
'Microsoft.Windows.Shell, PublicKeyToken=31bf3856ad364e35' or one of its
dependencies. The system cannot find the file specified.

[11:13:17 AM] DEBUG: Compilation was OK

[11:13:16 AM] INFO: Compiling Source Code (Size: 9077)

[11:13:16 AM] INFO: Sleeping for: 100 mili-seconds

[11:13:16 AM] INFO: found cached compiled assembly:
C:\O2\_O2_V4_TempDir\5-11-2012\tmp6F.tmp.dll

[11:13:16 AM] DEBUG: Ast parsing was OK

[11:13:16 AM] INFO: Compiling Source Snippet (Size: 8788)

[11:13:16 AM] INFO: Sleeping for: 100 mili-seconds

[11:13:16 AM] INFO: Setting CurrentScript to::
C:\O2\O2.Platform.Scripts\_Custom_O2s\Security Consultants (Custom O2
version).h2

[11:13:16 AM] INFO: Setting CurrentScript to:: Security Consultants (Custom
O2 version).h2

[11:13:16 AM] DEBUG: itemToExecuteextension: False

[11:13:16 AM] DEBUG: itemToExecute: Security Consultants (Custom O2
version).h2

[11:13:16 AM] INFO: executing script mapped to 'Security Consultants:
Security Consultants (Custom O2 version).h2

[11:13:13 AM] INFO: Testing logging: Info Message

[11:13:13 AM] DEBUG: Testing logging: Debug Message

_______________________________________________
Owasp-o2-platform mailing list
Owasp-o2-platform at lists.owasp.org
https://lists.owasp.org/mailman/listinfo/owasp-o2-platform
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.owasp.org/pipermail/owasp-o2-platform/attachments/20120511/afcfdd47/attachment-0001.html>


More information about the Owasp-o2-platform mailing list