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

Shape the future of the Fabric Community! Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions. Take survey.

Reply
Massingc1983
Frequent Visitor

Something Went Wrong - Argument is not valid

Hi 

 

I am not able to open any of my pbix files. Yesterday they were all working fine. 

Massingc1983_0-1714554472290.png

Below are the details copied to clipboard. Is anybost able to give me a steer on what might be happening here?

 

Feedback Type:
Frown (Error)

Error Message:
Argument is not valid.

Stack Trace:
System.ArgumentException
at Microsoft.Mashup.Host.Models.Verify.Validate(IValidatable value, String argumentName)
at Microsoft.Mashup.Host.Models.Verify.Validate[T](IEnumerable`1 values, String argumentName, Boolean ensureElementsNotNull)
at Microsoft.Mashup.Host.Models.Verify.ValidIfNotNull[T](IEnumerable`1 values, String argumentName, Boolean ensureElementsNotNull)
at Microsoft.Mashup.Host.Document.JsonSerializer.DeserializeArrayOrNull[T](String json)
at Microsoft.Mashup.Host.Document.JsonSerializer.<>c__DisplayClass4_0`1.<DeserializeArray>b__0()
at Microsoft.Mashup.Host.Document.JsonSerializer.HandleDeserializationExceptions[T](Func`1 action, String json, Boolean includeValueInException)
at Microsoft.PowerBI.Client.Windows.Services.FileHistoryManager.Initialize()
at Microsoft.Mashup.Host.Models.HistoryEntryManager`1.AddEntry(T entry)
at Microsoft.PowerBI.Client.CommandLineFileService.TryOpenOrCreateReport(IPowerBIWindowService windowService, IExceptionHandler exceptionHandler, Boolean forceCreate)
at Microsoft.PowerBI.Client.Program.<>c__DisplayClass7_0.<RunApplicationLegacy>b__0()
at Microsoft.PowerBI.Client.Windows.IExceptionHandlerExtensions.<>c__DisplayClass3_0.<HandleExceptionsWithNestedTasks>b__0()
at Microsoft.Mashup.Host.Document.ExceptionHandlerExtensions.HandleExceptions(IExceptionHandler exceptionHandler, Action action)

Stack Trace Message:
Argument is not valid.

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.Client.UI.Shared.UnexpectedExceptionHandler.HandleException(Exception e)
at Microsoft.PowerBI.Client.PowerBIUnexpectedExceptionHandler.HandleException(Exception e)
at Microsoft.Mashup.Host.Document.ExceptionHandlerExtensions.HandleExceptions(IExceptionHandler exceptionHandler, Action action)
at Microsoft.PowerBI.Client.Program.RunApplicationLegacy(String[] args)
at Microsoft.PowerBI.Client.Program.Main(String[] args)


PowerBINonFatalError:
{"AppName":"PBIDesktop","AppVersion":"2.128.1177.0","ModuleName":"Microsoft.Mashup.Document.dll","Component":"Microsoft.Mashup.Host.Document.JsonSerializer","Error":"System.ArgumentException","MethodDef":"DeserializeArrayOrNull","ErrorOffset":"29","ErrorCode":""}

InnerException0.Stack Trace Message:
Value cannot be null.
Parameter name: id

InnerException0.Stack Trace:
at Microsoft.Mashup.Host.Models.Verify.NotNull[T](T value, String argumentName)
at Microsoft.Mashup.Host.Models.JsonHistoryEntry.Validate()
at Microsoft.PowerBI.Client.Windows.JsonOdspFileHistoryEntry.Validate()
at Microsoft.Mashup.Host.Models.Verify.Validate(IValidatable value, String argumentName)

InnerException0.Invocation Stack Trace:
at Microsoft.Mashup.Host.Document.ExceptionExtensions.GetCurrentInvocationStackTrace()
at Microsoft.Mashup.Client.UI.Shared.FeedbackErrorInfo.GetFeedbackValuesFromException(Exception e, String prefix)
at Microsoft.Mashup.Client.UI.Shared.FeedbackErrorInfo.GetFeedbackValuesFromInnerExceptions(Exception e, Int32 depth)
at Microsoft.Mashup.Client.UI.Shared.FeedbackErrorInfo.CreateAdditionalErrorInfo(Exception e)
at Microsoft.Mashup.Client.UI.Shared.FeedbackErrorInfo..ctor(String message, Exception exception, Nullable`1 stackTraceInfo, String messageDetail)
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.Client.UI.Shared.UnexpectedExceptionHandler.HandleException(Exception e)
at Microsoft.PowerBI.Client.PowerBIUnexpectedExceptionHandler.HandleException(Exception e)
at Microsoft.Mashup.Host.Document.ExceptionHandlerExtensions.HandleExceptions(IExceptionHandler exceptionHandler, Action action)
at Microsoft.PowerBI.Client.Program.RunApplicationLegacy(String[] args)
at Microsoft.PowerBI.Client.Program.Main(String[] args)


PowerBIUserFeedbackServices_IsReported:
True

 

1 ACCEPTED SOLUTION
adelhoyo
New Member

Solved! 

The same happend to me. 

The procedure that worked for me was:

 1) Create a new .pbx file

 2) Save, close and reopen that file.

 3) You will be able to open up your previews .pbx files again.

 

I hope it helps,

   Alex.

View solution in original post

5 REPLIES 5
ksneed
New Member

worked for me too! thanks

Massingc1983
Frequent Visitor

This did work for me! thank you. 

adelhoyo
New Member

Solved! 

The same happend to me. 

The procedure that worked for me was:

 1) Create a new .pbx file

 2) Save, close and reopen that file.

 3) You will be able to open up your previews .pbx files again.

 

I hope it helps,

   Alex.

It is working for me too! Thanks 

It worked! Thanks for sharing

Helpful resources

Announcements
November Carousel

Fabric Community Update - November 2024

Find out what's new and trending in the Fabric Community.

Dec Fabric Community Survey

We want your feedback!

Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.