Hello
I have Problem with "Open in Microsoft Office" on one Instatnce. After cliking in this Option apper error "Object reference not set to an instance of an object."
So Problem is with cache
container metadataCacheContainer = cache.find(classStr(ExportToExcelMetadataCache), [GlobalCacheEntry_MetadataCache]);
metadataCacheContainer = null
So any helps to solve this?
Problem extension.
OData apis also have the same error. None of them work.
I cant think of any other possible issue, better to raise with MS. And if its Dev instance you can rollout a new one.
For all users and all forms the is the same error.
is it happening with one form or all the forms in system. How about other users.
Yes synch, build, fuil build, clear usage data also.
Have you tried to clear usages data, or may be build and synch.
Problem is because
container metadataCacheContainer = cache.find(classStr(ExportToExcelMetadataCache), [GlobalCacheEntry_MetadataCache]);
metadataCacheContaine = null, so i have checked it with instance where is this going good, and ther is this created.
Here on all Forms "Open in Microsoft Office" created erorr "Object reference not set to an instance of an object." due metadataCahcecontainer and go hrow error.
I don't think you identified the problem correctly. There is no problem if metadataCacheContainer is null - there is a condition checking the value at line 156.
If the exception gets thrown at line 155, it means that you have a problem with something used there, not with the result. It won't ever set the value of metadataCacheContainer if the code throws an exception.
Maybe cache is null, or the exception gets actually thrown from find().
André Arnaud de Cal...
291,965
Super User 2025 Season 1
Martin Dráb
230,817
Most Valuable Professional
nmaenpaa
101,156