cancel
Showing results for 
Search instead for 
Did you mean: 

Right-clicking on a matrix causes an error dialog to appear

Version: 2.67.5404.981 64-bit (March, 2019)

 

If you add a column to matrix and right-click on the matrix and then click away, an error dialog appears:

 

Something went wrong 2019-04-09 10.07.53.png

My colleague was able to reproduce this issue as well. Below I've pasted the details of the error message. Note: I had to remove the bottom portion of the error as it exceeds the 20,000 character limit.

 

Feedback Type:
Frown (Error)

Error Message:
An error occurred while rendering the report.

Stack Trace:
TypeError: Cannot read property 'leafIndex' of undefined
at MatrixHierarchyNavigator.getIntersection (ms-pbi://pbi.microsoft.com/minerva/scripts/pivotTableVisuals.js:2536:59)
at PivotTableSteppedHierarchyNavigator.PivotTableHierarchyNavigator.getIntersection (ms-pbi://pbi.microsoft.com/minerva/scripts/pivotTableVisuals.js:3835:45)
at PivotTableSteppedHierarchyNavigator.getIntersection (ms-pbi://pbi.microsoft.com/minerva/scripts/pivotTableVisuals.js:3871:175)
at PivotTableControl.updateFocusedItem (ms-pbi://pbi.microsoft.com/minerva/scripts/pivotTableVisuals.js:1561:85)
at PivotTableControl.setFocus (ms-pbi://pbi.microsoft.com/minerva/scripts/pivotTableVisuals.js:1518:33)
at PivotTableControl.onFocus (ms-pbi://pbi.microsoft.com/minerva/scripts/pivotTableVisuals.js:1487:95)
at HTMLDivElement.<anonymous> (ms-pbi://pbi.microsoft.com/minerva/scripts/pivotTableVisuals.js:1472:42)
at HTMLDivElement.dispatch (ms-pbi://pbi.microsoft.com/opensource/jquery/jquery-2.1.1.js:3:6404)
at HTMLDivElement.r.handle (ms-pbi://pbi.microsoft.com/opensource/jquery/jquery-2.1.1.js:3:3179)
at Object.trigger (ms-pbi://pbi.microsoft.com/opensource/jquery/jquery-2.1.1.js:3:5512)

Stack Trace Message:
An error occurred while rendering the report.

Invocation Stack Trace:
at Microsoft.Mashup.Host.Document.ExceptionExtensions.GetCurrentInvocationStackTrace()
at Microsoft.Mashup.Client.UI.Shared.StackTraceInfo..ctor(String exceptionStackTrace, String invocationStackTrace, String exceptionMessage)
at Microsoft.PowerBI.Client.Windows.Telemetry.PowerBIUserFeedbackServices.GetStackTraceInfo(Exception e)
at Microsoft.PowerBI.Client.Windows.Telemetry.PowerBIUserFeedbackServices.ReportException(IWindowHandle activeWindow, IUIHost uiHost, FeedbackPackageInfo feedbackPackageInfo, Exception e, Boolean useGDICapture)
at Microsoft.Mashup.Client.UI.Shared.UnexpectedExceptionHandler.<>c__DisplayClass14_0.<HandleException>b__0()
at Microsoft.Mashup.Host.Document.SynchronizationContextExtensions.<>c__DisplayClass0_1.<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.UI.Shared.WebDialogs.WebDialog.<>n__0(IWindowHandle owner)
at Microsoft.Mashup.Client.UI.Shared.WindowManager.ShowModal[T](T dialog, Func`1 showModalFunction)
at Microsoft.PowerBI.Client.Program.<>c__DisplayClass4_0.<Main>b__1()
at Microsoft.PowerBI.Client.Windows.IExceptionHandlerExtensions.<>c__DisplayClass3_0.<HandleExceptionsWithNestedTasks>b__0()
at Microsoft.Mashup.Host.Document.ExceptionHandlerExtensions.HandleExceptions(IExceptionHandler exceptionHandler, Action action)
at Microsoft.PowerBI.Client.Program.Main(String[] args)


JS Error Message:
Uncaught TypeError: Cannot read property 'leafIndex' of undefined

AS Live Connection:
True

Performance Trace Logs:
C:\Users\ctimm\Microsoft\Power BI Desktop Store App\PerformanceTraces.zip

Enabled Preview Features:
MIntellisense
PBI_PdfImport
PBI_ColumnProfiling
PBI_showManageAggregations
PBI_FuzzyMatching
PBI_improvedFilterExperience
PBI_keyDrivers

Disabled Preview Features:
PBI_shapeMapVisualEnabled
PBI_SpanishLinguisticsEnabled
PBI_PythonSupportEnabled
PBI_showIncrementalRefreshPolicy
PBI_qnaLiveConnect

Disabled DirectQuery Options:
TreatHanaAsRelationalSource

Cloud:
GlobalCloud

Recent Actions:
VisualConversion, VisualContainerUpdateDimensions, VisualConversion, Removing Property, Removing Property, VisualConversion, VisualConversion, CreateSection, Paste, VisualConversion, VisualConversion, DeleteSection, VisualContainerPersistProperties, VisualContainerPersistProperties, VisualContainerPersistProperties

 

 

Status: New
Comments
v-qiuyu-msft
Community Support

Hi @ctimm

 

I tested with the latest Power BI desktop version 2.68.5432.661 but not reproduce the issue. Please update your desktop to this version then test again. 

 

Best Regards,

Qiuyun Yu 

ctimm
Regular Visitor

Hi @v-qiuyu-msft:

 

Can no longer reproduce on the latest update.

 

Thanks!

 

Cheers,

 

Colby

v-qiuyu-msft
Community Support

Hi @ctimm

 

It looks like the issue is resolved, right? May I close the thread? 

 

Best Regards,
Qiuyun Yu