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
Almalki
New Member

Problem while running the program.

I encountered a problem while running the program. I couldn’t use the program and didn’t know the solution. I need help, please.

 

Almalki_0-1730839951836.png

 

Almalki_1-1730839972805.png

 

 

Almalki_2-1730839987146.png

 

 

 

Feedback Type:
Frown (Error)

Timestamp:
2024-11-05T20:21:31.6597837Z

Local Time:
2024-11-05T23:21:31.6597837+03:00

Session ID:
121bcaca-8f4a-407a-96df-03bf41b4f952

Release:
October 2024

Product Version:
2.137.1102.0 (24.10) (x64)

Stack Trace:
System.NullReferenceException
at Microsoft.Mashup.DocumentServices.Shorthand.ShorthandManager.ValueIsCompatibleWithOptions(IValue value, ShorthandOptions options)
at Microsoft.Mashup.DocumentServices.Shorthand.ShorthandManager.TryGetShorthand(IValue value, IValueRoundTripStringProvider valueRoundtripStringProvider, String& shorthand, ShorthandOptions options)
at Microsoft.Mashup.Host.Document.Formulas.GenericInvokeParameterInfo.GetDefaultSampleValues(IEngine engine, TypeHandle paramType)
at Microsoft.Mashup.Host.Document.Formulas.GenericInvokeParameterInfo.CreateSampleValues(IEngine engine, GenericInvokeParameterInfo paramInfo, ITypeValue paramType)
at Microsoft.Mashup.Host.Document.Formulas.GenericInvokeParameterInfo.Create(IEngine engine, GenericInvokeDetails formula, IFunctionTypeValue funcType, Int32 paramIndex)
at Microsoft.Mashup.Host.Document.Formulas.GenericInvokeDetails.TryGetParameterInfos(GenericInvokeParameterInfo[]& parameterInfos)
at Microsoft.Mashup.Host.Document.Formulas.GenericInvokeDetails.ProcessBaseResult(FormulaResult baseResult)
at Microsoft.Mashup.Host.Document.Formulas.GenericInvokeDetails..ctor(IEngine engine, IFunctionTypeValue functionType, NativeQueryProperties nativeQueryProperties)
at Microsoft.Mashup.Host.Document.Formulas.GenericSourceInvokeFormula..ctor(IEngine engine, IFunctionTypeValue functionType, String functionName, String moduleName, FormulaData formulaData, String buttonTitle, String buttonHelp, Boolean isInternal, Boolean supportsDirectQuery, MultiDimensionalStyle style, NativeQueryProperties nativeQueryProperties)
at Microsoft.Mashup.Client.UI.Shared.UiExtensibility.PublishedFunction.<>c__DisplayClass89_0.<GetCreator>b__0(IEngine engine)
at Microsoft.Mashup.Client.UI.Shared.UiExtensibility.UiExtensionHost.DataSourceFormula..ctor(String functionName, Func`2 formulaCreator, TelemetryUserActionId formulaTelemetry, Action enable, String functionButtonTitle, String iconClass)
at Microsoft.Mashup.Client.UI.Shared.UiExtensibility.UiExtensionHost.LoadMExtensionExports(IList`1 modules)
at Microsoft.Mashup.Client.UI.Shared.UiExtensibility.UiExtensionHost.TracePerformance(Trace trace, String name, Action action)
at Microsoft.Mashup.Client.UI.Shared.UiExtensibility.UiExtensionHost.Activate(IApplicationPaths applicationPaths, ILibraryProvider internalProvider, ILibraryProvider remoteExtensionsProvider)
at Microsoft.Mashup.Client.UI.Shared.UiExtensibility.UiExtensionHostManager.RegisterAndActivateUiExtensionHost(UiExtensionHost uiExtensionHost, IApplicationPaths applicationPaths, ILibraryProvider internalProvider, ILibraryProvider remoteExtensionsProvider)
at Microsoft.PowerBI.Client.Windows.PowerQueryExtensionsLoader.<Load>b__10_1()
at Microsoft.Mashup.Host.Document.ExceptionHandlerExtensions.HandleExceptions(IExceptionHandler exceptionHandler, Action action)

PowerBINonFatalError:
{"AppName":"PBIDesktop","AppVersion":"2.137.1102.0","ModuleName":"Microsoft.Mashup.DocumentServices.dll","Component":"Microsoft.Mashup.DocumentServices.Shorthand.ShorthandManager","Error":"System.NullReferenceException","MethodDef":"ValueIsCompatibleWithOptions","ErrorOffset":"10","ErrorCode":""}

OS Version:
Microsoft Windows NT 10.0.22631.0 (x64 ar-SA)

CLR Version:
4.8 or later [Release Number = 533320]

Peak Virtual Memory:
70.2 GB

Private Memory:
233 MB

Peak Working Set:
630 MB

IE Version:
11.1.22621.0

User ID:
90616c23-7a39-4877-8822-789767d96f22

Workbook Package Info:
1* - ar-SA, Query Groups: 0, fastCombine: Disabled, runBackgroundAnalysis: False.

Telemetry Enabled:
True

Model Default Mode:
Empty

Model Version:
PowerBI_V1

Enabled Preview Features:
PBI_sparklines
PBI_scorecardVisual
PBI_fieldParametersSuperSwitch
PBI_setLabelOnExportPdf
PBI_oneDriveSave
PBI_oneDriveShare
PBI_useModernPublishDialogs
PBI_gitIntegration
PBI_newCard
PBI_buttonSlicerAuthoring
PBI_EimLessElevatedUser
PBI_mobileAutoReportLayout
PBI_daxInlineCopilot
PBI_aiNarrativesVisual
PBI_generateMeasureDescriptionsButton
PBI_visualCalculationsAuthoring
PBI_desktopReportAuthoringCopilot

Disabled Preview Features:
PBI_shapeMapVisualEnabled
PBI_SpanishLinguisticsEnabled
PBI_qnaLiveConnect
PBI_b2bExternalDatasetSharing
PBI_enhancedTooltips
PBI_onObject
PBI_odspSaveBackgroundUpload
PBI_publishDialogsSupportSubfolders
PBI_tmdlInDataset
PBI_enhancedReportFormat
PBI_directLakeRemoteModeling
PBI_advancedSlicerTypeList
PBI_qnaImproveLsdlCopilot

Disabled DirectQuery Options:
TreatHanaAsRelationalSource

Cloud:
GlobalCloud

DPI Scale:
150%

Supported Services:
Power BI

2 REPLIES 2
Anonymous
Not applicable

Hi @Almalki ,

 

Have a good day. In what scenarios does this error occur?

 

Best Regards,

Wearsky

lbendlin
Super User
Super User

Can you identify which of the Power Query queries may be the issue?  One of them seems to be malformed.

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.