Open Closed

GetAsync not working #4107


0
mikeolofernes created

Hi,

I created an entity using ABP suite. Then after a while, I updated the entity, added some fields and changed a datatype of one field. Then this error occurs.

Full error message: Microsoft.AspNetCore.Components.WebAssembly.Rendering.WebAssemblyRenderer[100] Unhandled exception rendering component: Internal Server Error Volo.Abp.Http.Client.AbpRemoteCallException: Internal Server Error at Volo.Abp.Http.Client.ClientProxying.ClientProxyBase1.<ThrowExceptionForResponseAsync>d__40[[FireBird.Jobs.IJobsAppService, FireBird.Application.Contracts, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].MoveNext() at Volo.Abp.Http.Client.ClientProxying.ClientProxyBase1.<RequestAsync>d__34[[FireBird.Jobs.IJobsAppService, FireBird.Application.Contracts, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].MoveNext() at Volo.Abp.Http.Client.ClientProxying.ClientProxyBase1.<RequestAsync>d__331[[FireBird.Jobs.IJobsAppService, FireBird.Application.Contracts, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null],[Volo.Abp.Application.Dtos.PagedResultDto1[[FireBird.Jobs.JobWithNavigationPropertiesDto, FireBird.Application.Contracts, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]], Volo.Abp.Ddd.Application.Contracts, Version=6.0.0.0, Culture=neutral, PublicKeyToken=null]].MoveNext() at Volo.Abp.Http.Client.DynamicProxying.DynamicHttpProxyInterceptorClientProxy1.<CallRequestAsync>d__01[[FireBird.Jobs.IJobsAppService, FireBird.Application.Contracts, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null],[Volo.Abp.Application.Dtos.PagedResultDto1[[FireBird.Jobs.JobWithNavigationPropertiesDto, FireBird.Application.Contracts, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]], Volo.Abp.Ddd.Application.Contracts, Version=6.0.0.0, Culture=neutral, PublicKeyToken=null]].MoveNext() at Volo.Abp.Http.Client.DynamicProxying.DynamicHttpProxyInterceptor1.<CallRequestAsync>d__261[[FireBird.Jobs.IJobsAppService, FireBird.Application.Contracts, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null],[Volo.Abp.Application.Dtos.PagedResultDto1[[FireBird.Jobs.JobWithNavigationPropertiesDto, FireBird.Application.Contracts, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]], Volo.Abp.Ddd.Application.Contracts, Version=6.0.0.0, Culture=neutral, PublicKeyToken=null]].MoveNext() at Volo.Abp.Http.Client.DynamicProxying.DynamicHttpProxyInterceptor1.<GetResultAsync>d__27[[FireBird.Jobs.IJobsAppService, FireBird.Application.Contracts, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].MoveNext() at Volo.Abp.Http.Client.DynamicProxying.DynamicHttpProxyInterceptor1.<InterceptAsync>d__24[[FireBird.Jobs.IJobsAppService, FireBird.Application.Contracts, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].MoveNext() at Volo.Abp.Castle.DynamicProxy.CastleAsyncAbpInterceptorAdapter1.<InterceptAsync>d__31[[Volo.Abp.Http.Client.DynamicProxying.DynamicHttpProxyInterceptor1[[FireBird.Jobs.IJobsAppService, FireBird.Application.Contracts, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]], Volo.Abp.Http.Client, Version=6.0.0.0, Culture=neutral, PublicKeyToken=null],[Volo.Abp.Application.Dtos.PagedResultDto1[[FireBird.Jobs.JobWithNavigationPropertiesDto, FireBird.Application.Contracts, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]], Volo.Abp.Ddd.Application.Contracts, Version=6.0.0.0, Culture=neutral, PublicKeyToken=null]].MoveNext() at Castle.DynamicProxy.AsyncInterceptorBase.<ProceedAsynchronous>d__141[[Volo.Abp.Application.Dtos.PagedResultDto1[[FireBird.Jobs.JobWithNavigationPropertiesDto, FireBird.Application.Contracts, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]], Volo.Abp.Ddd.Application.Contracts, Version=6.0.0.0, Culture=neutral, PublicKeyToken=null]].MoveNext() at Volo.Abp.Castle.DynamicProxy.CastleAbpMethodInvocationAdapterWithReturnValue1.<ProceedAsync>d__7[[Volo.Abp.Application.Dtos.PagedResultDto1[[FireBird.Jobs.JobWithNavigationPropertiesDto, FireBird.Application.Contracts, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]], Volo.Abp.Ddd.Application.Contracts, Version=6.0.0.0, Culture=neutral, PublicKeyToken=null]].MoveNext() at Volo.Abp.Validation.ValidationInterceptor.InterceptAsync(IAbpMethodInvocation invocation) at Volo.Abp.Castle.DynamicProxy.CastleAsyncAbpInterceptorAdapter1.<InterceptAsync>d__31[[Volo.Abp.Validation.ValidationInterceptor, Volo.Abp.Validation, Version=6.0.0.0, Culture=neutral, PublicKeyToken=null],[Volo.Abp.Application.Dtos.PagedResultDto1[[FireBird.Jobs.JobWithNavigationPropertiesDto, FireBird.Application.Contracts, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]], Volo.Abp.Ddd.Application.Contracts, Version=6.0.0.0, Culture=neutral, PublicKeyToken=null]].MoveNext() at FireBird.Blazor.Pages.Jobs.GetJobsAsync() in C:\Users\mikee\source\repos\FireBird-Modular\src\FireBird.Blazor\Pages\Jobs.razor.cs:line 136 at FireBird.Blazor.Pages.Jobs.OnInitializedAsync() in C:\Users\mikee\source\repos\FireBird-Modular\src\FireBird.Blazor\Pages\Jobs.razor.cs:line 99 at Microsoft.AspNetCore.Components.ComponentBase.RunInitAndSetParametersAsync() at Microsoft.AspNetCore.Components.RenderTree.Renderer.GetErrorHandledTask(Task taskToHandle, ComponentState owningComponentState)

  • ABP Framework version: v6.0
  • UI type: Blazor
  • DB provider: EF Core
  • Tiered (MVC) or Identity Server Separated (Angular): yes / blazor
  • Exception message and stack trace:
  • Steps to reproduce the issue:"

5 Answer(s)
  • 0
    maliming created
    Support Team

    hi

    What's the error logs of API.Host?

  • 0
    mikeolofernes created

    hi

    What's the error logs of API.Host?

    I didnt checked the API.Host logs. You can reproduce it by

    1. create an entity
    2. add properties
    3. add navigation field
    4. save and generate then close the abp suite
    5. open abp again then update the entity you created
    6. remove the navigation then add another navigation but use other look up tables. save and generate.
    7. load the app then load the entity you created. try to add new entry

    OR

    1. create an entity
    2. add properties
    3. save and generate then close the abp suite
    4. open abp again then update the entity you created
    5. add navigation, use other look up tables. save and generate.
    6. load the app then load the entity you created. try to add new entry

    I also tried to delete the whole table/entity but its not fully deleted. tried to start from scratch. How to fully delete a table in abp suite?

    Thanks, Mike

  • 0
    maliming created
    Support Team

    ok, I will try to reproduce, and please share the logs of API.Host

  • 0
    mikeolofernes created

    Our API.Host is on Azure not on local. I dont know how to get it from there. Have you reproduced the issue? If not, may I know how to delete an Entity/Table from ABP Suite instead? I will just start from scratch. I noticed when deleting Entity on ABP is not fully deleted. Error will occur if I reused the Entity name.

  • 0
    maliming created
    Support Team

    Our API.Host is on Azure not on local. I dont know how to get it from there.

    The logs file path isLogs\logs.txt