Excel-DNA / Excel-DNA/ExcelDna

Unexpected NRE logged from QueueAsMacro in v1.1.0 (perhaps during startup)

Open
#343 8 comments 0 reactions 0 assignees View on GitHub
possible-bug
Dominant language
C#
Stars
1.5k
Forks
292
Avg merge
20d 12h
Merged PRs (30d)
1

Description

The issue is from this discussion on the forum: https://groups.google.com/g/exceldna/c/_gZiX7IbSok

This error is logged
> Runtime [Error] Unexpected error trying to run SyncMacro for queued macro execution. : NullReferenceException - Object reference not set to an instance of an object.

possibly under these conditions:

>Apparently the details were as follows: no Excel instances were open, and it happened just as he opened a workbook containing external links and also both RTD and regular functions created with ExcelDNA (ExcelDNA Intellisense also used). No idea if the links thing is relevant, but apparently he has been launching sheets this way for a year without issue and started seeing this periodically since his addin was upgraded (the upgrade picked up ExcelDNA 1.1.0).

and now:

> It's only anecdotal, but the issue has gone away since I rolled back to 1.0.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.