Hi, An unhandled exception has occurred. See browser dev tools for details. Reload(In console: Invocation canceled due to the underlying connection being closed.) , when clicked Reload it works. After doing some research i got to know that this is arising only when i add entities to Module (new Module added to solution).In Log, the error shows as [ERR] Unhandled exception in circuit '97X0b7xtEA1oi719RYRX51AXfS8y8FVO2dELunj6XLM'.
- ABP Framework version: v8.1.3
- UI Type: Blazor Server
- Database System: EF Core (SQL Server, Oracle, MySQL, PostgreSQL, etc..)
- Tiered (for MVC) or Auth Server Separated (for Angular): no
- Exception message and full stack trace:
- Steps to reproduce the issue:
19 Answer(s)
-
0
Hi,
could you please share the full error logs?
-
0
2024-07-03 14:56:18.223 +05:30 [DBG] Added 0 entity changes to the current audit log 2024-07-03 14:56:18.229 +05:30 [DBG] Added 0 entity changes to the current audit log 2024-07-03 14:56:18.235 +05:30 [WRN] Unhandled exception rendering component: 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.AspNetCore.Components.Web.LeptonXTheme.Components.ApplicationLayout.SideMenu.Navigation.MobileNavbar.BuildRenderTree(RenderTreeBuilder __builder) at Microsoft.AspNetCore.Components.ComponentBase.<.ctor>b__6_0(RenderTreeBuilder builder) at Microsoft.AspNetCore.Components.Rendering.ComponentState.RenderIntoBatch(RenderBatchBuilder batchBuilder, RenderFragment renderFragment, Exception& renderFragmentException) 2024-07-03 14:56:18.246 +05:30 [ERR] Unhandled exception in circuit 'w-VW2zQjg073f-xPA9wm8YUgTmiFF4TeEJjpiX2JRxo'. System.NullReferenceException: Object reference not set to an instance of an object. at Volo.Abp.AspNetCore.Components.Web.LeptonXTheme.Components.ApplicationLayout.SideMenu.Navigation.MobileNavbar.BuildRenderTree(RenderTreeBuilder __builder) at Microsoft.AspNetCore.Components.ComponentBase.<.ctor>b__6_0(RenderTreeBuilder builder) at Microsoft.AspNetCore.Components.Rendering.ComponentState.RenderIntoBatch(RenderBatchBuilder batchBuilder, RenderFragment renderFragment, Exception& renderFragmentException) 2024-07-03 14:56:18.301 +05:30 [DBG] PermissionStore.GetCacheItemAsync: pn:U,pk:21427567-dc61-a262-86d9-
-
0
After log in , this happens and when reloaded, the home page appears
-
0
Hi,
looks like a problem.
Could you share the full steps to reproduce the problem? i will check it. thanks
-
0
- Create a solution in abp suite
- Add a Module to solution (Create a New Module in Suite)
- Add the Module path to the Abp Suite
- Generate entity in Abp suite Crud Page Generator in the New Module
- Log in and you can find the reload error
I am using Abp commercial
Thanks
-
0
thanks. i will check it
-
0
Add a Module to solution (Create a New Module in Suite)
How do you add it?
BTW, you can share a simple project with me, and I will check it. my email is shiwei.liang@volosoft.com
-
0
Hi, I mailed you from Ambilismadhavan@gmail.com. kindly check.
-
0
Hi,
I received the email, but I can't download it. Could you send it again with https://wetransfer.com/. thanks.
-
0
Hi, Shared it, please check
-
0
Hi,
This is a bug, we will fix it in the next patch version.
This is a temporary solution
@using Volo.Abp.AspNetCore.Components.Web.LeptonXTheme.Components.ApplicationLayout.Common @using Volo.Abp.AspNetCore.Components.Web.LeptonXTheme.Components.ApplicationLayout.SideMenu.Navigation @using Volo.Abp.DependencyInjection @using Volo.Abp.Ui.Branding @inject IBrandingProvider BrandingProvider @inherits Volo.Abp.AspNetCore.Components.Web.LeptonXTheme.Components.ApplicationLayout.SideMenu.Navigation.MobileNavbar @attribute [ExposeServices(typeof(MobileNavbar))] <div class="lpx-mobile-navbar-container"> <div class="lpx-mobile-navbar"> <div class="lpx-mobile-nav-tab-left"> <ul class="lpx-mobile-nav-tabs"> @if(SelectedMenuItems is not null) { foreach (var viewModel in SelectedMenuItems) { <li class="lpx-mobile-nav-tab"> <a id="@viewModel.MenuItem.ElementId" href="@viewModel.MenuItem.Url" target="@viewModel.MenuItem.Target" class="lpx-mobile-nav-item @viewModel.MenuItem.CssClass"> <i class="menu-item-icon @viewModel.MenuItem.Icon" aria-hidden="true"></i> <span class="mobile-item-text">@viewModel.MenuItem.DisplayName</span> </a> </li> } } </ul> <div class="lpx-mobile-nav-tab-center"> <a href="javascript:void(0)" class="lpx-mobile-hamburger" data-lpx-mobile-menu-toggle="routes"> <span class="hamburger-icon" aria-hidden="true"> <span class="icon-part"></span> <span class="icon-part"></span> <span class="icon-part"></span> <span class="icon-part"></span> <span class="icon-part"></span> <span class="icon-part"></span> </span> </a> </div> <div class="lpx-mobile-nav-tab-right"> <ul class="lpx-mobile-nav-tabs"> <li class="lpx-mobile-nav-tab"> <a class="lpx-mobile-nav-item" data-lpx-mobile-menu-toggle="settings"> <i class="menu-item-icon bi bi-gear-wide-connected" aria-hidden="true"></i> <span class="mobile-item-text">@L["Settings"]</span> </a> </li> <li class="lpx-mobile-nav-tab"> <AuthorizeView> <Authorized> <a class="lpx-mobile-nav-item" data-lpx-mobile-menu-toggle="user"> <div class="lpx-avatar"> <img class="lpx-avatar-img" src="@ProfileImageUrl" alt="@CurrentUser.UserName avatar" /> </div> <span class="mobile-item-text">@CurrentUser.UserName</span> </a> </Authorized> <NotAuthorized> <a href="@LoginLink" class="lpx-mobile-nav-item"> <i class="menu-item-icon bi bi-person-fill" aria-hidden="true"></i> <span class="mobile-item-text">@L["Login"]</span> </a> </NotAuthorized> </AuthorizeView> </li> </ul> </div> </div> </div> <div class="lpx-mobile-menu hidden"> <div class="lpx-logo-container"> <a href=""> <div class="lpx-brand-logo"></div> @if(BrandingProvider.LogoUrl.IsNullOrEmpty()) { <div class="lpx-brand-name">@BrandingProvider.AppName</div> } </a> </div> <ul class="lpx-nav-menu d-none" data-lpx-mobile-menu="routes"> <MainMenu /> </ul> <ul class="lpx-nav-menu d-none" data-lpx-mobile-menu="settings"> <MobileGeneralSettings /> </ul> <ul class="lpx-nav-menu d-none" data-lpx-mobile-menu="user"> <div class="d-flex ps-3 pe-3"> <div class="lpx-avatar me-2"> <img class="lpx-avatar-img" src="@ProfileImageUrl" alt="@CurrentUser.UserName avatar" /> </div> <div class="d-flex flex-column" style="line-height: normal"> <span class="lpx-context-menu-user-name">@CurrentUser.Name @CurrentUser.SurName</span> @if (CurrentTenant.IsAvailable) { <span class="lpx-context-menu-user-tenant">@CurrentTenant.Name</span> } <span class="lpx-context-menu-user-email">@CurrentUser.Email</span> </div> </div> @if (UserMenu != null) { foreach (var menuItem in UserMenu.Items) { <li class="outer-menu-item"> <a class="lpx-menu-item-link lpx-menu-item @menuItem.CssClass" href="@menuItem.Url?.TrimStart('/', '~')" target="@menuItem.Target" id="@menuItem.ElementId"> <span class="lpx-menu-item-icon"><i class="lpx-icon @menuItem.Icon" aria-hidden="true"></i></span> <span class="lpx-menu-item-text hidden-in-hover-trigger">@menuItem.DisplayName</span> </a> </li> } } <li><hr class="my-2"></li> @if (Toolbar != null) { foreach (var item in Toolbar.Items) { if(item.ComponentType.Name == "MainHeaderToolbarUserMenu") { continue; } <div class="outer-menu-item"> <DynamicComponent Type="@item.ComponentType" /> </div> } } </ul> </div> </div>
-
0
You can upgrade the leptonx package to
3.1.4
-
0
Thanks a lot.
-
0
Where should i create that
-
0
I got it. Thanks
-
0
Reload disappeared but the admin on the right side bar is not working, m not able to log out.
-
0
Hi,
i could not reproduce the problem
-
0
Hi, It wasnt working before. After restarting the system, it works now. Thanks
-
0
okay