question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

NullReferenceException in GetPlaceholderInformationAsyncHandler

See original GitHub issue

Version 1.0.19060.1 logged a NullReferenceException

System.NullReferenceException: Object reference not set to an instance of an object.
   at System.Collections.Generic.Dictionary`2.Insert(TKey key, TValue value, Boolean add)
   at GVFS.Common.Tracing.JsonTracer.MarkAndLogListenerFailure(EventListener failedListener, String errorMessage)
   at GVFS.Common.Tracing.JsonTracer.WriteEvent(String eventName, EventLevel level, Keywords keywords, EventMetadata metadata, EventOpcode opcode)
   at GVFS.Common.Tracing.JsonTracer.RelatedEvent(EventLevel level, String eventName, EventMetadata metadata, Keywords keyword)
   at GVFS.Common.Tracing.JsonTracer.RelatedError(EventMetadata metadata, String message, Keywords keywords)
   at GVFS.Platform.Windows.WindowsFileSystemVirtualizer.GetPlaceholderInformationAsyncHandler(CancellationToken cancellationToken, BlobSizesConnection blobSizesConnection, Int32 commandId, String virtualPath, UInt32 desiredAccess, UInt32 shareMode, UInt32 createDisposition, UInt32 createOptions, UInt32 triggeringProcessId, String triggeringProcessImageFileName) in E:\A\_work\586\s\GVFS\GVFS.Platform.Windows\WindowsFileSystemVirtualizer.cs:line 803

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:5 (5 by maintainers)

github_iconTop GitHub Comments

2reactions
wilbakercommented, Mar 8, 2019

@jrbriggs @mjcheetham I will create a follow up issue for the thread other thread safety issues raised by @mjcheetham and prepare a fix for 147 for the original MarkAndLogListenerFailure issue mentioned in this work item.

0reactions
wilbakercommented, Mar 8, 2019

Fixed in #901 and #907

Read more comments on GitHub >

github_iconTop Results From Across the Web

c# - How to find out what exactly is causing a ...
NullReferenceException is thrown when you try to access an object member when the object itself is null. Is the doc variable set to...
Read more >
System.NullReferenceException in Datagrid.Items (export ...
It means the code tries to access members of a type but the type was never created. It's null. Or really, referencing the...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found