Meu repositório: https://github.com/RobertOcsV/AluraProjects/tree/main/AluraCSharp/FormacaoCsharp/Curso2/ScreenSound.API-Aula4-Video4.3 baixei o projeto direto do repositório de vocês da aula 4.3 e mesmo assim enfrentei o mesmo problema, acredito que seja algum problema que o musica.Artista.Nome está vindo vazio, não entendo o motivo,
Mais do erro:System.NullReferenceException: Object reference not set to an instance of an object.
at ScreenSound.API.Endpoints.MusicasExtensions.EntityToResponse(Musica musica) in E:\Tudo\github\AluraProjects\AluraCSharp\FormacaoCsharp\Curso2\ScreenSound.API-Aula4-Video4.3\ScreenSound.API\Endpoints\MusicasExtensions.cs:line 95
at ScreenSound.API.Endpoints.MusicasExtensions.<>c.b__3_0(Musica a) in E:\Tudo\github\AluraProjects\AluraCSharp\FormacaoCsharp\Curso2\ScreenSound.API-Aula4-Video4.3\ScreenSound.API\Endpoints\MusicasExtensions.cs:line 90
at System.Linq.Enumerable.SelectListIterator2.Fill(ReadOnlySpan
1 source, Span1 destination, Func
2 func)
at System.Linq.Enumerable.SelectListIterator2.ToList() at ScreenSound.API.Endpoints.MusicasExtensions.EntityListToResponseList(IEnumerable
1 musicaList) in E:\Tudo\github\AluraProjects\AluraCSharp\FormacaoCsharp\Curso2\ScreenSound.API-Aula4-Video4.3\ScreenSound.API\Endpoints\MusicasExtensions.cs:line 90
at ScreenSound.API.Endpoints.MusicasExtensions.<>c.b__0_0(DAL`1 dal) in E:\Tudo\github\AluraProjects\AluraCSharp\FormacaoCsharp\Curso2\ScreenSound.API-Aula4-Video4.3\ScreenSound.API\Endpoints\MusicasExtensions.cs:line 22
at lambda_method8(Closure, Object, HttpContext)
at Microsoft.AspNetCore.StaticFiles.StaticFileMiddleware.Invoke(HttpContext context)
at Swashbuckle.AspNetCore.SwaggerUI.SwaggerUIMiddleware.Invoke(HttpContext httpContext)
at Swashbuckle.AspNetCore.Swagger.SwaggerMiddleware.Invoke(HttpContext httpContext, ISwaggerProvider swaggerProvider)
at Microsoft.AspNetCore.Diagnostics.DeveloperExceptionPageMiddlewareImpl.Invoke(HttpContext context)
HEADERS
Accept: / Host: localhost:7089 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/123.0.0.0 Safari/537.36 Accept-Encoding: gzip, deflate, br, zstd Accept-Language: pt-BR,pt;q=0.9,en-US;q=0.8,en;q=0.7 Referer: https://localhost:7089/Swagger/index.html sec-ch-ua: "Google Chrome";v="123", "Not:A-Brand";v="8", "Chromium";v="123" sec-ch-ua-mobile: ?0 sec-ch-ua-platform: "Windows" sec-fetch-site: same-origin sec-fetch-mode: cors sec-fetch-dest: empty