Can't "Create or update Idea Project files" after upgrade to platform 6.5.6

Hello

I can’t “Create or update Idea Project files” from the build menu after upgrade to platform 6.5.6.
Got the error:
[18:51:07.191] Task ‘idea’ failed
org.xml.sax.SAXParseException; Premature end of file.

Thanks

Similar error here ;


[23:10:15.663] Creating/updating IDEA project files
:ideaModule
:ideaProject
:ideaWorkspace FAILED
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':ideaWorkspace'.
> No such field: size for class: org.codehaus.groovy.runtime.NullObject
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
BUILD FAILED
Total time: 0.2 secs
[23:10:15.905] Task 'idea' failed
groovy.lang.MissingFieldException: No such field: size for class: org.codehaus.groovy.runtime.NullObject 

Messages
Clear

Hi Gianluca,

Yes, I got those errors too in the process.
I was able to solve my problem deleting (manually, the “Remove Idea Files” from Studio Build Menu didn´t solve) the file .iws in that folder.
After that the action “Create or Update IDEA project files” completed sucessfully and the above file was recreated.
And all seems well now and I can debug the project in IntelliJ

Greetings

Hi,
The issue is not related with a new CUBA release. It is caused by IntelliJ Idea 2017.2 update. JetBrains developers have changed .iws file format and partially broke our .iws generation. The issue has been fixed and the fix will be released in 6.5.7 and 6.6.0 CUBA versions.

Hi Yuriy

Confirm, I updated IntelliJ to 2017.2 almost immediately before or after 6.5.6.

Thanks,

:ticket: See the following issue in our bug tracker:

https://youtrack.cuba-platform.com/issue/PL-9418