Plötzliche Ausnahme aufgetreten

  • VB.NET
  • .NET (FX) 4.5–4.8

Es gibt 3 Antworten in diesem Thema. Der letzte Beitrag () ist von slice.

    XML-Quellcode

    1. <?xml version="1.0" encoding="utf-16"?>
    2. <?xml-stylesheet type="text/xsl" href="ActivityLog.xsl"?>
    3. <activity>
    4. <entry>
    5. <record>2363</record>
    6. <time>2018/06/10 13:39:02.704</time>
    7. <type>Error</type>
    8. <source>Editor or Editor Extension</source>
    9. <description>System.AggregateException: Mindestens ein Fehler ist aufgetreten. ---&gt; System.NullReferenceException: Der Objektverweis wurde nicht auf eine Objektinstanz festgelegt.&#x000D;&#x000A; bei Microsoft.CodeAnalysis.Editor.QuickInfo.DeferredContentFrameworkElementFactory.CreateElement(IDeferredQuickInfoContent deferredContent)&#x000D;&#x000A; bei Microsoft.CodeAnalysis.Editor.QuickInfo.QuickInfoDisplayDeferredContentConverter.CreateFrameworkElement(IDeferredQuickInfoContent deferredContent, DeferredContentFrameworkElementFactory factory)&#x000D;&#x000A; bei Microsoft.CodeAnalysis.Editor.QuickInfo.DeferredContentFrameworkElementFactory.CreateElement(IDeferredQuickInfoContent deferredContent)&#x000D;&#x000A; bei Microsoft.CodeAnalysis.Editor.Implementation.IntelliSense.QuickInfo.Presentation.QuickInfoPresenter.QuickInfoPresenterSession.AugmentQuickInfoSession(IList`1 quickInfoContent, ITrackingSpan&amp; applicableToSpan)&#x000D;&#x000A; bei Microsoft.CodeAnalysis.Editor.Implementation.IntelliSense.QuickInfo.Presentation.QuickInfoPresenter.QuickInfoSource.AugmentQuickInfoSession(IQuickInfoSession session, IList`1 quickInfoContent, ITrackingSpan&amp; applicableToSpan)&#x000D;&#x000A; bei Microsoft.VisualStudio.Language.Intellisense.Implementation.LegacyQuickInfoSource.AugmentQuickInfoSession(IAsyncQuickInfoSession session, IList`1 content, ITrackingSpan&amp; applicableToSpan)&#x000D;&#x000A; bei Microsoft.VisualStudio.Language.Intellisense.Implementation.AsyncQuickInfoSession.&lt;TryComputeContentFromLegacySourceAsync&gt;d__45.MoveNext()&#x000D;&#x000A;--- Ende der Stapel&#x00FC;berwachung vom vorhergehenden Ort, an dem die Ausnahme ausgel&#x00F6;st wurde ---&#x000D;&#x000A; bei System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)&#x000D;&#x000A; bei System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)&#x000D;&#x000A; bei Microsoft.VisualStudio.Language.Intellisense.Implementation.AsyncQuickInfoSession.&lt;ComputeSourceContentAsync&gt;d__44.MoveNext()&#x000D;&#x000A; --- Ende der internen Ausnahmestapel&#x00FC;berwachung ---&#x000D;&#x000A;---&gt; (Interne Ausnahme #0) System.NullReferenceException: Der Objektverweis wurde nicht auf eine Objektinstanz festgelegt.&#x000D;&#x000A; bei Microsoft.CodeAnalysis.Editor.QuickInfo.DeferredContentFrameworkElementFactory.CreateElement(IDeferredQuickInfoContent deferredContent)&#x000D;&#x000A; bei Microsoft.CodeAnalysis.Editor.QuickInfo.QuickInfoDisplayDeferredContentConverter.CreateFrameworkElement(IDeferredQuickInfoContent deferredContent, DeferredContentFrameworkElementFactory factory)&#x000D;&#x000A; bei Microsoft.CodeAnalysis.Editor.QuickInfo.DeferredContentFrameworkElementFactory.CreateElement(IDeferredQuickInfoContent deferredContent)&#x000D;&#x000A; bei Microsoft.CodeAnalysis.Editor.Implementation.IntelliSense.QuickInfo.Presentation.QuickInfoPresenter.QuickInfoPresenterSession.AugmentQuickInfoSession(IList`1 quickInfoContent, ITrackingSpan&amp; applicableToSpan)&#x000D;&#x000A; bei Microsoft.CodeAnalysis.Editor.Implementation.IntelliSense.QuickInfo.Presentation.QuickInfoPresenter.QuickInfoSource.AugmentQuickInfoSession(IQuickInfoSession session, IList`1 quickInfoContent, ITrackingSpan&amp; applicableToSpan)&#x000D;&#x000A; bei Microsoft.VisualStudio.Language.Intellisense.Implementation.LegacyQuickInfoSource.AugmentQuickInfoSession(IAsyncQuickInfoSession session, IList`1 content, ITrackingSpan&amp; applicableToSpan)&#x000D;&#x000A; bei Microsoft.VisualStudio.Language.Intellisense.Implementation.AsyncQuickInfoSession.&lt;TryComputeContentFromLegacySourceAsync&gt;d__45.MoveNext()&#x000D;&#x000A;--- Ende der Stapel&#x00FC;berwachung vom vorhergehenden Ort, an dem die Ausnahme ausgel&#x00F6;st wurde ---&#x000D;&#x000A; bei System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)&#x000D;&#x000A; bei System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)&#x000D;&#x000A; bei Microsoft.VisualStudio.Language.Intellisense.Implementation.AsyncQuickInfoSession.&lt;ComputeSourceContentAsync&gt;d__44.MoveNext()&lt;---&#x000D;&#x000A;</description>
    10. </entry>
    11. </activity>


    Bis auf NullReferenceException: Der Objektverweis wurde nicht auf eine Objektinstanz festgelegt sagt mir das nix.

    So eine Meldung kommt öfter mal, ohne das ich einen Zusammenhang beim Editieren im Code finden kann.
    Aktuelles Projekt: Z80 Disassembler für Schneider/Amstrad CPC :love: