Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
TiagoSan2021 opened this issue Dec 4, 2023 · 2 comments
Labels
area-ManageDates awaiting reply More information is needed bug Something isn't working

Comments

@TiagoSan2021
Copy link

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 TiagoSan2021 added bug Something isn't working untriaged A new issue requiring triage labels Dec 4, 2023
@albertospelta
Copy link
Collaborator

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

@albertospelta albertospelta added area-ManageDates awaiting reply More information is needed and removed untriaged A new issue requiring triage labels Dec 4, 2023
@albertospelta
Copy link
Collaborator

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-ManageDates awaiting reply More information is needed bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants