[Owasp-o2-platform] O2 GUI Problems

Dinis Cruz dinis.cruz at owasp.org
Fri May 11 18:01:49 UTC 2012


I had a join.me session with James (via an iphone) and there is something
going on the first time those 'Custom O2' GUIs are executed from the main
GUI.

The current work around is to invoke them via the 'O2 Development
Environment', and here is a video that shows how to do that: Executing
Custom O2 Guis from 'O2 Development
Environment'<http://www.youtube.com/watch?v=IgGKa-siEQg>
.

Dinis Cruz


On 11 May 2012 18:49, Michael Hidalgo Fallas <michael.hidalgo at owasp.org>wrote:

> Hi James,
> Do you have .net framework 4.0 installed in your box? Probably it is
> causing any conflict?
>
> Dinis, I found an issue similar here
> http://wpf.codeplex.com/discussions/250234
>
> Hope it helps
>
>
>
> On Fri, May 11, 2012 at 9:15 AM, Dinis Cruz <dinis.cruz at owasp.org> wrote:
>
>> 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
>>
>>
>> _______________________________________________
>> Owasp-o2-platform mailing list
>> Owasp-o2-platform at lists.owasp.org
>> https://lists.owasp.org/mailman/listinfo/owasp-o2-platform
>>
>>
>
>
> --
>
>  *Michael Hidalgo F.
> OWASP Chapter Leader,Costa Rica.*
>
> “*If you believe in yourself and have dedication and pride - and never
> quit, you'll be a winner. The price of victory is high but so are the
> rewards.” Paul Bryant*
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.owasp.org/pipermail/owasp-o2-platform/attachments/20120511/df8d078b/attachment-0001.html>


More information about the Owasp-o2-platform mailing list