Rubberduck version information
The info below can be copy-paste-completed from the first lines of Rubberduck's log or the About box:
Rubberduck version 2.5.9.6316
Operating System: Win 7 32bit
Description
I can successfully create the test module but once done I cannot create any test method because the option is grayed out. if I add one manually then I don't have it in the test list in the test explorer. This happens only to big projects but not in small ones.
Expected behavior
The option test method should be available
Screenshots
Logfile
2024-08-18 15:34:12.2078;WARN-2.5.9.6316;Rubberduck.Parsing.VBA.ReferenceManagement.CompilationPasses.TypeHierarchyPass;Failed to resolve interface Form3.;
2024-08-18 15:34:12.2078;WARN-2.5.9.6316;Rubberduck.Parsing.VBA.ReferenceManagement.CompilationPasses.TypeHierarchyPass;Failed to resolve interface _Form_MskInsuranceCL.;
2024-08-18 15:34:12.2078;WARN-2.5.9.6316;Rubberduck.Parsing.VBA.ReferenceManagement.CompilationPasses.TypeHierarchyPass;Failed to resolve interface Form3.;
2024-08-18 15:34:12.2078;ERROR-2.5.9.6316;Rubberduck.Parsing.VBA.ReferenceManagement.ReferenceResolveRunnerBase;Exception thrown on resolving those modules: 'xxxxx.TestModule4,xxxxx.Utility3,xxxx.basOGL,(thread 43).;System.NullReferenceException: Riferimento a un oggetto non impostato su un'istanza di oggetto.
in Rubberduck.Parsing.Symbols.Identifier.GetIdentifierValueContext(IdentifierContext context)
in Rubberduck.Parsing.Binding.SimpleNameTypeBinding.Resolve()
in Rubberduck.Parsing.Binding.TypeBindingContext.Resolve(Declaration module, Declaration parent, ParserRuleContext expression, IBoundExpression withBlockVariable, StatementResolutionContext statementContext, Boolean requiresLetCoercion, Boolean isLetAssignment)
in Rubberduck.Parsing.Binding.BindingService.ResolveType(Declaration module, Declaration parent, ParserRuleContext expression)
in Rubberduck.Parsing.VBA.ReferenceManagement.CompilationPasses.TypeHierarchyPass.AddImplementedInterface(Declaration potentialClassModule)
in Rubberduck.Parsing.VBA.ReferenceManagement.CompilationPasses.TypeHierarchyPass.Execute(IReadOnlyCollection1 modules) in Rubberduck.Parsing.VBA.ReferenceManagement.ReferenceResolveRunnerBase.<>c__DisplayClass12_0.<ExecuteCompilationPasses>b__0(ICompilationPass p) in System.Collections.Generic.List1.ForEach(Action1 action) in Rubberduck.Parsing.VBA.ReferenceManagement.ReferenceResolveRunnerBase.ExecuteCompilationPasses(IReadOnlyCollection1 modules, CancellationToken token)
Rubberduck version information The info below can be copy-paste-completed from the first lines of Rubberduck's log or the About box:
Description I can successfully create the test module but once done I cannot create any test method because the option is grayed out. if I add one manually then I don't have it in the test list in the test explorer. This happens only to big projects but not in small ones.
Expected behavior The option test method should be available
Screenshots
Logfile 2024-08-18 15:34:12.2078;WARN-2.5.9.6316;Rubberduck.Parsing.VBA.ReferenceManagement.CompilationPasses.TypeHierarchyPass;Failed to resolve interface Form3.; 2024-08-18 15:34:12.2078;WARN-2.5.9.6316;Rubberduck.Parsing.VBA.ReferenceManagement.CompilationPasses.TypeHierarchyPass;Failed to resolve interface _Form_MskInsuranceCL.; 2024-08-18 15:34:12.2078;WARN-2.5.9.6316;Rubberduck.Parsing.VBA.ReferenceManagement.CompilationPasses.TypeHierarchyPass;Failed to resolve interface Form3.; 2024-08-18 15:34:12.2078;ERROR-2.5.9.6316;Rubberduck.Parsing.VBA.ReferenceManagement.ReferenceResolveRunnerBase;Exception thrown on resolving those modules: 'xxxxx.TestModule4,xxxxx.Utility3,xxxx.basOGL,(thread 43).;System.NullReferenceException: Riferimento a un oggetto non impostato su un'istanza di oggetto. in Rubberduck.Parsing.Symbols.Identifier.GetIdentifierValueContext(IdentifierContext context) in Rubberduck.Parsing.Binding.SimpleNameTypeBinding.Resolve() in Rubberduck.Parsing.Binding.TypeBindingContext.Resolve(Declaration module, Declaration parent, ParserRuleContext expression, IBoundExpression withBlockVariable, StatementResolutionContext statementContext, Boolean requiresLetCoercion, Boolean isLetAssignment) in Rubberduck.Parsing.Binding.BindingService.ResolveType(Declaration module, Declaration parent, ParserRuleContext expression) in Rubberduck.Parsing.VBA.ReferenceManagement.CompilationPasses.TypeHierarchyPass.AddImplementedInterface(Declaration potentialClassModule) in Rubberduck.Parsing.VBA.ReferenceManagement.CompilationPasses.TypeHierarchyPass.Execute(IReadOnlyCollection
1 modules) in Rubberduck.Parsing.VBA.ReferenceManagement.ReferenceResolveRunnerBase.<>c__DisplayClass12_0.<ExecuteCompilationPasses>b__0(ICompilationPass p) in System.Collections.Generic.List
1.ForEach(Action1 action) in Rubberduck.Parsing.VBA.ReferenceManagement.ReferenceResolveRunnerBase.ExecuteCompilationPasses(IReadOnlyCollection
1 modules, CancellationToken token)