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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
mczeigler12
Frequent Visitor

Something went wrong - Value cannot be null. Parameter name: stream error

When attempting to Edit a Report in Power BI Desktop from the Power BI Report Server, I receive the "Something went wrong - Value cannot be null. Parameter name: stream" error and the report is blank in Power BI Desktop for RS (October 2020). In addition, no connections to the data files.

 

Feedback Type:
Frown (Error)

Timestamp:
2021-04-21T12:41:14.7919236Z

Local Time:
2021-04-21T08:41:14.7919236-04:00

Session ID:
91ad69bd-0abc-4993-a46a-cf71a1fedc0d

Release:
October 2020

Product Version:
2.86.3481.0 (20.10) (x64)

Stack Trace:
at System.IO.StreamReader..ctor(Stream stream, Encoding encoding, Boolean detectEncodingFromByteOrderMarks, Int32 bufferSize, Boolean leaveOpen)
at System.IO.StreamReader..ctor(Stream stream)
at Microsoft.PowerBI.Client.Windows.Services.FoldedArtifactsCacheService.GetExistingEntry(FoldedArtifactsKey key)
at Microsoft.PowerBI.Client.Windows.QueryFolding.FoldedArtifactsGenerator.TryGetFoldedArtifacts(Report report, IDataModel model, String tableName, IReadOnlyDictionary`2 queryDependencyGraph, FoldedArtifacts& artifacts)
at Microsoft.PowerBI.Client.Windows.QueryFolding.FoldedArtifactsGenerator.GenerateFoldedArtifactsForQueriesWithoutCache(Report report, IDataModel model, IExceptionHandler exceptionHandler, IUIHost uiHost, IPowerBIWindowService windowService)
at Microsoft.PowerBI.Client.Windows.Services.FileOperationUIHandler.OpenFileInternal(IPowerBIWindowService windowService, IExceptionHandler exceptionHandler, IQueryServices queryServices, IOpenSaveUI openSaveUI, TelemetryUserActionId entryPoint, IPbixFile pbixFile, Boolean fromRecentFile)
at Microsoft.PowerBI.Client.Windows.Services.FileOperationUIHandler.OpenFileFromSSRSService(IPowerBIWindowService windowService, IExceptionHandler exceptionHandler, IQueryServices queryServices, TelemetryUserActionId entryPoint, Uri reportUri, Boolean fromRecentFile)
at Microsoft.PowerBI.Client.Windows.MainWindow.OpenFromSSRSService()
at Microsoft.PowerBI.Client.Program.<>c__DisplayClass4_7.<<Main>b__8>d.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.MainWindow.<<ActivateMainWindow>b__114_1>d.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.IExceptionHandlerExtensions.<HandleAwaitableAsyncExceptions>d__1.MoveNext()

PowerBINonFatalError:
{"AppName":"PBIDesktop","AppVersion":"2.86.3481.0","ModuleName":"Microsoft.PowerBI.Client.Windows.dll","Component":"Microsoft.PowerBI.Client.Windows.Services.FoldedArtifactsCacheService","Error":"System.ArgumentNullException","MethodDef":"GetExistingEntry","ErrorOffset":"44"}

OS Version:
Microsoft Windows NT 10.0.19042.0 (x64 en-US)

CLR Version:
4.7 or later [Release Number = 528372]

Peak Virtual Memory:
38.6 GB

Private Memory:
584 MB

Peak Working Set:
702 MB

IE Version:
11.789.19041.0

User ID:
98a56a36-150e-4d78-a7b4-655c1763a2c3

Workbook Package Info:
1* - en-US, Query Groups: 0, fastCombine: Disabled, runBackgroundAnalysis: True.

Telemetry Enabled:
True

Model Default Mode:
Empty

Model Version:
PowerBI_V1

Is Report V3 Models Enabled:
True

Enabled Preview Features:
PBI_NewWebTableInference
PBI_v3ModelsPreview

Disabled Preview Features:
PBI_shapeMapVisualEnabled
PBI_SpanishLinguisticsEnabled
PBI_JsonTableInference
PBI_ImportTextByExample
PBI_ExcelTableInference
PBI_qnaLiveConnect
PBI_dataSearchCuration
PBI_azureMapVisual
PBI_dataPointLassoSelect
PBI_narrativeTextBox
PBI_dynamicParameters

Disabled DirectQuery Options:
TreatHanaAsRelationalSource

Cloud:
GlobalCloud

DPI Scale:
100%

Supported Services:
Power BI Report Server, Power BI

1 REPLY 1
v-deddai1-msft
Community Support
Community Support

Hi @mczeigler12 ,

 

First try to upgrade the power bi desktop for rs to the latest version. If the issue is still existing, please try to clean the cache in :  

File -> Options and settings -> Options -> Data Load (under global) -> Folded artifacts cache options -> clear cache

This should clear and regenrate the cache. (the error occurs when trying to read the cache.)

 

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

 

Best Regards,

Dedmon Dai

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

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