You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Right-click on a Java method name and "Show Call Hierarchy". No calls from or to the method are displayed. This occurs for any method in my workspace, regardless of how many calls into/out of the method exist in the project. Other operations on Java symbols are similarly hosed ("Go To Declaration/Reference/Type Declaration/Implementation/...,", "Find All References/Implementations").
Java Server Mode in the status bar reads: "Java: Background task - 0%" (forever).
Exception reported in ...\readhat.java\jdt_ws.metadata.log:
[Error - 9:16:09 AM] Request callHierarchy/outgoingCalls failed.
Message: Internal error.
Code: -32603
java.util.concurrent.CompletionException: java.lang.NullPointerException: Cannot read the array length because "superPermittedTypes" is null
at java.base/java.util.concurrent.CompletableFuture.encodeThrowable(CompletableFuture.java:315)
at java.base/java.util.concurrent.CompletableFuture.completeThrowable(CompletableFuture.java:320)
at java.base/java.util.concurrent.CompletableFuture$UniApply.tryFire(CompletableFuture.java:649)
at java.base/java.util.concurrent.CompletableFuture$Completion.exec(CompletableFuture.java:483)
at java.base/java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:373)
at java.base/java.util.concurrent.ForkJoinPool$WorkQueue.topLevelExec(ForkJoinPool.java:1182)
at java.base/java.util.concurrent.ForkJoinPool.scan(ForkJoinPool.java:1655)
at java.base/java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1622)
at java.base/java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:165)
Caused by: java.lang.NullPointerException: Cannot read the array length because "superPermittedTypes" is null
at org.eclipse.jdt.internal.compiler.lookup.SourceTypeBinding.checkPermitsAndAdd(SourceTypeBinding.java:1346)
at org.eclipse.jdt.internal.compiler.lookup.SourceTypeBinding.checkPermitsInType(SourceTypeBinding.java:1202)
at org.eclipse.jdt.internal.compiler.lookup.SourceTypeBinding.faultInTypesForFieldsAndMethods(SourceTypeBinding.java:1116)
at org.eclipse.jdt.internal.compiler.lookup.CompilationUnitScope.faultInTypes(CompilationUnitScope.java:608)
at org.eclipse.jdt.internal.codeassist.SelectionEngine.selectType(SelectionEngine.java:1685)
at org.eclipse.jdt.internal.core.NamedMember.resolveType(NamedMember.java:332)
at org.eclipse.jdt.internal.core.NamedMember.resolveType(NamedMember.java:274)
at org.eclipse.jdt.internal.corext.dom.Bindings.sameParameter(Bindings.java:1103)
at org.eclipse.jdt.internal.corext.dom.Bindings.sameParameters(Bindings.java:1074)
at org.eclipse.jdt.internal.corext.dom.Bindings.findMethod(Bindings.java:1056)
at org.eclipse.jdt.internal.corext.callhierarchy.CalleeAnalyzerVisitor.findIncludingSupertypes(CalleeAnalyzerVisitor.java:309)
at org.eclipse.jdt.internal.corext.callhierarchy.CalleeAnalyzerVisitor.addMethodCall(CalleeAnalyzerVisitor.java:264)
at org.eclipse.jdt.internal.corext.callhierarchy.CalleeAnalyzerVisitor.visit(CalleeAnalyzerVisitor.java:177)
at org.eclipse.jdt.core.dom.MethodInvocation.accept0(MethodInvocation.java:220)
at org.eclipse.jdt.core.dom.ASTNode.accept(ASTNode.java:3334)
at org.eclipse.jdt.core.dom.ASTNode.acceptChild(ASTNode.java:3382)
at org.eclipse.jdt.core.dom.ExpressionStatement.accept0(ExpressionStatement.java:136)
at org.eclipse.jdt.core.dom.ASTNode.accept(ASTNode.java:3334)
at org.eclipse.jdt.core.dom.ASTNode.acceptChildren(ASTNode.java:3405)
at org.eclipse.jdt.core.dom.Block.accept0(Block.java:128)
at org.eclipse.jdt.core.dom.ASTNode.accept(ASTNode.java:3334)
at org.eclipse.jdt.core.dom.ASTNode.acceptChild(ASTNode.java:3382)
at org.eclipse.jdt.core.dom.TryStatement.accept0(TryStatement.java:274)
at org.eclipse.jdt.core.dom.ASTNode.accept(ASTNode.java:3334)
at org.eclipse.jdt.core.dom.ASTNode.acceptChildren(ASTNode.java:3405)
at org.eclipse.jdt.core.dom.Block.accept0(Block.java:128)
at org.eclipse.jdt.core.dom.ASTNode.accept(ASTNode.java:3334)
at org.eclipse.jdt.core.dom.ASTNode.acceptChild(ASTNode.java:3382)
at org.eclipse.jdt.core.dom.MethodDeclaration.accept0(MethodDeclaration.java:677)
at org.eclipse.jdt.core.dom.ASTNode.accept(ASTNode.java:3334)
at org.eclipse.jdt.core.dom.ASTNode.acceptChildren(ASTNode.java:3405)
at org.eclipse.jdt.core.dom.TypeDeclaration.accept0(TypeDeclaration.java:498)
at org.eclipse.jdt.core.dom.ASTNode.accept(ASTNode.java:3334)
at org.eclipse.jdt.core.dom.ASTNode.acceptChildren(ASTNode.java:3405)
at org.eclipse.jdt.core.dom.CompilationUnit.accept0(CompilationUnit.java:258)
at org.eclipse.jdt.core.dom.ASTNode.accept(ASTNode.java:3334)
at org.eclipse.jdt.internal.corext.callhierarchy.CalleeMethodWrapper.findChildren(CalleeMethodWrapper.java:101)
at org.eclipse.jdt.internal.corext.callhierarchy.MethodWrapper.performSearch(MethodWrapper.java:265)
at org.eclipse.jdt.internal.corext.callhierarchy.MethodWrapper.doFindChildren(MethodWrapper.java:196)
at org.eclipse.jdt.internal.corext.callhierarchy.MethodWrapper.getCalls(MethodWrapper.java:87)
at org.eclipse.jdt.internal.corext.callhierarchy.CalleeMethodWrapper.getCalls(CalleeMethodWrapper.java:58)
at org.eclipse.jdt.ls.core.internal.handlers.CallHierarchyHandler.getOutgoingCallItemsAt(CallHierarchyHandler.java:255)
at org.eclipse.jdt.ls.core.internal.handlers.CallHierarchyHandler.callHierarchyOutgoingCalls(CallHierarchyHandler.java:133)
at org.eclipse.jdt.ls.core.internal.handlers.JDTLanguageServer.lambda$54(JDTLanguageServer.java:1183)
at org.eclipse.jdt.ls.core.internal.handlers.JDTLanguageServer.lambda$61(JDTLanguageServer.java:1236)
at java.base/java.util.concurrent.CompletableFuture$UniApply.tryFire(CompletableFuture.java:646)
... 6 more
Extension version: 1.3.1
VS Code version: Code 1.89.1 (dc96b837cf6bb4af9cd736aa3af08cf8279f7685, 2024-05-07T05:13:33.891Z)
OS version: Windows_NT x64 10.0.19045
Modes:
System Info
Item
Value
CPUs
AMD Ryzen 5 5600H with Radeon Graphics (12 x 3294)
Type: Bug
Right-click on a Java method name and "Show Call Hierarchy". No calls from or to the method are displayed. This occurs for any method in my workspace, regardless of how many calls into/out of the method exist in the project. Other operations on Java symbols are similarly hosed ("Go To Declaration/Reference/Type Declaration/Implementation/...,", "Find All References/Implementations").
Java Server Mode in the status bar reads: "Java: Background task - 0%" (forever).
Java Build Status (from Java terminal):
5830c3f5 Synchronizing projects [Done]
de2b951c Validate documents [Done]
237eb853 Publish Diagnostics [Done]
ff24c84c Background task [Done]
d398b79d Update classpath Job [Done]
fb0ecb38 Building [Done]
220bbc2b Reconciling... [Done]
da5af34f Background task [Done]
a80a5517 Building [Done]
030bfe81 Reconciling... [Done]
98a90a67 Background task [Done]
a8508acb Reconciling... [Done]
33527f20 Background task [Done]
a497a11a Updating project configurations [Done]
a4108253 Building [Done]
c9f02ddc Building [Done]
ddb9a44a Register Watchers [Done]
4c4ebf48 Validate documents [Done]
84a22db5 Publish Diagnostics [Done]
e2371775 Building [Done]
60e09ffe Background task - 0%
Exception reported in ...\readhat.java\jdt_ws.metadata.log:
[Error - 9:16:09 AM] Request callHierarchy/outgoingCalls failed.
Message: Internal error.
Code: -32603
java.util.concurrent.CompletionException: java.lang.NullPointerException: Cannot read the array length because "superPermittedTypes" is null
at java.base/java.util.concurrent.CompletableFuture.encodeThrowable(CompletableFuture.java:315)
at java.base/java.util.concurrent.CompletableFuture.completeThrowable(CompletableFuture.java:320)
at java.base/java.util.concurrent.CompletableFuture$UniApply.tryFire(CompletableFuture.java:649)
at java.base/java.util.concurrent.CompletableFuture$Completion.exec(CompletableFuture.java:483)
at java.base/java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:373)
at java.base/java.util.concurrent.ForkJoinPool$WorkQueue.topLevelExec(ForkJoinPool.java:1182)
at java.base/java.util.concurrent.ForkJoinPool.scan(ForkJoinPool.java:1655)
at java.base/java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1622)
at java.base/java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:165)
Caused by: java.lang.NullPointerException: Cannot read the array length because "superPermittedTypes" is null
at org.eclipse.jdt.internal.compiler.lookup.SourceTypeBinding.checkPermitsAndAdd(SourceTypeBinding.java:1346)
at org.eclipse.jdt.internal.compiler.lookup.SourceTypeBinding.checkPermitsInType(SourceTypeBinding.java:1202)
at org.eclipse.jdt.internal.compiler.lookup.SourceTypeBinding.faultInTypesForFieldsAndMethods(SourceTypeBinding.java:1116)
at org.eclipse.jdt.internal.compiler.lookup.CompilationUnitScope.faultInTypes(CompilationUnitScope.java:608)
at org.eclipse.jdt.internal.codeassist.SelectionEngine.selectType(SelectionEngine.java:1685)
at org.eclipse.jdt.internal.core.NamedMember.resolveType(NamedMember.java:332)
at org.eclipse.jdt.internal.core.NamedMember.resolveType(NamedMember.java:274)
at org.eclipse.jdt.internal.corext.dom.Bindings.sameParameter(Bindings.java:1103)
at org.eclipse.jdt.internal.corext.dom.Bindings.sameParameters(Bindings.java:1074)
at org.eclipse.jdt.internal.corext.dom.Bindings.findMethod(Bindings.java:1056)
at org.eclipse.jdt.internal.corext.callhierarchy.CalleeAnalyzerVisitor.findIncludingSupertypes(CalleeAnalyzerVisitor.java:309)
at org.eclipse.jdt.internal.corext.callhierarchy.CalleeAnalyzerVisitor.addMethodCall(CalleeAnalyzerVisitor.java:264)
at org.eclipse.jdt.internal.corext.callhierarchy.CalleeAnalyzerVisitor.visit(CalleeAnalyzerVisitor.java:177)
at org.eclipse.jdt.core.dom.MethodInvocation.accept0(MethodInvocation.java:220)
at org.eclipse.jdt.core.dom.ASTNode.accept(ASTNode.java:3334)
at org.eclipse.jdt.core.dom.ASTNode.acceptChild(ASTNode.java:3382)
at org.eclipse.jdt.core.dom.ExpressionStatement.accept0(ExpressionStatement.java:136)
at org.eclipse.jdt.core.dom.ASTNode.accept(ASTNode.java:3334)
at org.eclipse.jdt.core.dom.ASTNode.acceptChildren(ASTNode.java:3405)
at org.eclipse.jdt.core.dom.Block.accept0(Block.java:128)
at org.eclipse.jdt.core.dom.ASTNode.accept(ASTNode.java:3334)
at org.eclipse.jdt.core.dom.ASTNode.acceptChild(ASTNode.java:3382)
at org.eclipse.jdt.core.dom.TryStatement.accept0(TryStatement.java:274)
at org.eclipse.jdt.core.dom.ASTNode.accept(ASTNode.java:3334)
at org.eclipse.jdt.core.dom.ASTNode.acceptChildren(ASTNode.java:3405)
at org.eclipse.jdt.core.dom.Block.accept0(Block.java:128)
at org.eclipse.jdt.core.dom.ASTNode.accept(ASTNode.java:3334)
at org.eclipse.jdt.core.dom.ASTNode.acceptChild(ASTNode.java:3382)
at org.eclipse.jdt.core.dom.MethodDeclaration.accept0(MethodDeclaration.java:677)
at org.eclipse.jdt.core.dom.ASTNode.accept(ASTNode.java:3334)
at org.eclipse.jdt.core.dom.ASTNode.acceptChildren(ASTNode.java:3405)
at org.eclipse.jdt.core.dom.TypeDeclaration.accept0(TypeDeclaration.java:498)
at org.eclipse.jdt.core.dom.ASTNode.accept(ASTNode.java:3334)
at org.eclipse.jdt.core.dom.ASTNode.acceptChildren(ASTNode.java:3405)
at org.eclipse.jdt.core.dom.CompilationUnit.accept0(CompilationUnit.java:258)
at org.eclipse.jdt.core.dom.ASTNode.accept(ASTNode.java:3334)
at org.eclipse.jdt.internal.corext.callhierarchy.CalleeMethodWrapper.findChildren(CalleeMethodWrapper.java:101)
at org.eclipse.jdt.internal.corext.callhierarchy.MethodWrapper.performSearch(MethodWrapper.java:265)
at org.eclipse.jdt.internal.corext.callhierarchy.MethodWrapper.doFindChildren(MethodWrapper.java:196)
at org.eclipse.jdt.internal.corext.callhierarchy.MethodWrapper.getCalls(MethodWrapper.java:87)
at org.eclipse.jdt.internal.corext.callhierarchy.CalleeMethodWrapper.getCalls(CalleeMethodWrapper.java:58)
at org.eclipse.jdt.ls.core.internal.handlers.CallHierarchyHandler.getOutgoingCallItemsAt(CallHierarchyHandler.java:255)
at org.eclipse.jdt.ls.core.internal.handlers.CallHierarchyHandler.callHierarchyOutgoingCalls(CallHierarchyHandler.java:133)
at org.eclipse.jdt.ls.core.internal.handlers.JDTLanguageServer.lambda$54(JDTLanguageServer.java:1183)
at org.eclipse.jdt.ls.core.internal.handlers.JDTLanguageServer.lambda$61(JDTLanguageServer.java:1236)
at java.base/java.util.concurrent.CompletableFuture$UniApply.tryFire(CompletableFuture.java:646)
... 6 more
Extension version: 1.3.1
VS Code version: Code 1.89.1 (dc96b837cf6bb4af9cd736aa3af08cf8279f7685, 2024-05-07T05:13:33.891Z)
OS version: Windows_NT x64 10.0.19045
Modes:
System Info
canvas_oop_rasterization: enabled_on
direct_rendering_display_compositor: disabled_off_ok
gpu_compositing: enabled
multiple_raster_threads: enabled_on
opengl: enabled_on
rasterization: enabled
raw_draw: disabled_off_ok
skia_graphite: disabled_off
video_decode: enabled
video_encode: enabled
vulkan: disabled_off
webgl: enabled
webgl2: enabled
webgpu: enabled
A/B Experiments
The text was updated successfully, but these errors were encountered: