apache / apache/grails-intellij-plugin

Gradle-Grails: addiotional Grails Run Configuration options are ignored

Open
#164 0 comments 0 reactions 0 assignees View on GitHub
bug imported-from-youtrack
Dominant language
Java
Stars
17
Forks
4
Avg merge
5d 15h
Merged PRs (30d)
4

Description

**Build 138.1283.3**

Create a Grails project with no Gradle.
In created Run Configuration add some invalid VM option (say, -fghfgh).
Run the application - it fails with the error:
```
Error: Could not create the Java Virtual Machine.
Error: A fatal exception has occurred. Program will exit.
Unrecognized option: -fghfgh
```
Now do the same in a Grails+Gradle project - application successfully starts.

---

*Imported from [IDEA-127791](https://youtrack.jetbrains.com/issue/IDEA-127791) · Type: Bug · Votes: 0*
*Comments, attachments, dates and reporter are not part of the export — follow the link above for the full history.*

Contributor guide

No contributing guide indexed for this repository

Research direction

No files or tests are named. Reproduce the invalid VM-option case in both a plain Grails project and a Grails+Gradle project, then trace the run-configuration entry point handling additional options. Done means the Gradle-backed configuration passes the option to the JVM and reports the same invalid-option failure instead of starting successfully.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
tooling
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Active
Clarity
Mostly clear
Newbie friendliness
65/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.