Parameter name issue when launched from springboot dashboard

Open
#394 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
45/100
Issue type
Bug
Clarity
Needs clarification
Activity status
Quiet
Tech stack
java, spring-boot, typescript
Domain
devtools

Research direction

Start by reproducing the application launch from the Spring Boot Dashboard and compare it with the terminal Gradle launch using the shown JavaCompile configuration. Trace how the dashboard starts the application; done means dashboard-launched applications retain parameter names and no longer raise the reported IllegalArgumentException.

Written by the indexing model from the issue text.

Description

ai-triaged bug

Servlet.service() for servlet [dispatcherServlet] in context with path [] threw exception [Request processing failed: java.lang.IllegalArgumentException: Name for argument of type [com.admin.provider.model.SourceType] not specified, and parameter name information not available via reflection. Ensure that the compiler uses the '-parameters' flag.] with root cause

This works fine with compiled from terminal using gradle config

tasks.withType(JavaCompile).configureEach {
options.compilerArgs += ['-parameters']
}

Dominant language
TypeScript
Stars
73
Forks
38
Avg merge
3d 5h
Merged PRs (30d)
15

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from microsoft/vscode-spring-boot-dashboard

All issues in microsoft/vscode-spring-boot-dashboard

Similar issues

More TypeScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.