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

Earn the coveted Fabric Analytics Engineer certification. 100% off your exam for a limited time only!

HierarchySlicer Copy/sync Bug

This error can be repicated by copying a HierarchySlicer component from one page to another.
When prompted to Sync the slicer across pages or not, choosing "Yes" will result in the error.
The component is copied, but no sync between the original and the copy is set up.


Based on the fact that the HierarchySlicer does not show up in the Sync Slicers panel, it must not be capable of being synchronized. It would be better if the paste operation could determine this and let you know instead of blowing up. Better yet, enable sync on the HierarchySlicer.

 

Details from the error submission report:

 

Error Message:
An error occurred while rendering the report.

 

Stack Trace:
TypeError: Cannot read property 'accept' of null
at Object.asFieldPattern (ms-pbi://pbi.microsoft.com/minerva/scripts/visuals.js:11302:31)
at DisplayNameService.getOriginalDisplayName (ms-pbi://pbi.microsoft.com/minerva/scripts/explore.js:6894:54)
at DisplayNameService.getDisplayName (ms-pbi://pbi.microsoft.com/minerva/scripts/explore.js:6900:33)
at ms-pbi://pbi.microsoft.com/minerva/scripts/exploreui.js:3064:164
at step (ms-pbi://pbi.microsoft.com/minerva/scripts/powerbidesktopcommon.js:8395:23)
at Object.next (ms-pbi://pbi.microsoft.com/minerva/scripts/powerbidesktopcommon.js:8347:20)
at fulfilled (ms-pbi://pbi.microsoft.com/minerva/scripts/powerbidesktopcommon.js:8325:32)
at processQueue (ms-pbi://pbi.microsoft.com/minerva/scripts/angular.js:17183:37)
at ms-pbi://pbi.microsoft.com/minerva/scripts/angular.js:17231:27
at Scope.$digest (ms-pbi://pbi.microsoft.com/minerva/scripts/angular.js:18366:15)

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:
Cannot read property 'accept' of null

Model Default Mode:
Import

Status: Declined
Comments
v-yuezhe-msft
Employee

@SQLMonger ,

Actually , in some reports, I can reproduce your error, in some reports, everything works well.

The HierarchySlicer custom visual is developed by  Jan Pieter Posthuma, based on his blog, sync Slicers are not yet supported: the custom visuals API is preventing this. I would recommend you contact Jan Pieter Posthuma about the above issue.



Regards,
Lydia

SQLMonger
Advocate II

Thanks for the feedback. I did not realize it was not a Microsoft developed component. Will check next time before posting...

v-yuezhe-msft
Employee
Status changed to: Declined