Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Incompatible with Regions Unexplored in 1.20.1 #616

Closed
1 task done
bv7dev opened this issue Nov 1, 2023 · 5 comments
Closed
1 task done

Incompatible with Regions Unexplored in 1.20.1 #616

bv7dev opened this issue Nov 1, 2023 · 5 comments
Labels

Comments

@bv7dev
Copy link

bv7dev commented Nov 1, 2023

Mod Name

Regions Unexplored Fabric + TerraBlender (dependency)

This issue occurs when only Valkyrien Skies, addons, and the mod I have specified are installed and no other mods

  • I have tested this issue and it occurs with only Valkyrien Skies, addons, and the mod I have specified

Minecraft Version

1.20.x

Mod Loader

Fabric

Issue description

Crashes on launch with error message:

The game crashed whilst initializing game
Error: java.lang.RuntimeException: Could not execute entrypoint stage 'main' due to errors, provided by 'regions_unexplored'!

Issue reproduction

image

Logs

latest.log

@FirstMegaGame4
Copy link

I found a temporary solution to it, you should open ValkyrienSkies jar and search for an org/apache/common/lang3 directory and delete it. It's an included package that should not be here replacing the ArrayUtils class used by the CompleteConfig dependency of RegionsUnexplored.

@tomcrusade
Copy link

Just fo anyone that encounters different, but similar bug to this.

I also found an error when running "extended block shapes - blockus" mod with any valkyrien-skies-2 version of 1.20.1 with message:


java.lang.RuntimeException: Could not execute entrypoint stage 'main' due to errors, provided by 'extshape'!
	at net.fabricmc.loader.impl.FabricLoaderImpl.lambda$invokeEntrypoints$2(FabricLoaderImpl.java:388)
	at net.fabricmc.loader.impl.util.ExceptionUtil.gatherExceptions(ExceptionUtil.java:33)
	at net.fabricmc.loader.impl.FabricLoaderImpl.invokeEntrypoints(FabricLoaderImpl.java:386)
	at net.fabricmc.loader.impl.game.minecraft.Hooks.startClient(Hooks.java:52)
	at net.minecraft.class_310.<init>(class_310.java:458)
	at net.minecraft.client.main.Main.main(Main.java:211)
	at net.fabricmc.loader.impl.game.minecraft.MinecraftGameProvider.launch(MinecraftGameProvider.java:470)
	at net.fabricmc.loader.impl.launch.knot.Knot.launch(Knot.java:74)
	at net.fabricmc.loader.impl.launch.knot.KnotClient.main(KnotClient.java:23)
Caused by: java.lang.NoSuchMethodError: 'java.lang.Object org.apache.commons.lang3.ObjectUtils.getIfNull(java.lang.Object, java.util.function.Supplier)'
	at pers.solid.extshape.block.ExtShapeFenceGateBlock.<init>(ExtShapeFenceGateBlock.java:31)
	at pers.solid.extshape.builder.FenceGateBuilder.lambda$new$0(FenceGateBuilder.java:15)
	at pers.solid.extshape.builder.AbstractBlockBuilder.createInstance(AbstractBlockBuilder.java:298)
	at pers.solid.extshape.builder.AbstractBlockBuilder.build(AbstractBlockBuilder.java:314)
	at java.base/java.lang.Iterable.forEach(Iterable.java:75)
	at pers.solid.extshape.builder.BlocksBuilder.build(BlocksBuilder.java:408)
	at pers.solid.extshape.block.ExtShapeBlocks.<clinit>(ExtShapeBlocks.java:107)
	at pers.solid.extshape.ExtShape.onInitialize(ExtShape.java:50)
	at net.fabricmc.loader.impl.FabricLoaderImpl.invokeEntrypoints(FabricLoaderImpl.java:384)
	... 6 more

After removing org/apache/common/lang3 these mods work properly

fionera added a commit to fionera/Valkyrien-Skies-2 that referenced this issue Apr 2, 2024
commons-lang3 is always provided at runtime,
don't shade it to prevent incompatibilities.

Closes ValkyrienSkies#617, ValkyrienSkies#616
@KirboSoftware
Copy link

Hey, the fabric maintainer of regions unexplored here. I'm working on an alternative config library from scratch to resolve this issue. Sorry for bothering you guys with this, sadly. I have most of the content of lib almost done and then will the implantation process begin. So the next fabric version should have this fix 👍

Once again, sorry for bothering you guys with this.

ewoudje pushed a commit that referenced this issue May 3, 2024
commons-lang3 is always provided at runtime,
don't shade it to prevent incompatibilities.

Closes #617, #616
@Poopooracoocoo
Copy link

Poopooracoocoo commented May 11, 2024

To expand on what @FirstMegaGame4 said, you can open jar files in 7-zip.

@thetheaplant
Copy link

Fixed in #798.

@ewoudje ewoudje closed this as completed Oct 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

7 participants