Activities of "alboy"

  • ABP Framework version: v9.2.2
  • UI Type: Blazor Interactive Auto
  • Steps to reproduce the issue:

Hi everyone, I'm trying to generate a CRUD page inside ABP Suite, however I seem to be getting the following error instantly

2025-07-22 19:03:12.006 +01:00 [INF] Route matched with {controller = "crudPageGenerator", action = "SaveAndGenerateEntity", area = "", page = ""}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.NoContentResult] SaveAndGenerateEntityAsync(System.Guid, Volo.Abp.Suite.Models.EntityModel) on controller Volo.Abp.Suite.Controllers.CrudPageGeneratorController (Volo.Abp.Suite). 2025-07-22 19:03:13.760 +01:00 [ERR] ---------- RemoteServiceErrorInfo ---------- { "code": null, "message": "An internal error occurred during your request!", "details": null, "data": null, "validationErrors": null }

2025-07-22 19:03:13.765 +01:00 [ERR] Object reference not set to an instance of an object. System.NullReferenceException: Object reference not set to an instance of an object. at Volo.Abp.Suite.Areas.AbpSuite.CrudPageGenerator.Commands.CrudPageGenerator.wVOm75JTq2(Solution ) at Volo.Abp.Suite.Areas.AbpSuite.CrudPageGenerator.Commands.CrudPageGenerator.IeAm9nRiQI(Solution ) at Volo.Abp.Suite.Areas.AbpSuite.CrudPageGenerator.Commands.CrudPageGenerator.GenerateAsync(EntityModel entity, Solution solution, EntityModel masterEntity, List1 navigationConnections) at Volo.Abp.Suite.Controllers.CrudPageGeneratorController.SaveAndGenerateEntityAsync(Guid solutionId, EntityModel entity) at lambda_method2058(Closure, Object) at Microsoft.AspNetCore.Mvc.Infrastructure.ActionMethodExecutor.TaskOfActionResultExecutor.Execute(ActionContext actionContext, IActionResultTypeMapper mapper, ObjectMethodExecutor executor, Object controller, Object[] arguments) at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.<InvokeActionMethodAsync>g__Awaited|12_0(ControllerActionInvoker invoker, ValueTask1 actionResultValueTask) at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.g__Awaited|10_0(ControllerActionInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted) 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.g__Awaited|13_0(ControllerActionInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted) at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.g__Awaited|26_0(ResourceInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted) 2025-07-22 19:03:13.781 +01:00 [INF] Executing ObjectResult, writing value of type 'Volo.Abp.Http.RemoteServiceErrorResponse'. 2025-07-22 19:03:13.782 +01:00 [INF] Executed action Volo.Abp.Suite.Controllers.CrudPageGeneratorController.SaveAndGenerateEntityAsync (Volo.Abp.Suite) in 1775.7351ms 2025-07-22 19:03:13.782 +01:00 [INF] Executed endpoint 'Volo.Abp.Suite.Controllers.CrudPageGeneratorController.SaveAndGenerateEntityAsync (Volo.Abp.Suite)' 2025-07-22 19:03:13.782 +01:00 [INF] Request finished HTTP/1.1 POST http://localhost:3000/api/abpSuite/crudPageGenerator/71931eca-5761-4a80-bf5e-3edd5fefc77f/save-and-generate-entity - 500 null application/json; charset=utf-8 1778.7462ms

My suite, studio, cli is all up to date, as are my packages, everything is building. As far as I can tell, there is nothing fundamental about the project I've changed with regards to config. I did switch to central package management a month or so ago, but it's been fine generating entities in between then and now. I noticed this issue when I tried to create a new entity through the suite, after finding it didn't work, I tried to trim it down to a simple form (just one string property) and that still didn't work. And then I tried to edit an existing entity just to test it, that didn't work, and then I tried to save an entity I haven't made a change to. Which also didn't work. I just get this error every time.

I also tried upgrading to preview versions, and downgrading to previous versions, but it's the same error every time.

I can share logs, or entities if needs be.

  • ABP Framework version: v8.1.3, v8.1.4, v8.2.0-rc5
  • UI Type: Blazor Server, Blazor WASM, Blazor Web App
  • Database System: EF Core SQL Server
  • Tiered (for MVC) or Auth Server Separated (for Angular): no
  • Exception message and full stack trace: no exceptions, other than malformed code
  • Steps to reproduce the issue: create entities in ABP suite until the issue happens, I find it happens usually at the 5th entity. Full description below

ABP Suite seems to be failing to generate entities correctly. I can't find anyone else experiencing this problem looking at previous support tickets.

From what I can see, there is nothing mentioned in the logs even after setting suite logging verbosity to verbose. I am unsure of *exact *reproduction steps, but this has happened on 3 individual projects (I can share each json file if you want)

After a certain amount of entities created, it gets to a point where it generates malformed entities.

Here is an example of what is generated in MyEntity.extended.cs, with basic string properties "TestOne", "TestTwo", and "TestThree"

    public MyEntity(Guid id, )
        : base(id, )
    {
    }     

This is invalid code that of course will not compile. It seems to be failing to add properties of my entity in several places, like the base entity, extended entity, tests, as well as create and update methods and Dto's in the backend. It should look like

    public MyEntity(Guid id, string testOne, string testTwo, string testThree)
        : base(id, testOne, testTwo, testThree)
    {
    }     

I have tried versions 8.1.3 (where I first noticed the issue), 8.1.4, and 8.2.0-rc5. I've also tried changing generation options like turning off crud page generation, turning off custom code, disabling backend etc and it didn't seem to make a difference. Tried Blazor Server, WASM, and Web App. Also tried clearing my Nuget cache in case it was resolving wrong package versions etc.

All 3 of the projects I've tested on have been more or less stock. The only other changes I've made have been to add some modules, and tweak some templates adding some more hooks in them etc.

Showing 1 to 2 of 2 entries
Learn More, Pay Less
33% OFF
All Trainings!
Get Your Deal
Mastering ABP Framework Book
The Official Guide
Mastering
ABP Framework
Learn More
Mastering ABP Framework Book
Made with ❤️ on ABP v10.0.0-preview. Updated on September 16, 2025, 10:35