MCreator 1.8.0-1.9.1: Crash Bug. Please, Help.

Status
Resolved
Issue description

Some letters deleted... because... it russian letters :/

Regenerate code and build:
Executing gradle command: build
Build info: MCreator 1.9.1, 64-bit, 10176 MB, Windows 7 - cmd, JVM 1.8.0_222, JAVA_HOME: C:/Program Files/Pylo/MCreator/jdk/jre
(c) ®® ©Є®® (Microsoft Corp.), 2009. ‚.
I:\MCreator + Exploracraft\Exploracraft>gradlew -Dorg.gradle.java.home="C:/Program Files/Pylo/MCreator/jdk/jre" -Dorg.gradle.parallel=true -Dorg.gradle.jvmargs="-Xms625m -Xmx1048m" build --offline 
Parallel execution is an incubating feature.
FAILURE: Build failed with an exception.
* Where:
Build file 'I:\MCreator + Exploracraft\Exploracraft\build.gradle' line: 10
* What went wrong:
A problem occurred evaluating root project 'Exploracraft'.
> Failed to apply plugin [id 'net.minecraftforge.gradle.forge']
   > java.lang.IllegalStateException: Expected BEGIN_OBJECT but was STRING at line 1 column 1
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
* Get more help at https://help.gradle.org
BUILD FAILED in 1s
I:\MCreator + Exploracraft\Exploracraft>
Task completed with return code 0 in 1453 milliseconds

This action will regenerate base mod source files and build the gradle project:
Executing gradle command: build
Build info: MCreator 1.9.1, 64-bit, 10176 MB, Windows 7 - cmd, JVM 1.8.0_222, JAVA_HOME: C:/Program Files/Pylo/MCreator/jdk/jre
(c)  (Microsoft Corp.), 2009. ‚.
I:\MCreator + Exploracraft\Exploracraft>gradlew -Dorg.gradle.java.home="C:/Program Files/Pylo/MCreator/jdk/jre" -Dorg.gradle.parallel=true -Dorg.gradle.jvmargs="-Xms625m -Xmx1048m" build --offline 
Parallel execution is an incubating feature.
FAILURE: Build failed with an exception.
* Where:
Build file 'I:\MCreator + Exploracraft\Exploracraft\build.gradle' line: 10
* What went wrong:
A problem occurred evaluating root project 'Exploracraft'.
> Failed to apply plugin [id 'net.minecraftforge.gradle.forge']
   > java.lang.IllegalStateException: Expected BEGIN_OBJECT but was STRING at line 1 column 1
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
* Get more help at https://help.gradle.org
BUILD FAILED in 1s
I:\MCreator + Exploracraft\Exploracraft>
Task completed with return code 0 in 1445 milliseconds

Run Client:
Executing gradle command: runClient
Build info: MCreator 1.9.1, 64-bit, 10176 MB, Windows 7 - cmd, JVM 1.8.0_222, JAVA_HOME: C:/Program Files/Pylo/MCreator/jdk/jre
(c)  (Microsoft Corp.), 2009. ‚
I:\MCreator + Exploracraft\Exploracraft>gradlew -Dorg.gradle.java.home="C:/Program Files/Pylo/MCreator/jdk/jre" -Dorg.gradle.parallel=true -Dorg.gradle.jvmargs="-Xms625m -Xmx1048m" runClient --offline 
Parallel execution is an incubating feature.
FAILURE: Build failed with an exception.
* Where:
Build file 'I:\MCreator + Exploracraft\Exploracraft\build.gradle' line: 10
* What went wrong:
A problem occurred evaluating root project 'Exploracraft'.
> Failed to apply plugin [id 'net.minecraftforge.gradle.forge']
   > java.lang.IllegalStateException: Expected BEGIN_OBJECT but was STRING at line 1 column 1
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
* Get more help at https://help.gradle.org
BUILD FAILED in 0s
I:\MCreator + Exploracraft\Exploracraft>
Task completed with return code 0 in 1221 milliseconds

Issue comments

Did you edit build.gradle file by any chance? It seems it got corrupted.

I suggest you to make another workspace and copy build.gradle file from workspace root folder and replace build.gradle from your Exploracraft workspace with it.

Okay, but the problem is also that when I go to another workplace .gradle file it spoils itself. I created a workplace on another PC and everything was normal there. Transferred the workplace to this PC - everything is not normal.

Apparently I will have to create mods on version 1.7.10 or 1.11.2 :(
And it all started after a few creation of new mods (which are not released) and launched minecraft adding something new. Well, we'll have to go to another PC, everything works there :)

And I'm sorry, but I didn't really understand what you were trying to say(

It might be your antivirus corrupting the file, try disabling it and creating a new workspace.

I don't know why this would be happening then, but to me, it seems like one software alters gradle file for some reason on your computer.