0

Closed

Shuriken crashes with HelloWorldSubject

description

Exception when doing the DOT on shuriken UI
 
 
See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.
 
************** Exception Text **************
System.NullReferenceException: Object reference not set to an instance of an object.
   at HelloWorldSubject.HelloWorldAction.CanExecuteOn(ISubject subject)
   at Shuriken.Core.Store.QNAction.CanExecuteOn(ISubject subject)
   at Shuriken.Core.Store.PluginActionManager.GetListOfActions(ISubject subject)
   at Shuriken.Core.Store.ActionManager.GetListOfActions(ISubject subject, List`1 actionList)
   at Shuriken.Core.Store.QNStoreItem.GetListOfActions()
   at Shuriken.Core.UI.StandardUI.ActionItemController.LoadActionsForSubject(ISubject subject)
   at Shuriken.Core.UI.StandardUI.SubjectItemController.EnableTextEntryMode()
   at Shuriken.Core.UI.StandardUI.SUIProvider.TextEntryMode(Boolean enabled)
   at Shuriken.Core.UI.UIManager.UIManager_KeyPress(Object sender, KeyPressEventArgs e)
   at System.Windows.Forms.Control.ProcessKeyEventArgs(Message& m)
   at System.Windows.Forms.Form.ProcessKeyPreview(Message& m)
   at System.Windows.Forms.Control.ProcessKeyMessage(Message& m)
   at System.Windows.Forms.Control.WmKeyChar(Message& m)
   at System.Windows.Forms.Control.WndProc(Message& m)
   at System.Windows.Forms.Label.WndProc(Message& m)
   at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
   at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
 
 
************** Loaded Assemblies **************
mscorlib
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)

    CodeBase: file:///C:/Windows/Microsoft.NET/Framework64/v2.0.50727/mscorlib.dll

Shuriken
    Assembly Version: 1.0.0.0
    Win32 Version: 1.0.0.0

    CodeBase: file:///D:/utils/Shuriken/Shuriken.exe

Shuriken.Core
    Assembly Version: 1.0.0.0
    Win32 Version: 1.0.0.0

    CodeBase: file:///D:/utils/Shuriken/Shuriken.Core.DLL

System
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)

    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll

System.Windows.Forms
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)

    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll

System.Drawing
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)

    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll

System.Configuration
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)

    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Configuration/2.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll

System.Xml
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)

    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.dll

Shuriken.Base
    Assembly Version: 1.0.0.0
    Win32 Version: 1.0.0.0

    CodeBase: file:///D:/utils/Shuriken/Shuriken.Base.DLL

Interop.Shell32
    Assembly Version: 1.0.0.0
    Win32 Version: 1.0.0.0

    CodeBase: file:///D:/utils/Shuriken/Interop.Shell32.DLL

DateTimeModule
    Assembly Version: 1.0.0.0
    Win32 Version: 1.0.0.0

    CodeBase: file:///D:/utils/Shuriken/plugins/DateTimeModule.dll

HelloWorldSubject
    Assembly Version: 1.0.0.0
    Win32 Version: 1.0.0.0

    CodeBase: file:///D:/utils/Shuriken/plugins/HelloWorldSubject.dll

SystemCommands
    Assembly Version: 1.0.0.0
    Win32 Version: 1.0.0.0

    CodeBase: file:///D:/utils/Shuriken/plugins/SystemCommands.dll

Shuriken.Modules
    Assembly Version: 1.0.0.0
    Win32 Version: 1.0.0.0

    CodeBase: file:///D:/utils/Shuriken/Shuriken.Modules.DLL

Ascend.Windows.Forms
    Assembly Version: 1.0.0.6
    Win32 Version: 1.0.0.6

    CodeBase: file:///D:/utils/Shuriken/Ascend.Windows.Forms.DLL

Ascend
    Assembly Version: 1.0.0.6
    Win32 Version: 1.0.0.6

    CodeBase: file:///D:/utils/Shuriken/Ascend.DLL

Shuriken.WPFUIProvider
    Assembly Version: 1.0.0.0
    Win32 Version: 1.0.0.0

    CodeBase: file:///D:/utils/Shuriken/Shuriken.WPFUIProvider.DLL

PresentationFramework
    Assembly Version: 3.0.0.0
    Win32 Version: 3.0.6920.1453 built by: NetFX

    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/PresentationFramework/3.0.0.0__31bf3856ad364e35/PresentationFramework.dll

WindowsBase
    Assembly Version: 3.0.0.0
    Win32 Version: 3.0.6920.1453 built by: NetFX

    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/WindowsBase/3.0.0.0__31bf3856ad364e35/WindowsBase.dll

PresentationCore
    Assembly Version: 3.0.0.0
    Win32 Version: 3.0.6920.1453 built by: NetFX

    CodeBase: file:///C:/Windows/assembly/GAC_64/PresentationCore/3.0.0.0__31bf3856ad364e35/PresentationCore.dll

PresentationFramework.Aero
    Assembly Version: 3.0.0.0
    Win32 Version: 3.0.6920.1453 built by: NetFX

    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/PresentationFramework.Aero/3.0.0.0__31bf3856ad364e35/PresentationFramework.Aero.dll

 
************** JIT Debugging **************
To enable just-in-time (JIT) debugging, the .config file for this
application or computer (machine.config) must have the
jitDebugging value set in the system.windows.forms section.
The application must also be compiled with debugging
enabled.
 
For example:
 
<configuration>
    <system.windows.forms jitDebugging="true" />
</configuration>
 
When JIT debugging is enabled, any unhandled exception
will be sent to the JIT debugger registered on the computer
rather than be handled by this dialog box.
Closed Mar 16, 2009 at 8:37 PM by gyurisc

comments

wrote Mar 16, 2009 at 8:37 PM

Fixed the issue by making sure that QNAction CanExecuteOn is going to log and handle exceptions

wrote Mar 16, 2009 at 8:37 PM

Closing this issue

wrote Feb 1, 2013 at 4:34 AM

wrote May 13, 2013 at 6:31 PM