Error occurs when upgrading platform from 6.4 to 6.5.3

here is the log:

[11:18:59.187] Stopping the application server[11:19:03.402] Error migrating to 6.5.3[11:19:03.405] build.gradle:35:114: expecting anything but ‘’\n’’; got it anywayat org.codehaus.groovy.antlr.parser.GroovyLexer.nextToken(GroovyLexer.java:728)at org.codehaus.groovy.antlr.parser.GroovyLexer$1.nextToken(GroovyLexer.java:262)at groovyjarjarantlr.TokenBuffer.fill(TokenBuffer.java:69)at groovyjarjarantlr.TokenBuffer.LA(TokenBuffer.java:80)at groovyjarjarantlr.LLkParser.LA(LLkParser.java:52)at org.codehaus.groovy.antlr.parser.GroovyRecognizer.postfixExpression(GroovyRecognizer.java:13431)at org.codehaus.groovy.antlr.parser.GroovyRecognizer.unaryExpressionNotPlusMinus(GroovyRecognizer.java:13379)at org.codehaus.groovy.antlr.parser.GroovyRecognizer.powerExpressionNotPlusMinus(GroovyRecognizer.java:13083)at org.codehaus.groovy.antlr.parser.GroovyRecognizer.multiplicativeExpression(GroovyRecognizer.java:13015)at org.codehaus.groovy.antlr.parser.GroovyRecognizer.additiveExpression(GroovyRecognizer.java:12685)at org.codehaus.groovy.antlr.parser.GroovyRecognizer.shiftExpression(GroovyRecognizer.java:9921)at org.codehaus.groovy.antlr.parser.GroovyRecognizer.relationalExpression(GroovyRecognizer.java:12590)at org.codehaus.groovy.antlr.parser.GroovyRecognizer.equalityExpression(GroovyRecognizer.java:12514)at org.codehaus.groovy.antlr.parser.GroovyRecognizer.regexExpression(GroovyRecognizer.java:12462)at org.codehaus.groovy.antlr.parser.GroovyRecognizer.andExpression(GroovyRecognizer.java:12430)at org.codehaus.groovy.antlr.parser.GroovyRecognizer.exclusiveOrExpression(GroovyRecognizer.java:12398)at org.codehaus.groovy.antlr.parser.GroovyRecognizer.inclusiveOrExpression(GroovyRecognizer.java:12366)at org.codehaus.groovy.antlr.parser.GroovyRecognizer.logicalAndExpression(GroovyRecognizer.java:12334)at org.codehaus.groovy.antlr.parser.GroovyRecognizer.logicalOrExpression(GroovyRecognizer.java:12302)

upgrade_error

Hi,
Which version of Studio do you use? I tried to reproduce the issue on 6.5.2 and 6.5.0 but did not succeed.
Try to get the latest Studio from the download page and migrate the project with it, as the issue might be fixed there.
Could you also share the resulting build.gradle. Assumably the problem is caused by the “copyright” block and dot at the end of “$today.year.”.

ide {

        vcs = 'Git'
        copyright = '''Copyright (c) $today.year.
[url=http://www.esb-foods.com]http://www.esb-foods.com[/url] ESB Shanghai. All rights reserved.
注意:本内容仅限于xxx公司内部传阅,禁止外泄以及用于其他的商业目的'''
        classComment = '''/**
 * For Project ${PROJECT_NAME}
 * Created by ${USER} on ${DATE}.
 */'''
    }

Hi Rostislav,

I have removed that dot, it is working fine now.

Thank you very much

Gabriel

Hi,
Did the error occur only once or is it persistent?
Could you share the build.gradle in the state it was before the migration?

Hi Rostislav,

It is persistent, I have tried several times.

PFA for the build.gradle file.

build.zip (2.1K)