Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

lsp-jt-run not works #454

Open
lazyskulptor opened this issue Sep 16, 2023 · 0 comments
Open

lsp-jt-run not works #454

lazyskulptor opened this issue Sep 16, 2023 · 0 comments

Comments

@lazyskulptor
Copy link

Describe the bug
lsp-jt-run not works

Note
My environment Apple m2 pro, macOS 13.5.2 (22G91)
Emacs version is Emacs-plus 28 with-native-comp

To Reproduce
Try to execute command by key x or direct on M-x
and it returns message (wrong-type-argument hash-talbe-p nil)

Expected behavior
Test is run

Logs
Please include the debug stack trace (if there is an error) and the content of Messages buffer with lsp-print-io set to t in case the bug is related to client->server communication.
This is my lsp session

 |     |-[-] executeCommandProvider:
 |     |  `-[X] commands: [vscode.java.checkProjectSettings vscode.java.isOnClasspath java.project.list vscode.java.fetchUsageData 
java.navigate.openTypeHierarchy vscode.java.test.search.items.all java.edit.handlePasteEvent sts.java.hierarchy.supertypes 
java.edit.stringFormatting sts.java.hierarchy.subtypes vscode.java.resolveMainClass vscode.java.test.search.location 
vscode.java.buildWorkspace vscode.java.resolveJavaExecutable sts.java.type java.project.refreshDiagnostics 
vscode.java.resolveInlineVariables java.project.listSourcePaths sts.java.search.packages java.project.getClasspaths 
java.project.updateSourceAttachment vscode.java.resolveClasspath vscode.java.resolveBuildFiles java.decompile 
vscode.java.resolveSourceUri vscode.java.test.search.items vscode.java.fetchPlatformSettings 
java.project.resolveSourceAttachment sts.java.removeClasspathListener java.project.addToSourcePath 
java.completion.onDidSelect vscode.java.startDebugSession java.project.import vscode.java.validateLaunchConfig 
java.project.resolveStackTraceLocation vscode.java.test.junit.argument vscode.java.resolveMainMethod java.project.getSettings 
java.project.resolveWorkspaceSymbol sts.java.addClasspathListener java.project.upgradeGradle java.project.createModuleInfo 
vscode.java.test.get.testpath java.resolvePath sts.java.javadoc vscode.java.resolveElementAtSelection 
vscode.java.test.search.codelens java.edit.organizeImports java.project.removeFromSourcePath sts.java.javadocHoverLink 
java.project.getAll java.reloadBundles java.project.isTestFile sts.java.search.types vscode.java.resolveClassFilters 
java.getPackageData java.navigate.resolveTypeHierarchy vscode.java.updateDebugSettings sts.java.location 
java.protobuf.generateSources vscode.java.inferLaunchCommandLength]
[Trace - 12:53:31 PM] Sending request 'workspace/executeCommand - (251)'.
Params: {
  "command": "vscode.java.test.junit.argument",
  "arguments": [
    "{\"classFullName\":\"my.lazyskulptor.commerce.repo.TxManagerTest\",\"scope\":4,\"testName\":\"verifyCommitIsCalled\",\"testKind\":1,\"project\":\"webflux-template-hb\",\"uri\":\"file:///Users/hyeonjunpark/Workspace/personal/webflux-template/src/test/java/my/lazyskulptor/commerce/repo/TxManagerTest.java\",\"start\":{\"line\":31,\"character\":9},\"end\":{\"line\":31,\"character\":29}}"
  ]
}


[Trace - 12:53:31 PM] Received response 'workspace/executeCommand - (251)' in 40ms.
Result: null
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant