Reply
Frequent Visitor
Posts: 3
Registered: ‎05-25-2016

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)

 

Regular Visitor
Posts: 22
Registered: ‎06-16-2016

Re: Maximum call stack size exceeded

Same problem here!

 

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

Frequent Visitor
Posts: 7
Registered: ‎01-24-2017

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

Regular Visitor
Posts: 22
Registered: ‎06-16-2016

Re: Maximum call stack size exceeded

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!

Frequent Visitor
Posts: 7
Registered: ‎01-24-2017

Re: Maximum call stack size exceeded

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

Frequent Visitor
Posts: 13
Registered: ‎09-08-2015

Re: Maximum call stack size exceeded

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

Frequent Visitor
Posts: 13
Registered: ‎09-08-2015

Re: Maximum call stack size exceeded

Hi, 

 

I have tried this, but still the same issue, is there any other work around?