Open Closed

'Volo.Abp.EventBus.Distributed.IDistributedEventBus' error after upgrade to 7.3.2 #5744


User avatar
0
rsg160 created
  • ABP Framework version: v7.3.2
  • UI Type: MVC
  • Database System: EF Core (SQL Server)
  • **Tiered (for MVC) **: yes
  • Exception message and full stack trace:
  • Unhandled exception. System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.TypeLoadException: Could not load type 'Volo.Abp.EventBus.Distributed.IDistributedEventBus' from assembly 'Volo.Abp.EventBus, Version=7.3.2.0, Culture=neutral, PublicKeyToken=null'. at System.Signature.GetSignature(Void* pCorSig, Int32 cCorSig, RuntimeFieldHandleInternal fieldHandle, IRuntimeMethodInfo methodHandle, RuntimeType declaringType) at System.Reflection.RuntimeConstructorInfo.<get_Signature>g__LazyCreateSignature|21_0() at System.Reflection.RuntimeConstructorInfo.GetParametersNoCopy() at System.Reflection.RuntimeConstructorInfo.GetParameters() at Autofac.Core.Activators.Reflection.ConstructorBinder..ctor(ConstructorInfo constructorInfo) at Autofac.Core.Activators.Reflection.ReflectionActivator.ConfigurePipeline(IComponentRegistryServices componentRegistryServices, IResolvePipelineBuilder pipelineBuilder) at Autofac.Core.Registration.ComponentRegistration.BuildResolvePipeline(IComponentRegistryServices registryServices, IResolvePipelineBuilder pipelineBuilder) at Autofac.Core.Registration.ComponentRegistration.BuildResolvePipeline(IComponentRegistryServices registryServices) at Autofac.Core.Registration.ComponentRegistryBuilder.Build() at Autofac.ContainerBuilder.Build(ContainerBuildOptions options) at Volo.Abp.Autofac.AbpAutofacServiceProviderFactory.CreateServiceProvider(ContainerBuilder containerBuilder) at Microsoft.Extensions.DependencyInjection.ServiceCollectionCommonExtensions.BuildServiceProviderFromFactory[TContainerBuilder](IServiceCollection services, Action`1 builderAction) at System.RuntimeMethodHandle.InvokeMethod(Object target, Void** arguments, Signature sig, Boolean isConstructor) at System.Reflection.MethodInvoker.Invoke(Object obj, IntPtr* args, BindingFlags invokeAttr) --- End of inner exception stack trace --- at System.Reflection.MethodInvoker.Invoke(Object obj, IntPtr* args, BindingFlags invokeAttr) at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture) at System.Reflection.MethodBase.Invoke(Object obj, Object[] parameters) at Microsoft.Extensions.DependencyInjection.ServiceCollectionCommonExtensions.BuildServiceProviderFromFactory(IServiceCollection services) at Volo.Abp.AbpApplicationWithInternalServiceProvider.CreateServiceProvider() at Volo.Abp.AbpApplicationWithInternalServiceProvider.InitializeAsync() at SA.ABP.DbMigrator.DbMigratorHostedService.StartAsync(CancellationToken cancellationToken) in C:\ABP\SA.ABP\src\SA.ABP.DbMigrator\DbMigratorHostedService.cs:line 34 at Microsoft.Extensions.Hosting.Internal.Host.StartAsync(CancellationToken cancellationToken) at Microsoft.Extensions.Hosting.HostingAbstractionsHostExtensions.RunAsync(IHost host, CancellationToken token) at Microsoft.Extensions.Hosting.HostingAbstractionsHostExtensions.RunAsync(IHost host, CancellationToken token) at SA.ABP.DbMigrator.Program.Main(String[] args) in C:\ABP\SA.ABP\src\SA.ABP.DbMigrator\Program.cs:line 28 at SA.ABP.DbMigrator.Program.
    (String[] args)
  • Steps to reproduce the issue:

hard to reproduce, the error shows up after the inclusion of a in house developed module


3 Answer(s)
  • User Avatar
    0
    maliming created
    Support Team Fullstack Developer

    hi

    hard to reproduce, the error shows up after the inclusion of a in house developed module

    You can check your source code, I think they used the inconsistent Nuget packages of abp&volo&lepton.

  • User Avatar
    0
    rsg160 created

    can you please elaborate, a little bit more, please? We aren't using any abp packages, only Volo.Abp and leptonX 2.3.2

  • User Avatar
    0
    maliming created
    Support Team Fullstack Developer

    Can you share the project? include reproduce stes I can download and check it locally.

    liming.ma@volosoft.com

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