Major intellij bug in latest AS

104 views
Skip to first unread message

Diego Costantini

unread,
May 30, 2014, 5:16:32 AM5/30/14
to adt...@googlegroups.com
Hi,
I just updated to 0.5.9 and cannot sync gradle because of this bug:
http://youtrack.jetbrains.com/issue/IDEA-125592

I applied the fix posted there, the sync proceeded further and led me to another possible bug that I will explain in a separate thread.

It would be nice to have a minor update of AS with such fix for all the people using the eachDependency method

Alex Ruiz

unread,
May 30, 2014, 3:11:35 PM5/30/14
to adt...@googlegroups.com
Thanks, Diego for reporting this. I'll follow up with the IDEA folks about the fix, and have it applied in the next version of Studio.


--
You received this message because you are subscribed to the Google Groups "adt-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to adt-dev+u...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Alex Ruiz

unread,
Jun 2, 2014, 2:27:23 AM6/2/14
to adt...@googlegroups.com
Diego, what is the other bug you found? (Sorry I missed that from your original e-mail.)

Diego Costantini

unread,
Jun 2, 2014, 3:55:46 AM6/2/14
to adt...@googlegroups.com
Hi Alex,
I did not open the bug because I could not reproduce it.
But here is what happened:
after updating to 0.5.9, during the gradle sync, it told me that a module needed to be added (to the settings.gradle I guess), so I added it, and the sync failed due to the eachDependency bug.
At that point, the above issue was there again, and when clicking it I would see my modules greyed out but not selectable.
This was consistent until I reverted the first change it did on the settings.gradle, then all was fine.

Alex Ruiz

unread,
Jun 2, 2014, 10:58:14 AM6/2/14
to adt...@googlegroups.com
Thanks, Diego. Just to understand what happened (even though it is not reproducible anymore, but I'm still curious) I'm going to find where in the code we are asking users to add modules.

BTW, the nice folks from JetBrains pointed out the commits that fixed the bug you mentioned. We will be including the fix as well.

Diego Costantini

unread,
Jun 2, 2014, 1:02:35 PM6/2/14
to adt...@googlegroups.com
good to know, thanks!

just to add more details, what exactly happened (and perhaps not only once) was:
1 - sync gradle
2 - during sync i opened a file and got the add module suggestion
3 - added and clicked ok while still syncing
4 - sync failed eventually
5 - sync again and from that moment it always failed until i reverted settings.gradle, so perhaps that is the problem

I have an application in a gradle container (with settings.gradle), and that references a library which is as well within another container (with settings.gradle) which is a git submodule.
In order to be able to build both the containers in CI, I had to create aliases for some subproject, and AS seems to misunderstand that.
If you want I can provide an example in the next days.


--
You received this message because you are subscribed to a topic in the Google Groups "adt-dev" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/adt-dev/JzkLu35MaC8/unsubscribe.
To unsubscribe from this group and all its topics, send an email to adt-dev+u...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages