Intermittent Arg_NullReferenceException - Silverlight / CSLA 4.2 (probably not CSLA specifically)

Intermittent Arg_NullReferenceException - Silverlight / CSLA 4.2 (probably not CSLA specifically)

Old forum URL: forums.lhotka.net/forums/t/11334.aspx


skagen00 posted on Friday, April 27, 2012

It's something that has been occurring very intermittently with a couple of our users.

I'm not even sure I entirely have a handle on exactly what the users are doing at the time.  There are a couple different variations of stack traces but they end up with "System.NullReferenceException: [Arg_NullReferenceException]" at the top.

Below it involves one variant where TriggerAction is involved, but there are a few others where we have a viewmodel of our own involved and another one where there is an infragistics grid involved.

But clearly, can't help but think it isn't all related.

One user indicated "most of the time it will give me a blank white screen and I will have to start over" (sometimes it will let her keep working, as we give the user a child window dialog with the error number and such).

Has anyone else encountered this kind of problem before? It's one of those "no one can replicate it and there's not much to go on" problems.

Timestamp: 4/25/2012 8:27:46 PM
Message: System.NullReferenceException: [Arg_NullReferenceException]
Arguments:
Debugging resource strings are unavailable. Often the key and arguments provide sufficient information to diagnose the problem. See http://go.microsoft.com/fwlink/?linkid=106663&Version=4.1.10111.0&File=mscorlib.dll&Key=Arg_NullReferenceException
   at Csla.Xaml.TriggerAction.CallMethod(Object sender, EventArgs e)
   at System.Windows.Controls.Primitives.ButtonBase.OnClick()
   at System.Windows.Controls.Button.OnClick()
   at System.Windows.Controls.Primitives.ButtonBase.OnMouseLeftButtonUp(MouseButtonEventArgs e)
   at System.Windows.Controls.Control.OnMouseLeftButtonUp(Control ctrl, EventArgs e)
   at MS.Internal.JoltHelper.FireEvent(IntPtr unmanagedObj, IntPtr unmanagedObjArgs, Int32 argsTypeIndex, Int32 actualArgsTypeIndex, String eventName)
Category: Exception
Priority: -1
EventId: 0
Severity: Information

Copyright (c) Marimer LLC