Expected BEGIN_OBJECT but was STRING at line 1 column 1 deleted entire gradle file but still didnt work

Started by supersuperceoo on

Topic category: Troubleshooting, bugs, and solutions

Joined Oct 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Expected BEGIN_OBJECT but was STRING at line 1 column 1 deleted entire gradle file but still didnt work

please share how to fix this

Joined Oct 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Executing Gradle task:…
Wed, 01/04/2023 - 20:05

Executing Gradle task: eclipse
Build info: MCreator 2022.3.48217, forge-1.18.2, 64-bit, 3979 MB, Windows 10, JVM 17.0.3, JAVA_HOME: C:\Program Files\Pylo\MCreator\jdk, started on: 2023-01-04-21:55:44

> Configure project :
The code of this workspace uses official obfuscation mappings provided by Mojang. These mappings fall under their associated license you should be fully aware of.
(c) 2020 Microsoft Corporation. These mappings are provided "as-is" and you bear the risk of using them. You may copy and use the mappings for development purposes,
but you may not redistribute the mappings complete and unmodified. Microsoft makes no warranties, express or implied, with respect to the mappings provided here.
Use and modification of this document or the source code (in any form) of Minecraft: Java Edition is governed by the Minecraft End User License Agreement available
at https://account.mojang.com/documents/minecraft_eula.

FAILURE: Build failed with an exception.
* What went wrong:
A problem occurred configuring root project 'ssc'.
> java.lang.IllegalStateException: Expected BEGIN_OBJECT but was STRING at line 1 column 1 path $
* 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 3m 56s

BUILD FAILED
Task completed in 3 minutes and 59 seconds

https://mcreator.net/wiki…
Wed, 01/04/2023 - 20:12

https://mcreator.net/wiki/gradle-setup-errors#toc-index-11

The solution to this problem and many other problems can be found in our knowledge base: https://mcreator.net/support/knowledgebase Please check the knowledge base before opening a new topic on the issue which has a known fix.

Joined Oct 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
oh i tried deleteing the…
Wed, 01/04/2023 - 20:25

oh i tried deleteing the entire gradle folders like 5 times but still didnt work

Joined Oct 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
can someone atleast help me…
Thu, 01/05/2023 - 23:35

can someone atleast help me move all the elements to another workspace cause i think i tried everything

First try making new…
Fri, 01/06/2023 - 20:58

First try making new workspace as likely this error will be there too.

This error is due to gradle caches and not your workspace. If you exported this workspace and someone else opened it on their PC, it would work for them

Joined Oct 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Huh the error is not there…
Fri, 01/06/2023 - 21:33

Huh the error is not there on another workspace

 

Joined Oct 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
hmmm, so what do i delete…
Sat, 01/07/2023 - 22:40

hmmm, so what do i delete now since ive tried deleteing gradle file like 15 times probs