Skip to content

Unable to view beans for multiple modules in version v1.55 #1271

Closed
@Joshuahope

Description

@Joshuahope

Version: v1.55 Environment:
OS: Windows
JDK: 21
SpringBoot: 2.1.18.RELEASE
Steps to Reproduce:
Open a multi-module project in VSCode.
After the build is complete, unable to view all beans for the second module.
Expected Result: Expected to see all beans for the second module in the Spring Boot Tools extension.

Actual Result: The Spring Boot Tools extension only shows beans for the first module and fails to display beans for the second module. There are no error messages displayed in the UI, but the functionality is not working as expected.

Additional Information:
The issue does not occur in version v1.54, where beans for multiple modules are visible.
There might be a regression in the latest version that affects the display of beans in multi-module projects.

Error Message:
ERROR o.s.i.v.boot.app.SpringSymbolIndex - {}
java.lang.NullPointerException: Cannot invoke "org.eclipse.jdt.core.dom.Expression.resolveTypeBinding()" because the return value of "org.eclipse.jdt.core.dom.ReturnStatement.getExpression()" is null
at org.springframework.ide.vscode.boot.java.reconcilers.PreciseBeanTypeReconciler$1.visit(PreciseBeanTypeReconciler.java:119)
at org.springframework.ide.vscode.boot.java.reconcilers.CompositeASTVisitor.visit(CompositeASTVisitor.java:174)
at org.eclipse.jdt.core.dom.ReturnStatement.accept0(ReturnStatement.java:126)
at org.eclipse.jdt.core.dom.ASTNode.accept(ASTNode.java:3269)
at org.eclipse.jdt.core.dom.ASTNode.acceptChildren(ASTNode.java:3340)
at org.eclipse.jdt.core.dom.Block.accept0(Block.java:128)
at org.eclipse.jdt.core.dom.ASTNode.accept(ASTNode.java:3269)

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions