apache / apache/grails-intellij-plugin
IDEA hangs when importing Grails project
- Dominant language
- Java
- Stars
- 17
- Forks
- 4
- Avg merge
- 5d 15h
- Merged PRs (30d)
- 4
Description
Support feedback:
Working on a project for a client, IDEA crashes upon opening project with module inside.
The environment below matches the clients module dependencies - but symptom can be reproduced with: grails create-app
- The environment:
Fresh install of Ubuntu 16.04.1 (64-bit) on Asus NX500JK.
Grails v2.4.5 installed via sdkman and set to default.
~$ uname -a
Linux 4.4.0-38-generic #57-Ubuntu SMP Tue Sep 6 15:42:33 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux
~$ java -version
java version "1.7.0_80"
Java(TM) SE Runtime Environment (build 1.7.0_80-b15)
Java HotSpot(TM) 64-Bit Server VM (build 24.80-b11, mixed mode)
~$ grails -version
Grails version: 2.4.5
- Creating project that will trigger symptom:
~/projects/project_ideaIU-2016_2_4$ grails create-app grails_2_4_5_scratchpad –skip-wrapper
~/projects/project_ideaIU-2016_2_4/grails_2_4_5_scratchpad$ grails create-controller Scratch
- IntelliJ IDEA "setup"
Download and unpack latest stable IntelliJ IDEA 2016.2.4 (162.2032)
Start via terminal in-order to hopefully spot error via output.
~/tool/intellij_idea/ideaIU-2016.2.4/bin$ ./idea.sh &
[1] 7386
Following steps are in the UI:
Complete installation, choose: I do not have a previous... -> ok.
Inserted activation code ->
Since it's a fresh install: skip all - set defaults
Import project -> selected folder: ~/projects/project_ideaIU-2016_2_4
Create project from existing sources -> next.
Project name, left unchanged -> next.
Source etc, project_ideaIU-2016_2_4 is listed as Content and grails_2_4_5_scratchpad is listed as Grails -> next.
Project SDK, choose JDK: /usr/lib/jvm/java-7-oracle -> next.
Grails SDK home, choose: ~/.sdkman/candidates/grails/2.4.5 -> next.
Frameworks, left unchanged -> finish.
Close tool tip.
IDEA seems to be indexing - spinner is spinning.
When the UI changes to "2 processes running ..." the UI becomes unresponsive, tried leaving it for app 10m - doesn't recover.
---
*Imported from [IDEA-162494](https://youtrack.jetbrains.com/issue/IDEA-162494) · Type: Bug · Votes: 1*
*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
Reproduce the hang with `grails create-app`, `grails create-controller Scratch`, and IntelliJ IDEA 2016.2.4 using the Grails 2.4.5 SDK and Java 7 on Ubuntu 16.04. Start by observing indexing and the point where the UI reports two processes running. Done means the project imports and the IDEA UI remains responsive.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java, ubuntu
- Domain
- developer-experience, tooling
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Active
- Clarity
- Mostly clear
- Newbie friendliness
- 42/100