GregTechCE / GregTech

GregTech rewrite for modern versions of Minecraft
GNU Lesser General Public License v3.0
271 stars 150 forks source link

[BUG] Client crashes on loading #1725

Closed Custom2044 closed 3 years ago

Custom2044 commented 3 years ago

I cloned the repo, and used the command ./gradlew --no-build-cache runClient The project compiles and starts, but crashes when loading mods, between step 3 and 4. I also tried checking out to v1.17.1 and v1.17.0, but I got the same result.

The logs mention a NullPointerException from codechickenlib : latest.log

Additional context Java version : jdk 1.8.0_181

Gradle properties : props.txt

warjort commented 3 years ago

You need run the following gradle task:

./gradlew setupdecompworkspace

This will make sure all the mod dependencies have been remapped to the deobfuscation mapping used by the GTCE build. (It also generates the source for minecraft so you can see it in your ide).

Custom2044 commented 3 years ago

It worked, thank you and sorry for the unrelated issue.