Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Data Days is here! Join us now for 60+ days of learning, challenges, and connection. Learn more

Reply
NRW_admin1
New Member

Maximum call stack size exceeded

 

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)

 

6 REPLIES 6
piyush0308
Frequent Visitor

Having the same problem, anybody got the solution.visualerror.PNG

Anonymous
Not applicable

Same problem here!

 

RangeError: maximum call stack size exceededRangeError: maximum call stack size exceeded

Anonymous
Not applicable

Did you ever fix your error ?  All of sudden my started doing this on my laptop... Can not figure what caused ... 

Anonymous
Not applicable

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?

Anonymous
Not applicable

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 ... 

Helpful resources

Announcements
Fabric Data Days is here Carousel

Fabric Data Days 2026

Don't miss out on Data Days, June 15 through August 7. Learn Fabric, Power BI, SQL, AI and more.

May Power BI Update Carousel

Power BI Monthly Update - May 2026

Check out the May 2026 Power BI update to learn about new features.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.