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

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.

Reply
Robiro
Frequent Visitor

An error occurred while rendering the report.

error1.PNGerror2.PNG

Hi everyone. I have this error and don't know how to fix. Could anyone help me?

 

 

Details: 

JS Error Message:

Uncaught host error (in promise): Object reference not set to an instance of an object.

Stack Trace:

System.NullReferenceException

   at Microsoft.PowerBI.Client.Windows.ExploreHost.Contracts.ExploreHostExtensions.<>c__DisplayClass0_0.<GetClientConceptualSchemaAsyncSafe>b__0()

   at Microsoft.PowerBI.Client.Windows.Modeling.AsyncModelAuthoringService.<>c__DisplayClass18_0.<ExecuteSynchronizedWithModelChanges>b__0()

   at System.Threading.Tasks.ContinuationResultTaskFromResultTask`2.InnerInvoke()

   at System.Threading.Tasks.Task.Execute()

--- End of stack trace from previous location where exception was thrown ---

   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()

   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)

   at Microsoft.PowerBI.Client.Windows.ExploreHost.Contracts.ExploreHostExtensions.<GetClientConceptualSchemaAsyncSafe>d__0.MoveNext()

--- End of stack trace from previous location where exception was thrown ---

   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()

   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)

   at Microsoft.PowerBI.Client.Windows.HostServiceDispatcher.<>c__DisplayClass8_0`1.<<ExecuteAndHandlePromise>b__0>d.MoveNext()

--- JS promise created in stack: ---

    at PromiseStoreService.create (ms-pbi://pbi.microsoft.com/minerva/scripts/desktop.js:84961:41)

   at SemanticQueryService.getConceptualSchema (ms-pbi://pbi.microsoft.com/minerva/scripts/desktopUI.js:2194:96)

    at ConceptualSchemaProxyCommunication.execute (ms-pbi://pbi.microsoft.com/minerva/scripts/desktopUI.js:2240:54)

    at ConceptualSchemaReader.execute (ms-pbi://pbi.microsoft.com/minerva/scripts/data.js:12041:68)

    at ConceptualSchemaReader.descriptor.value [as execute] (ms-pbi://pbi.microsoft.com/minerva/scripts/Utility.js:1762:78)

    at _loop_7 (ms-pbi://pbi.microsoft.com/minerva/scripts/data.js:9715:61)

    at ConceptualSchemaProxy.get (ms-pbi://pbi.microsoft.com/minerva/scripts/data.js:9727:53)

    at DesktopContainerController.loadModelAndNotifyIfFailed (ms-pbi://pbi.microsoft.com/minerva/scripts/powerbiDesktop.js:3035:100)

    at DesktopContainerController.initializeFromContract (ms-pbi://pbi.microsoft.com/minerva/scripts/powerbiDesktop.js:2977:61)

    at DesktopContainerController.<anonymous> (ms-pbi://pbi.microsoft.com/minerva/scripts/powerbiDesktop.js:2821:128)

 

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__DisplayClass2_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)

 

AS Live Connection:

True

 

Disabled Preview Features:

PBI_shapeMapVisualEnabled

PBI_SpanishLinguisticsEnabled

PBI_NewWebTableInference

PBI_showIncrementalRefreshPolicy

PBI_qnaLiveConnect

PQ_AIInsightsFunctionBrowser

PBI_realTimeRefresh

PBI_QueryDiagnostics

PBI_showMinervaRibbon

PBI_showMinervaViewNavigator

PBI_decompositionTree

PBI_themeDialog

 

Disabled DirectQuery Options:

TreatHanaAsRelationalSource

 

Cloud:

GlobalCloud

 

Formulas:

 

 

section Section1;

 

Active Section Contract:

{"id":0,"name":"ReportSection","displayName":"Page 1","filters":"[]","ordinal":0,"visualContainers":[],"config":{},"displayOption":1,"width":1280,"height":720}

3 REPLIES 3
V-lianl-msft
Community Support
Community Support

Hi @Robiro ,

 

Is this problem sloved?
If not, please let me know.

 

Best Regards,
Liang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

 

V-lianl-msft
Community Support
Community Support

Hi @Robiro ,

 

Please run Power BI desktop as administrator, then click on File -> Open to open the pbix file, check if the same issue occurs. 

Or providing the previous data model which is working fine to the effetced file.

 

Best Regards,
Liang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

amitchandak
Super User
Super User

@Robiro , log an issue at -https://community.powerbi.com/t5/Issues/idb-p/Issues

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

Helpful resources

Announcements
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

Check out the October 2025 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors