sql-bi / Bravo

Bravo for Power BI

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Error HTTP/500: Internal Server Error. Object reference not set to an instance of an object.

TiagoSan2021 opened this issue · comments

Describe the problem

Error HTTP/500: Internal Server Error.
Object reference not set to an instance of an object.

Bravo version

1.0.6 (1.0.8693.18732)

Tabular model

Power BI Desktop, import mode

Power BI

power bi desktop

Steps to reproduce the behavior

No response

Additional context

No response

Screenshots

Captura de pantalla 2023-12-04 102717

Anything else ?

Rastro ID: 00-c425e8b155455ce190df5764eccd7e96-15f4d019babcf74b-00

@TiagoSan2021 Which date template are you using (Standard/Monthly/Weekly/other..) ? What are the configuration parameters you used (Interval/Date/Holidays/TimeIntelligence) ?
Are you able to create and share a minimal .pbix file with some dummy data that reproduces the error?


System.NullReferenceException:
   at Dax.Template.Measures.MeasuresTemplate.ApplyTemplate (Dax.Template, Version=0.0.0.0, Culture=neutral, PublicKeyToken=c9a600d152d69fbe)
   at Dax.Template.Engine+<>c__DisplayClass5_0.<ApplyTemplates>g__ApplyMeasuresTemplate|5 (Dax.Template, Version=0.0.0.0, Culture=neutral, PublicKeyToken=c9a600d152d69fbe)
   at Dax.Template.Engine+<>c__DisplayClass5_0.<ApplyTemplates>b__0 (Dax.Template, Version=0.0.0.0, Culture=neutral, PublicKeyToken=c9a600d152d69fbe)
   at System.Collections.Generic.List`1.ForEach (System.Private.CoreLib, Version=6.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e)
   at Dax.Template.Engine.ApplyTemplates (Dax.Template, Version=0.0.0.0, Culture=neutral, PublicKeyToken=c9a600d152d69fbe)
   at Sqlbi.Bravo.Infrastructure.Services.DaxTemplate.DaxTemplateManager.GetPreviewChanges (Bravo, Version=1.0.8693.18732, Culture=neutral, PublicKeyToken=null: D:\a\1\s\src\Infrastructure\Services\DaxTemplate\DaxTemplateManager.cs:104)
   at Sqlbi.Bravo.Infrastructure.Services.DaxTemplate.DaxTemplateManager.GetPreviewChanges (Bravo, Version=1.0.8693.18732, Culture=neutral, PublicKeyToken=null: D:\a\1\s\src\Infrastructure\Services\DaxTemplate\DaxTemplateManager.cs:87)
   at Sqlbi.Bravo.Services.ManageDatesService.GetPreviewChanges (Bravo, Version=1.0.8693.18732, Culture=neutral, PublicKeyToken=null: D:\a\1\s\src\Services\ManageDatesService.cs:78)

This error is definitely a bug, but unfortunately, we're unable to reproduce it, and we would need a PBIX that allows us to replicate the error. In the meantime we've implemented an update to better identify the location of the error. If you can, please update the program to the latest internal build and replicate the error. This will allow us to gather more details from the application telemetry.

To get the latest internal build, simply change the update channel from Stable to Dev in the Options/About panel, and then follow the provided link to download the installer.