Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!The Power BI Data Visualization World Championships is back! It's time to submit your entry. Live now!
Each time I open a particular file I get the Unexpected Error message "Maximum call stack sixze exceeded"
I can view the data in the tables but I am unable to create visualisations as the application seems to 'hang' in that view.
The detailed text is provided:
Error Message:
Maximum call stack size exceeded
Stack Trace:
Microsoft.Mashup.Host.Document.JavaScriptException: Maximum call stack size exceeded
RangeError: Maximum call stack size exceeded
at Object.parse (native)
at ExplorationSerializer.deserializeVisualContainer (ms-pbi://pbi.microsoft.com/minerva/scripts/explore.js:755:46)
at ExplorationSerializer.deserializePage (ms-pbi://pbi.microsoft.com/minerva/scripts/explore.js:685:89)
at ms-pbi://pbi.microsoft.com/minerva/scripts/explore.js:639:46
at arrayMap (ms-pbi://pbi.microsoft.com/minerva/scripts/powerbi.common.externals.js:29086:25)
at Function.map (ms-pbi://pbi.microsoft.com/minerva/scripts/powerbi.common.externals.js:34201:14)
at ExplorationSerializer.deserializeExploration (ms-pbi://pbi.microsoft.com/minerva/scripts/explore.js:638:55)
at ExplorationProxy.get (ms-pbi://pbi.microsoft.com/minerva/scripts/powerbiDesktop.js:396:58)
at ms-pbi://pbi.microsoft.com/minerva/scripts/powerbiDesktop.js:1689:57
at ms-pbi://pbi.microsoft.com/minerva/scripts/angular.js:18744:31
Invocation Stack Trace:
at Microsoft.Mashup.Host.Document.ExceptionExtensions.GetCurrentInvocationStackTrace()
at Microsoft.Mashup.Client.ClientShared.StackTraceInfo..ctor(String exceptionStackTrace, String invocationStackTrace)
at Microsoft.Mashup.Client.ClientShared.UnexpectedExceptionHandler.<>c__DisplayClass1.<HandleException>b__0()
at Microsoft.Mashup.Host.Document.SynchronizationContextExtensions.<>c__DisplayClass3.<SendAndMarshalExceptions>b__0(Object null)
at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
at System.Delegate.DynamicInvokeImpl(Object[] args)
at System.Windows.Forms.Control.InvokeMarshaledCallbackDo(ThreadMethodEntry tme)
at System.Windows.Forms.Control.InvokeMarshaledCallbackHelper(Object obj)
at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
at System.Windows.Forms.Control.InvokeMarshaledCallback(ThreadMethodEntry tme)
at System.Windows.Forms.Control.InvokeMarshaledCallbacks()
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
at System.Windows.Forms.UnsafeNativeMethods.DispatchMessageW(MSG& msg)
at System.Windows.Forms.UnsafeNativeMethods.DispatchMessageW(MSG& msg)
at System.Windows.Forms.Application.ComponentManager.System.Windows.Forms.UnsafeNativeMethods.IMsoComponentManager.FPushMessageLoop(IntPtr dwComponentID, Int32 reason, Int32 pvLoopData)
at System.Windows.Forms.Application.ThreadContext.RunMessageLoopInner(Int32 reason, ApplicationContext context)
at System.Windows.Forms.Application.ThreadContext.RunMessageLoop(Int32 reason, ApplicationContext context)
at System.Windows.Forms.Form.ShowDialog(IWin32Window owner)
at Microsoft.Mashup.Client.ClientShared.WindowManager.ShowDialog[T](T form, IWin32Window owner)
at Microsoft.PowerBI.Client.Program.<>c__DisplayClassb.<Main>b__0()
at Microsoft.Mashup.Host.Document.ExceptionHandlerExtensions.HandleExceptions(IExceptionHandler exceptionHandler, Action action)
at Microsoft.PowerBI.Client.Program.Main(String[] args)
Having the same problem, anybody got the solution.
Same problem here!
RangeError: maximum call stack size exceeded
Did you ever fix your error ? All of sudden my started doing this on my laptop... Can not figure what caused ...
I think this was the solution:
"Do you have any .js (JavaScript) files in your tsconfig.json? If so, please move them to the externalJS property of the pbiviz.json. Please take a look at this example."
Good luck!
Hi,
I have tried this, but still the same issue, is there any other work around?
I did have one but it works in another computer ... I am going to move it .. And see what happens on the original computer after I reload all the software , since I thought that was part of the problem ...
The Power BI Data Visualization World Championships is back! It's time to submit your entry.
Check out the January 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 60 | |
| 46 | |
| 30 | |
| 24 | |
| 23 |
| User | Count |
|---|---|
| 144 | |
| 106 | |
| 64 | |
| 38 | |
| 31 |