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

Manage Dates error: Object reference not set to an instance of an object #853

Open
hermann-pbi opened this issue Nov 26, 2024 · 3 comments
Labels
area-ManageDates awaiting reply More information is needed bug Something isn't working

Comments

@hermann-pbi
Copy link

hermann-pbi commented Nov 26, 2024

Describe the problem

Every time I connect to the ‘Manage dates’ section to update my ‘Dates’ table I always get the same error, whereas everything works normally for the other sections. Can you please check this? Thanks in advance

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

Bravo version

1.0.9 (1.0.8978.16678)

Tabular model

Power BI Desktop, import mode

Power BI

Power BI Desktop Version : 2.138.1004.0 64-bit (novembre 2024)

Steps to reproduce the behavior

No response

Additional context

No response

Screenshots

No response

Anything else ?

Identifiant de suivi: 00-93b4d81814aa64c7779d8ffac6c1cf71-058028a628ae6675-00

@hermann-pbi hermann-pbi added bug Something isn't working untriaged A new issue requiring triage labels Nov 26, 2024
@albertospelta
Copy link
Collaborator

Hi @hermann-pbi, We’ve checked our telemetry and can see the error, but to investigate further, we’d need a bit more information. Would it be possible for you to share a PBIX file with dummy data (no sensitive information) and just the minimal tables needed to reproduce the issue ? This would really help us identify the root cause. Thanks

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

Note

Reference only: Tracking technical details related to the issue.

Bravo Version: 1.0.9 (build 1.0.8978.16678)

System.NullReferenceException:
   at Dax.Template.Measures.MeasuresTemplate.ApplyTemplate (Dax.Template, Version=0.0.0.0, Culture=neutral, PublicKeyToken=c9a600d152d69fbe: /_/src/Dax.Template/Measures/MeasuresTemplate.cs:212)
   at Dax.Template.Engine+<>c__DisplayClass5_0.<ApplyTemplates>g__ApplyMeasuresTemplate|5 (Dax.Template, Version=0.0.0.0, Culture=neutral, PublicKeyToken=c9a600d152d69fbe: /_/src/Dax.Template/Engine.cs:209)
   at Dax.Template.Engine+<>c__DisplayClass5_0.<ApplyTemplates>b__0 (Dax.Template, Version=0.0.0.0, Culture=neutral, PublicKeyToken=c9a600d152d69fbe: /_/src/Dax.Template/Engine.cs:81)
   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: /_/src/Dax.Template/Engine.cs:77)
   at Sqlbi.Bravo.Infrastructure.Services.DaxTemplate.DaxTemplateManager.GetPreviewChanges (Bravo, Version=1.0.8978.16678, Culture=neutral, PublicKeyToken=null: /_/src/Infrastructure/Services/DaxTemplate/DaxTemplateManager.cs:104)
   at Sqlbi.Bravo.Infrastructure.Services.DaxTemplate.DaxTemplateManager.GetPreviewChanges (Bravo, Version=1.0.8978.16678, Culture=neutral, PublicKeyToken=null: /_/src/Infrastructure/Services/DaxTemplate/DaxTemplateManager.cs:87)
   at Sqlbi.Bravo.Services.ManageDatesService.GetPreviewChanges (Bravo, Version=1.0.8978.16678, Culture=neutral, PublicKeyToken=null: /_/src/Services/ManageDatesService.cs:78)
   at lambda_method24 (Anonymously Hosted DynamicMethods Assembly, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ActionMethodExecutor+SyncActionResultExecutor.Execute (Microsoft.AspNetCore.Mvc.Core, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60)

@albertospelta albertospelta changed the title Every time I connect to the ‘Manage dates’ section to update my ‘Dates’ table I always get the same error, whereas everything works normally for the other sections. Can you please check this? Thanks in advance Manage Dates error: Object reference not set to an instance of an object Dec 9, 2024
@albertospelta
Copy link
Collaborator

We’ve investigated the issue further but were still unable to reproduce the error on our side. However, we’ve implemented a change and released a development version for testing to determine if it addresses the issue. It would be very helpful if you could test it on your end to confirm whether the issue is resolved or if it still persists.

To get the latest development build, you can switch your update channel from Stable to Dev in the Options > About panel and follow the link to download the installer. Alternatively, you can download the version directly from https://bravorelease.blob.core.windows.net/bravo-internal/2024/12/05/20241205.3-1.0.9105.27868/Bravo.1.0.9.x64-portable.zip ( https://bravo.bi/builds )

If the problem persists, it would be very useful if you could provide additional details to help us reproduce the error and, if possible, also sharing a PBIX file with dummy data that replicates the issue.

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