Uncaught TypeError: Cannot read properties of null (reading 'contentType')
New DiscussionHello,
I’m trying to load files into this library via ExcelUtility.load(file), where `file` is an xlsx file.
The application crashes and the following error occurs:
CachedLoadPackagePart.ts:39 Uncaught TypeError: Cannot read properties of null (reading 'contentType')
at CachedLoadPackagePart.get (CachedLoadPackagePart.ts:39:1)
at Async_ForEachHelper$1.e (AlternateContentChoice_combined.ts:810:1)
at Async_ForEachHelper$1.b (Async_combined.ts:239:1)
at ret (type.ts:1645:1)
at Function.Async.h (Async_combined.ts:50:1)
at Async_ForEachHelper$1.a (Async_combined.ts:202:1)
at Function.Async.d (Async_combined.ts:32:1)
at AlternateContentChoice_combined.ts:796:1
at Function.Async.h (Async_combined.ts:50:1)
at ObjectModelExcelDocumentManager.OfficeDocumentManager._q (AlternateContentChoice_combined.ts:790:1)
at ObjectModelExcelDocumentManager.OfficeDocumentManager._p (AlternateContentChoice_combined.ts:759:1)
at Async_ForEachHelper$1.e (AlternateContentChoice_combined.ts:816:1)
at Async_ForEachHelper$1.b (Async_combined.ts:239:1)
at ret (type.ts:1645:1)
at Function.Async.h (Async_combined.ts:50:1)
at Async_ForEachHelper$1.a (Async_combined.ts:202:1)
at Function.Async.d (Async_combined.ts:32:1)
at AlternateContentChoice_combined.ts:796:1
at Function.Async.h (Async_combined.ts:50:1)
at ObjectModelExcelDocumentManager.OfficeDocumentManager._q (AlternateContentChoice_combined.ts:790:1)
at ObjectModelExcelDocumentManager.OfficeDocumentManager._o (AlternateContentChoice_combined.ts:574:1)
at ObjectModelExcelDocumentManager._o (WorkbookLoadManagerExcel2007_combined.js:922:1)
at WorkItem_WorkItemAsync.ae (AlternateContentChoice_combined.ts:530:1)
at WorkItem_WorkItemAsync.p (WorkItem_combined.ts:250:1)
at WorkItem_WorkItemAsync.WorkItem.w (WorkItem_combined.ts:64:1)
at WorkItemScheduler_TimeSlicedImpl.d (WorkItem_combined.ts:355:1)
at WorkItem_combined.ts:359:1
File examples:
Sign In
to post a reply
Replies
Discussion created by
Favorites
Replies
Created On
Last Post