Ich konnte in meiner Entwicklungsdatenbank plötzlich keine Bestellungen mehr öffnen: "Das Objekt vom Typ Query mit der ID 1850 wurde nicht gefunden."
Habe ich eine neue Bestellung anlegen wollen, ist mir der Client bei Validierung der Kreditorennr. abgestürzt.
Moment, Query 1850?? Kenn ich nicht.
Der Debugger zeigte ausschließlich Code aus folgendem Objekt an: Codeunit 1854 Item Sales Forecast Notifier. Bitte was?
Ach ja, die Demo-DB hat ja Demo-Extensions. In meinem Falle ist es "Sales and Inventory Forecast".
Nach einem Dienstneustart war der Fehler jedenfalls weg.
Nachtrag: So schön stehts nur, wenn man den Debugger anschmeißt und diesen hart beendet:
Category: EventSubscription
Message <ii>EventSignature failure: SubScriber assy = Microsoft.Dynamics.Nav.BusinessApplication.Codeunit1854, NavAppGroup_49a42569b24519d2383ad6888fae1e4a, Version=10.0.13682.0, Culture=neutral, PublicKeyToken=null, target assy = Microsoft.Dynamics.Nav.BusinessApplication.Codeunit1854, NavAppGroup_49a42569b24519d2383ad6888fae1e4a, Version=10.0.13682.0, Culture=neutral, PublicKeyToken=null, Subscriber signature = 'System.Void Microsoft.Dynamics.Nav.BusinessApplication.Codeunit1854.OnAfterCurrPurchaseOrder(Microsoft.Dynamics.Nav.Runtime.INavRecordHandle rec)', target signature = 'Microsoft.Dynamics.Nav.BusinessApplication.Codeunit1854 Item Sales Forecast Notifier[ID=1854](Microsoft.Dynamics.Nav.BusinessApplication.Record38)', exception = System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> Microsoft.Dynamics.Nav.Types.Exceptions.NavNCLDebuggerActivityAbortedException: Die aktuelle Aktion wurde vom Debugger beendet.
at Microsoft.Dynamics.Nav.Runtime.Debugger.DebugRuntime.ProcessBreak(NavMethodScope methodScope, Exception exception, Boolean setIgnoreSkip)
at Microsoft.Dynamics.Nav.Runtime.Debugger.DebugRuntime.ProcessException(NavMethodScope methodScope, Exception exception)
at Microsoft.Dynamics.Nav.Runtime.ExecutionListener.CompoundExecutionListener.ProcessException(NavMethodScope methodScope, Exception exception)
at Microsoft.Dynamics.Nav.Runtime.NavMethodScope.ProcessException(Exception exception)
at Filter.InvokeWithFilter(NavMethodScope )
--- End of inner exception stack trace ---
at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
at Microsoft.Dynamics.Nav.EventSubscription.NavEventScope.CallEventSubscriber(NavEventSubscription subscriber, NavApplicationObjectBase subscriberInstance, Object[] parameters)</ii>
ProcessId: 12496
Tag: 00000BC
ThreadId: 33
CounterInformation:
Der eigentliche Clientabsturz scheint das hier zu sein:
Category: EventSubscription
Message <ii>(TargetInvocationException): <ii>Exception has been thrown by the target of an invocation.
StackTrace:
at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
at Microsoft.Dynamics.Nav.EventSubscription.NavEventScope.CallEventSubscriber(NavEventSubscription subscriber, NavApplicationObjectBase subscriberInstance, Object[] parameters)
</ii></ii>
ProcessId: 12496
Tag: 000008W
ThreadId: 11