"New Page" crash after OpenAPI data configure

I configure an OpenAPI (swager) data source. and after that when I tring to create a new page the popup window crashed. I have the latest studio 1.35.1 version. The logs from the log.txt file are this:

[2024-11-21 07:41:35.652] [error] Error: System.NullReferenceException: Object reference not set to an instance of an object.
at System.Linq.Enumerable.IEnumerableWhereSelectIterator2.MoveNext() at System.Linq.Enumerable.IEnumerableWhereIterator1.MoveNext()
at System.Linq.Enumerable.DistinctByIterator[TSource,TKey](IEnumerable1 source, Func2 keySelector, IEqualityComparer1 comparer)+MoveNext() at System.Linq.Enumerable.IEnumerableSelectIterator2.MoveNext()
at System.Collections.Generic.SegmentedArrayBuilder1.AddRange(IEnumerable1 source)
at System.Linq.Enumerable.SelectManySingleSelectorIterator2.ToList() at System.Linq.Enumerable.ToList[TSource](IEnumerable1 source)
at Radzen.Server.OpenApiParser.GetEntities(CSharpCompilation compilation, IConfiguration configuration)
at Radzen.Server.SolutionFacade.GetEntities()
at Radzen.Server.ProgramController.b__76_0()
at Radzen.Server.LoggerExtensions.Measure[T](ILogger logger, String name, Func`1 action)
at Radzen.Server.ProgramController.ListEntities()
at lambda_method301(Closure, Object, Object)
at Microsoft.AspNetCore.Mvc.Infrastructure.ActionMethodExecutor.SyncActionResultExecutor.Execute(ActionContext actionContext, IActionResultTypeMapper mapper, ObjectMethodExecutor executor, Object controller, Object arguments)
at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.InvokeActionMethodAsync()
at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted)
at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.InvokeNextActionFilterAsync()
--- End of stack trace from previous location ---
at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Rethrow(ActionExecutedContextSealed context)
at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted)
at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.InvokeInnerFilterAsync()
--- End of stack trace from previous location ---
at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.g__Awaited|20_0(ResourceInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.g__Awaited|17_0(ResourceInvoker invoker, Task task, IDisposable scope)
at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.g__Awaited|17_0(ResourceInvoker invoker, Task task, IDisposable scope)
at Microsoft.AspNetCore.Diagnostics.ExceptionHandlerMiddlewareImpl.g__Awaited|10_0(ExceptionHandlerMiddlewareImpl middleware, HttpContext context, Task task)

Hi @popatos,

This indeed looks as a problem. Radzen Blazor Studio fails to parse the code of your application for some reason. If you have a subscription you can send us a download link to your app to info@radzen.com and we will troubleshoot further.

Hi @korchev ,
Here you can find the project files: Unique Download Link | WeTransfer
The project is very simple, I just tried to test the OpenAPI data source future with a local API. Probably you have a bug on the studio, Because when I load this project (that have the OpenAPI data source the studio crashes even in the "new application tab").

Thanks! Should work better with the upcoming release.