Check the docs before asking a question: https://abp.io/docs/latest Check the samples to see the basic tasks: https://abp.io/docs/latest/samples The exact solution to your question may have been answered before, and please first use the search on the homepage.
Provide us with the following info:
🧐 Hint: If you are using the ABP Studio, you can see all the information about your solution from the configuration window, which opens when you right-click on the solution and click on the Solution Configuration button.
- Exception message and full stack trace: Abp Studio crashes 2.2.4
- Steps to reproduce the issue: I have 36 projects in Abp Studio
System: Mac M2 Pro Max OS Version: 26.4 More Details:"template": "microservice", "versions": { "LeptonX": "5.0.1", "AbpFramework": "10.0.1", "AbpCommercial": "10.0.1", "AbpStudio": "2.1.0", "TargetDotnetFramework": "net9.0" },
In Abp Studio 2.1.4 no issues but after 2.1.4 version, all new versions fails so I always roll back to this old version 2.1.4
- While loading the abp solution it hangs (this is least possible)
- Most of time it fails to load the abp solution projects when I click solution shortcut, the abp studio crashes while loading the projects (Below is logs)
- In case it successfully loads the abp solution projects, while starting the docker container, the abp studio crashes (this is least possible)
Hope some logs could help, it happened with point 2 mentioned above
2026-03-29 11:11:03.911 +05:30 [INF] Starting Studio Backend application 2026-03-29 11:11:04.492 +05:30 [INF] Initialized all ABP modules. 2026-03-29 11:11:04.498 +05:30 [INF] User profile is available. Using '/Users/XXXXXXXX/.aspnet/DataProtection-Keys' as key repository; keys will not be encrypted at rest. 2026-03-29 11:11:04.537 +05:30 [INF] Now listening on: http://localhost:38271 2026-03-29 11:11:04.537 +05:30 [INF] Application started. Press Ctrl+C to shut down. 2026-03-29 11:11:04.537 +05:30 [INF] Hosting environment: Production 2026-03-29 11:11:04.537 +05:30 [INF] Content root path: /Applications/ABP Studio.app/Contents/MacOS 2026-03-29 11:11:04.687 +05:30 [INF] Request starting HTTP/2 POST http://localhost:38271/IStudioHub/Connect - application/grpc null 2026-03-29 11:11:04.703 +05:30 [INF] Request starting HTTP/2 POST http://localhost:38271/IStudioHub/Connect - application/grpc null 2026-03-29 11:11:04.707 +05:30 [INF] Request starting HTTP/2 POST http://localhost:38271/IStudioHub/Connect - application/grpc null 2026-03-29 11:11:04.711 +05:30 [INF] Request starting HTTP/2 POST http://localhost:38271/IStudioHub/Connect - application/grpc null 2026-03-29 11:11:04.754 +05:30 [INF] Request starting HTTP/2 POST http://localhost:38271/IStudioHub/Connect - application/grpc null 2026-03-29 11:11:04.754 +05:30 [INF] Executing endpoint 'gRPC - /IStudioHub/Connect' 2026-03-29 11:11:04.754 +05:30 [INF] Executing endpoint 'gRPC - /IStudioHub/Connect' 2026-03-29 11:11:04.754 +05:30 [INF] Executing endpoint 'gRPC - /IStudioHub/Connect' 2026-03-29 11:11:04.754 +05:30 [INF] Executing endpoint 'gRPC - /IStudioHub/Connect' 2026-03-29 11:11:04.754 +05:30 [INF] Executing endpoint 'gRPC - /IStudioHub/Connect' 2026-03-29 11:11:04.777 +05:30 [INF] Request starting HTTP/2 POST http://localhost:38271/IStudioHub/Connect - application/grpc null 2026-03-29 11:11:04.777 +05:30 [INF] Executing endpoint 'gRPC - /IStudioHub/Connect' 2026-03-29 11:11:04.783 +05:30 [INF] Request starting HTTP/2 POST http://localhost:38271/IStudioHub/Connect - application/grpc null 2026-03-29 11:11:04.783 +05:30 [INF] Executing endpoint 'gRPC - /IStudioHub/Connect' 2026-03-29 11:11:04.791 +05:30 [INF] Request starting HTTP/2 POST http://localhost:38271/IStudioHub/Connect - application/grpc null 2026-03-29 11:11:04.791 +05:30 [INF] Executing endpoint 'gRPC - /IStudioHub/Connect' 2026-03-29 11:11:04.791 +05:30 [INF] Request starting HTTP/2 POST http://localhost:38271/IStudioHub/Connect - application/grpc null 2026-03-29 11:11:04.791 +05:30 [INF] Executing endpoint 'gRPC - /IStudioHub/Connect' 2026-03-29 11:11:04.791 +05:30 [INF] Request starting HTTP/2 POST http://localhost:38271/IStudioHub/Connect - application/grpc null 2026-03-29 11:11:04.791 +05:30 [INF] Executing endpoint 'gRPC - /IStudioHub/Connect' 2026-03-29 11:11:04.792 +05:30 [INF] Request starting HTTP/2 POST http://localhost:38271/IStudioHub/Connect - application/grpc null 2026-03-29 11:11:04.792 +05:30 [INF] Executing endpoint 'gRPC - /IStudioHub/Connect' 2026-03-29 11:11:08.836 +05:30 [INF] Request starting HTTP/2 POST http://localhost:38271/IStudioBackendHub/Connect - application/grpc null 2026-03-29 11:11:08.836 +05:30 [INF] Executing endpoint 'gRPC - /IStudioBackendHub/Connect' 2026-03-29 11:11:08.850 +05:30 [ERR] A hub method handler throws an exception occurred in IStudioHub/HeartbeatAsync System.NullReferenceException: Object reference not set to an instance of an object. at Volo.Abp.Studio.Connectivity.StudioBackendHub.NotifyHeartbeatAsync(ApplicationHeartbeatInfo input) at Volo.Abp.Studio.Connectivity.StudioClientHub.HeartbeatAsync(ApplicationHeartbeatInfo input) at MagicOnion.Server.Hubs.StreamingHubContext.g__Await|43_0(StreamingHubContext ctx, ValueTask value) at MagicOnion.Server.Hubs.StreamingHubBase`2.ConsumeRequestQueueAsync(CancellationToken cancellationToken) 2026-03-29 11:13:02.426 +05:30 [INF] Executed endpoint 'gRPC - /IStudioBackendHub/Connect' 2026-03-29 11:13:02.429 +05:30 [INF] Request finished HTTP/2 POST http://localhost:38271/IStudioBackendHub/Connect - 200 null application/grpc 113591.7155ms 2026-03-29 11:13:02.432 +05:30 [INF] Connection id "0HNKDAN2CRKQV", Request id "0HNKDAN2CRKQV:00000001": the application completed without reading the entire request body. After this crashed
2 Answer(s)
-
0
The log you shared shows ABP Studio backend throwing a NullReferenceException inside the Studio connectivity heartbeat pipeline (
IStudioHub/HeartbeatAsync→Volo.Abp.Studio.Connectivity.StudioBackendHub.NotifyHeartbeatAsync). That’s an ABP Studio bug/regression in newer Studio versions (not related to your ABP solution code), and it explains why it “sometimes hangs / crashes while loading projects” and “sometimes crashes when starting containers”.Since this is a Studio internal exception (and you already confirmed 2.1.4 works while later versions don’t), the only definitive “fix” you can apply locally is:
- Stay on 2.1.4 as a workaround (what you’re already doing), and
- Report it to Volosoft with the complete Studio logs so they can patch the regression.
What to send (so they can reproduce/fix quickly):
- The full ABP Studio UI logs folder:
~/.abp/studio/ui/logs
- The backend logs folder (if exists on your machine; include it if you see it):
~/.abp/studio/backend/logs(or anybackend/logsunder~/.abp/studio/)
- Your
.abpsln(ABP Studio solution definition) file for that microservice solution (if you can share it), and the approximate project count (you said ~36). - Your macOS version + chip (you provided M2 Max) + the exact Studio version(s) that crash (2.2.4 etc.) and the last known good (2.1.4).
- The full ABP Studio UI logs folder:
Where to report (official channel):
- Open a ticket/contact support: https://abp.io/contact
(Links are verified reachable.)
This response was generated by AI. If it didn’t solve your problem, feel free to post a new answer — our support team will jump in to help you soon.
-
0
I have posted the logs for backend if it helps.
In macos, it happens > 2.1.4 crashes while loading solution's project in abp studio.
Hope some one from team could address the issue.