Open Closed

CRUD Genrated Module displays error message #3335


User avatar
0
manuel42 created
  • ABP Framework version: v5.2.2
  • UI type: MVC
  • DB provider: EF Core
  • Tiered (MVC) or Identity Server Separated (Angular): no
  • Exception message and stack trace: An internal error occurred during your request!
  • Steps to reproduce the issue:" Create a CRUD Module with a Dropdown that contains the entity of a another CRUD generated Module

Hi Guys, I have created a CRUD module with suite but always when I have created module I get this error message and it loads no data. What I am doing wrong ?

kind regards manuel


5 Answer(s)
  • User Avatar
    0
    yekalkan created
    Support Team Fullstack Developer

    Hi @manuel42,

    Can you share the application logs? What is the exception that is caused the internal error message?

    Also, be sure to use 5.2.2 version of ABP Suite if your solution is 5.2.2.

  • User Avatar
    0
    manuel42 created

    hi @yekalkan,

    I already use the same suite version thank you for the hint. In the logs if found the following

    [ERR] ---------- RemoteServiceErrorInfo ---------- { "code": null, "message": "An internal error occurred during your request!", "details": null, "data": {}, "validationErrors": null }

    2022-06-28 09:17:27.100 +02:00 [ERR] Expression expected

  • User Avatar
    0
    yekalkan created
    Support Team Fullstack Developer

    Can you share the full logs?

    2022-06-28 09:17:27.100 +02:00 [ERR] Expression expected

    This seems cut.

  • User Avatar
    0
    manuel42 created

    'Volo.Abp.AspNetCore.Mvc.ProxyScripting.AbpServiceProxyScriptController.GetAll (Volo.Abp.AspNetCore.Mvc)' 2022-06-29 07:43:12.017 +02:00 [INF] Request finished HTTP/2 GET https://localhost:44374/Abp/ServiceProxyScript - - - 200 7597 application/javascript 794.7993ms 2022-06-29 07:43:12.208 +02:00 [INF] Executing ObjectResult, writing value of type 'Volo.Abp.Content.RemoteStreamContent'. 2022-06-29 07:43:12.211 +02:00 [INF] Executed action Volo.Abp.Account.AccountController.GetProfilePictureFileAsync (Volo.Abp.Account.Pro.Public.HttpApi) in 927.5125ms 2022-06-29 07:43:12.211 +02:00 [INF] Executed endpoint 'Volo.Abp.Account.AccountController.GetProfilePictureFileAsync (Volo.Abp.Account.Pro.Public.HttpApi)' 2022-06-29 07:43:12.211 +02:00 [INF] Request finished HTTP/2 GET https://localhost:44374/api/account/profile-picture-file/55cd24e3-d868-596e-7e20-3a04bb2b135e - - - 200 - image/jpeg 986.3231ms 2022-06-29 07:43:12.297 +02:00 [DBG] Executed AbpApplicationConfigurationAppService.GetAsync(). 2022-06-29 07:43:12.319 +02:00 [DBG] Added 0 entity changes to the current audit log 2022-06-29 07:43:12.319 +02:00 [INF] Executing ContentResult with HTTP Response ContentType of application/javascript 2022-06-29 07:43:12.321 +02:00 [INF] Executed action Volo.Abp.AspNetCore.Mvc.ApplicationConfigurations.AbpApplicationConfigurationScriptController.Get (Volo.Abp.AspNetCore.Mvc) in 1070.3952ms 2022-06-29 07:43:12.321 +02:00 [INF] Executed endpoint 'Volo.Abp.AspNetCore.Mvc.ApplicationConfigurations.AbpApplicationConfigurationScriptController.Get (Volo.Abp.AspNetCore.Mvc)' 2022-06-29 07:43:12.327 +02:00 [INF] Request finished HTTP/2 GET https://localhost:44374/Abp/ApplicationConfigurationScript - - - 200 228888 application/javascript 1122.7238ms 2022-06-29 07:43:12.385 +02:00 [INF] Request starting HTTP/2 GET https://localhost:44374/api/chat/contact/total-unread-message-count application/json - 2022-06-29 07:43:12.388 +02:00 [INF] Request starting HTTP/2 POST https://localhost:44374/signalr-hubs/chat/negotiate?negotiateVersion=1 text/plain;charset=UTF-8 0 2022-06-29 07:43:12.395 +02:00 [INF] Executing endpoint 'Volo.Chat.Users.ContactController.GetTotalUnreadMessageCountAsync (Volo.Chat.HttpApi)' 2 2022-06-29 07:43:18.790 +02:00 [INF] Request starting HTTP/2 GET https://localhost:44374/Abp/ServiceProxyScript - - 2022-06-29 07:43:18.791 +02:00 [INF] Request starting HTTP/2 GET https://localhost:44374/_vs/browserLink - - 2022-06-29 07:43:18.791 +02:00 [INF] Request finished HTTP/2 GET https://localhost:44374/_framework/aspnetcore-browser-refresh.js - - - 200 11998 application/javascript;+charset=utf-8 1.1909ms 2022-06-29 07:43:18.791 +02:00 [INF] Request starting HTTP/2 GET https://localhost:44374/cms-kit/global-resources/script - - 2022-06-29 07:43:18.791 +02:00 [INF] Request starting HTTP/2 GET https://localhost:44374/api/account/profile-picture-file/55cd24e3-d868-596e-7e20-3a04bb2b135e - - 2022-06-29 07:43:18.795 +02:00 [INF] Executed endpoint '/signalr-hubs/chat' 2022-06-29 07:43:18.796 +02:00 [INF] Request finished HTTP/1.1 GET https://localhost:44374/signalr-hubs/chat?id=XpTZyeHIuPzDZb2dyECxNQ - - - 101 - - 6347.2892ms 2022-06-29 07:43:18.796 +02:00 [INF] Executing FileContentResult, sending file with download name '' ... 2022-06-29 07:43:18.796 +02:00 [INF] Executed action Volo.CmsKit.Public.Web.Controllers.CmsKitPublicGlobalResourcesController.GetGlobalStyleAsync (Volo.CmsKit.Public.Web) in 6.2613ms 2022-06-29 07:43:18.796 +02:00 [INF] Executed endpoint 'Volo.CmsKit.Public.Web.Controllers.CmsKitPublicGlobalResourcesController.GetGlobalStyleAsync (Volo.CmsKit.Public.Web)' 2022-06-29 07:43:18.798 +02:00 [INF] Request finished HTTP/2 GET https://localhost:44374/cms-kit/global-resources/style - - - 200 0 text/css 17.3161ms 2022-06-29 07:43:18.800 +02:00 [INF] Executing endpoint 'Volo.Abp.AspNetCore.Mvc.ApplicationConfigurations.AbpApplicationConfigurationScriptController.Get (Volo.Abp.AspNetCore.Mvc)' 2022-06-29 07:43:18.808 +02:00 [INF] Executing FileContentResult, sending file with download name '' ... 2022-06-29 07:43:18.809 +02:00 [INF] Executed action Volo.CmsKit.Public.Web.Controllers.CmsKitPublicGlobalResourcesController.GetGlobalScriptAsync (Volo.CmsKit.Public.Web) in 3.4511ms 2022-06-29 07:43:18.809 +02:00 [INF] Executed endpoint 'Volo.CmsKit.Public.Web.Controllers.CmsKitPublicGlobalResourcesController.GetGlobalScriptAsync (Volo.CmsKit.Public.Web)' 2022-06-29 07:43:18.809 +02:00 [INF] Executing ContentResult with HTTP Response ContentType of application/javascript 2022-06-29 07:43:18.810 +02:00 [INF] Request finished HTTP/2 GET https://localhost:44374/cms-kit/global-resources/script - - - 200 0 application/javascript 18.5439ms 2022-06-29 07:43:18.810 +02:00 [INF] Executed action Volo.Abp.AspNetCore.Mvc.ProxyScripting.AbpServiceProxyScriptController.GetAll (Volo.Abp.AspNetCore.Mvc) in 5.2275ms 2022-06-29 07:43:18.810 +02:00 [INF] Executed endpoint 'Volo.Abp.AspNetCore.Mvc.ProxyScripting.AbpServiceProxyScriptController.GetAll (Volo.Abp.AspNetCore.Mvc)' 2022-06-29 07:43:18.811 +02:00 [INF] Request finished HTTP/2 GET https://localhost:44374/Abp/ServiceProxyScript - - - 200 7597 application/javascript 20.5907ms 2022-06-29 07:43:18.817 +02:00 [INF] Executing endpoint 'Volo.Abp.Account.AccountController.GetProfilePictureFileAsync (Volo.Abp.Account.Pro.Public.HttpApi)' 2022-06-29 07:43:19.165 +02:00 [DBG] PermissionStore.GetCacheItemAsync: pn:U,pk:55cd24e3-d868-596e-7e20-3a04bb2b135e,n:Chat.Messaging 2022-06-29 07:43:19.165 +02:00 [DBG] Found in the cache: pn:U,pk:55cd24e3-d868-596e-7e20-3a04bb2b135e,n:Chat.Messaging 2022-06-29 07:43:19.166 +02:00 [DBG] PermissionStore.GetCacheItemAsync: pn:R,pk:admin,n:Chat.Messaging 2022-06-29 07:43:19.166 +02:00 [DBG] Found in the cache: pn:R,pk:admin,n:Chat.Messaging 2022-06-29 07:43:19.167 +02:00 [INF] Executing endpoint '/signalr-hubs/chat/negotiate' 2022-06-29 07:43:19.168 +02:00 [INF] Executed endpoint '/signalr-hubs/chat/negotiate' 2022-06-29 07:43:19.168 +02:00 [INF] Request finished HTTP/2 POST https://localhost:44374/signalr-hubs/chat/negotiate?negotiateVersion=1 text/plain;charset=UTF-8 0 - 200 316 application/json 10.8984ms 2022-06-29 07:43:19.170 +02:00 [DBG] PermissionStore.GetCacheItemAsync: pn:U,pk:55cd24e3-d868-596e-7e20-3a04bb2b135e,n:Chat.Messaging 2022-06-29 07:43:19.170 +02:00 [DBG] Found in the cache: pn:U,pk:55cd24e3-d868-596e-7e20-3a04bb2b135e,n:Chat.Messaging 2022-06-29 07:43:19.170 +02:00 [DBG] PermissionStore.GetCacheItemAsync: pn:R,pk:admin,n:Chat.Messaging 2022-06-29 07:43:19.171 +02:00 [DBG] Found in the cache: pn:R,pk:admin,n:Chat.Messaging 2022-06-29 07:43:19.181 +02:00 [INF] Request starting HTTP/2 GET https://localhost:44374/api/app/projects?filterText=&shortName=&longName=&description=&startDateMin=&startDateMax=&endDateMin=&endDateMax=&budgetMin=&budgetMax=&customerId=925501c6-86aa-eab0-0bfa-3a04bb306f69&sorting=%25%25entity-name-camelcase-datatable%25%25.shortName%20asc&skipCount=0&maxResultCount=10 application/json - 2022-06-29 07:43:19.182 +02:00 [DBG] Added 0 entity changes to the current audit log 2022-06-29 07:43:19.184 +02:00 [INF] Executing ObjectResult, writing value of type 'System.Int32'. 2022-06-29 07:43:19.185 +02:00 [INF] Executed action Volo.Chat.Users.ContactController.GetTotalUnreadMessageCountAsync (Volo.Chat.HttpApi) in 20.6592ms 2022-06-29 07:43:19.185 +02:00 [INF] Executed endpoint 'Volo.Chat.Users.ContactController.GetTotalUnreadMessageCountAsync (Volo.Chat.HttpApi)' 2022-06-29 07:43:19.186 +02:00 [INF] Request finished HTTP/2 GET https://localhost:44374/api/chat/contact/total-unread-message-count application/json - - 200 - application/json;+charset=utf-8 30.0981ms 2022-06-29 07:43:19.188 +02:00 [DBG] PermissionStore.GetCacheItemAsync: pn:U,pk:55cd24e3-d868-596e-7e20-3a04bb2b135e,n:IT42Portal.Projects 2022-06-29 07:43:19.189 +02:00 [DBG] Found in the cache: pn:U,pk:55cd24e3-d868-596e-7e20-3a04bb2b135e,n:IT42Portal.Projects 2022-06-29 07:43:19.189 +02:00 [DBG] PermissionStore.GetCacheItemAsync: pn:R,pk:admin,n:IT42Portal.Projects 2022-06-29 07:43:19.189 +02:00 [DBG] Found in the cache: pn:R,pk:admin,n:IT42Portal.Projects 2022-06-29 07:43:19.190 +02:00 [INF] Executing endpoint 'IT42Portal.Projects.ProjectsAppService.GetListAsync (IT42Portal.Application)' 2022-06-29 07:43:19.198 +02:00 [INF] Route matched with {action = "GetList", controller = "Projects", area = "", page = ""}. Executing controller action with signature System.Threading.Tasks.Task1[Volo.Abp.Application.Dtos.PagedResultDto1[IT42Portal.Projects.ProjectWithNavigationPropertiesDto]] GetListAsync(IT42Portal.Projects.GetProjectsInput) on controller IT42Portal.Projects.ProjectsAppService (IT42Portal.Application). 2022-06-29 07:43:19.255 +02:00 [INF] Request starting HTTP/1.1 GET https://localhost:44374/signalr-hubs/chat?id=6zV6h3EYIetWoE99ck2Kjg - - 2022-06-29 07:43:19.261 +02:00 [INF] No CORS policy found for the specified request. 2022-06-29 07:43:19.263 +02:00 [DBG] PermissionStore.GetCacheItemAsync: pn:U,pk:55cd24e3-d868-596e-7e20-3a04bb2b135e,n:Chat.Messaging 2022-06-29 07:43:19.264 +02:00 [DBG] Found in the cache: pn:U,pk:55cd24e3-d868-596e-7e20-3a04bb2b135e,n:Chat.Messaging 2022-06-29 07:43:19.264 +02:00 [DBG] PermissionStore.GetCacheItemAsync: pn:R,pk:admin,n:Chat.Messaging 2022-06-29 07:43:19.264 +02:00 [DBG] Found in the cache: pn:R,pk:admin,n:Chat.Messaging 2022-06-29 07:43:19.265 +02:00 [INF] Executing endpoint '/signalr-hubs/chat' 2022-06-29 07:43:19.289 +02:00 [DBG] PermissionStore.GetCacheItemAsync: pn:U,pk:55cd24e3-d868-596e-7e20-3a04bb2b135e,n:IT42Portal.Projects 2022-06-29 07:43:19.289 +02:00 [DBG] Found in the cache: pn:U,pk:55cd24e3-d868-596e-7e20-3a04bb2b135e,n:IT42Portal.Projects 2022-06-29 07:43:19.289 +02:00 [DBG] PermissionStore.GetCacheItemAsync: pn:R,pk:admin,n:IT42Portal.Projects 2022-06-29 07:43:19.290 +02:00 [DBG] Found in the cache: pn:R,pk:admin,n:IT42Portal.Projects 2022-06-29 07:43:19.660 +02:00 [ERR] ---------- RemoteServiceErrorInfo ---------- { "code": null, "message": "An internal error occurred during your request!", "details": null, "data": {}, "validationErrors": null }

    2022-06-29 07:43:19.661 +02:00 [ERR] Expression expected Expression expected (at index 0) 2022-06-29 07:43:19.673 +02:00 [INF] Executing ObjectResult, writing value of type 'Volo.Abp.Http.RemoteServiceErrorResponse'. 2022-06-29 07:43:19.675 +02:00 [INF] Executed action IT42Portal.Projects.ProjectsAppService.GetListAsync (IT42Portal.Application) in 476.8967ms 2022-06-29 07:43:19.675 +02:00 [INF] Executed endpoint 'IT42Portal.Projects.ProjectsAppService.GetListAsync (IT42Portal.Application)' 2022-06-29 07:43:20.065 +02:00 [DBG] Added 0 entity changes to the current audit log 2022-06-29 07:43:20.083 +02:00 [DBG] Added 0 entity changes to the current audit log 2022-06-29 07:43:20.086 +02:00 [INF] Request finished HTTP/2 GET https://localhost:44374/api/app/projects?filterText=&shortName=&longName=&description=&startDateMin=&startDateMax=&endDateMin=&endDateMax=&budgetMin=&budgetMax=&customerId=925501c6-86aa-eab0-0bfa-3a04bb306f69&sorting=%25%25entity-name-camelcase-datatable%25%25.shortName%20asc&skipCount=0&maxResultCount=10 application/json - - 500 - application/json;+charset=utf-8 905.2297ms 2022-06-29 07:43:26.284 +02:00 [DBG] Executing HealthCheck collector HostedService. 2022-06-29 07:43:26.298 +02:00 [INF] Start processing HTTP request GET "https://localhost:44374/health-status" 2022-06-29 07:43:26.298 +02:00 [INF] Sending HTTP request GET "https://localhost:44374/health-status" 2022-06-29 07:43:26.300 +02:00 [INF] Request starting HTTP/1.1 GET https://localhost:44374/health-status - - 2022-06-29 07:43:26.303 +02:00 [INF] Executing endpoint 'Health checks' 2022-06-29 07:43:26.308 +02:00 [DBG] Added 0 entity changes to the current audit log 2022-06-29 07:43:26.309 +02:00 [INF] Executed endpoint 'Health checks' 2022-06-29 07:43:26.309 +02:00 [INF] Received HTTP response headers after 10.972ms - 200 2022-06-29 07:43:26.309 +02:00 [INF] End processing HTTP request after 11.1112ms - 200 2022-06-29 07:43:26.310 +02:00 [INF] Request finished HTTP/1.1 GET https://localhost:44374/health-status - - - 200 - application/json 9.2502ms 2022-06-29 07:43:26.311 +02:00 [DBG] HealthReportCollector - health report execution history saved. 2022-06-29 07:43:26.311 +02:00 [DBG] HealthReport history already exists and is in the same state, updating the values. 2022-06-29 07:43:26.311 +02:00 [DBG] HealthReportCollector has completed. 2022-06-29 07:43:26.311 +02:00 [DBG] HealthCheck collector HostedService executed successfully.

  • User Avatar
    0
    manuel42 created

    I recreated the whole project and now it works. thank you for you help

Made with ❤️ on ABP v9.1.0-preview. Updated on November 11, 2024, 11:11